Lines Matching refs:CHECK

624 #define CHECK(_mcdi, _field)	({					       \  macro
668 if (CHECK(ETHER_TYPE, eth_proto) || in efx_mae_match_check_caps()
669 CHECK(VLAN0_TCI, vlan_tci[0]) || in efx_mae_match_check_caps()
670 CHECK(VLAN0_PROTO, vlan_proto[0]) || in efx_mae_match_check_caps()
671 CHECK(VLAN1_TCI, vlan_tci[1]) || in efx_mae_match_check_caps()
672 CHECK(VLAN1_PROTO, vlan_proto[1]) || in efx_mae_match_check_caps()
673 CHECK(ETH_SADDR, eth_saddr) || in efx_mae_match_check_caps()
674 CHECK(ETH_DADDR, eth_daddr) || in efx_mae_match_check_caps()
675 CHECK(IP_PROTO, ip_proto) || in efx_mae_match_check_caps()
676 CHECK(IP_TOS, ip_tos) || in efx_mae_match_check_caps()
677 CHECK(IP_TTL, ip_ttl) || in efx_mae_match_check_caps()
678 CHECK(SRC_IP4, src_ip) || in efx_mae_match_check_caps()
679 CHECK(DST_IP4, dst_ip) || in efx_mae_match_check_caps()
681 CHECK(SRC_IP6, src_ip6) || in efx_mae_match_check_caps()
682 CHECK(DST_IP6, dst_ip6) || in efx_mae_match_check_caps()
684 CHECK(L4_SPORT, l4_sport) || in efx_mae_match_check_caps()
685 CHECK(L4_DPORT, l4_dport) || in efx_mae_match_check_caps()
686 CHECK(TCP_FLAGS, tcp_flags) || in efx_mae_match_check_caps()
692 CHECK(CT_MARK, ct_mark) || in efx_mae_match_check_caps()
693 CHECK(CT_DOMAIN, ct_zone) || in efx_mae_match_check_caps()
694 CHECK(RECIRC_ID, recirc_id)) in efx_mae_match_check_caps()
711 if (CHECK(ENC_VNET_ID, enc_keyid)) in efx_mae_match_check_caps()
763 if (CHECK(ENC_ETHER_TYPE, eth_proto) || in efx_mae_match_check_caps_lhs()
764 CHECK(ENC_VLAN0_TCI, vlan_tci[0]) || in efx_mae_match_check_caps_lhs()
765 CHECK(ENC_VLAN0_PROTO, vlan_proto[0]) || in efx_mae_match_check_caps_lhs()
766 CHECK(ENC_VLAN1_TCI, vlan_tci[1]) || in efx_mae_match_check_caps_lhs()
767 CHECK(ENC_VLAN1_PROTO, vlan_proto[1]) || in efx_mae_match_check_caps_lhs()
768 CHECK(ENC_ETH_SADDR, eth_saddr) || in efx_mae_match_check_caps_lhs()
769 CHECK(ENC_ETH_DADDR, eth_daddr) || in efx_mae_match_check_caps_lhs()
770 CHECK(ENC_IP_PROTO, ip_proto) || in efx_mae_match_check_caps_lhs()
771 CHECK(ENC_IP_TOS, ip_tos) || in efx_mae_match_check_caps_lhs()
772 CHECK(ENC_IP_TTL, ip_ttl) || in efx_mae_match_check_caps_lhs()
775 CHECK(ENC_SRC_IP4, src_ip) || in efx_mae_match_check_caps_lhs()
776 CHECK(ENC_DST_IP4, dst_ip) || in efx_mae_match_check_caps_lhs()
778 CHECK(ENC_SRC_IP6, src_ip6) || in efx_mae_match_check_caps_lhs()
779 CHECK(ENC_DST_IP6, dst_ip6) || in efx_mae_match_check_caps_lhs()
781 CHECK(ENC_L4_SPORT, l4_sport) || in efx_mae_match_check_caps_lhs()
782 CHECK(ENC_L4_DPORT, l4_dport) || in efx_mae_match_check_caps_lhs()
804 #undef CHECK
806 #define CHECK(_mcdi) ({ \ macro
825 if (CHECK(ENC_ETHER_TYPE)) in efx_mae_check_encap_match_caps()
828 if (CHECK(ENC_SRC_IP6) || in efx_mae_check_encap_match_caps()
829 CHECK(ENC_DST_IP6)) in efx_mae_check_encap_match_caps()
832 if (CHECK(ENC_SRC_IP4) || in efx_mae_check_encap_match_caps()
833 CHECK(ENC_DST_IP4)) in efx_mae_check_encap_match_caps()
836 if (CHECK(ENC_L4_DPORT) || in efx_mae_check_encap_match_caps()
837 CHECK(ENC_IP_PROTO)) in efx_mae_check_encap_match_caps()
857 #undef CHECK