Home
last modified time | relevance | path

Searched refs:_spec (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c55 #define DR_MASK_IS_L2_DST(_spec, _misc, _inner_outer) (_spec.first_vid || \ argument
56 (_spec).first_cfi || (_spec).first_prio || (_spec).cvlan_tag || \
57 (_spec).svlan_tag || (_spec).dmac_47_16 || (_spec).dmac_15_0 || \
58 (_spec).ethertype || (_spec).ip_version || \
65 #define DR_MASK_IS_ETH_L4_SET(_spec, _misc, _inner_outer) ( \ argument
66 dr_mask_is_l3_base_set(&(_spec)) || \
67 dr_mask_is_tcp_udp_base_set(&(_spec)) || \
68 dr_mask_is_ttl_set(&(_spec)) || \
Ddr_types.h829 #define DR_MASK_IS_SRC_IP_SET(_spec) ((_spec)->src_ip_127_96 || \ argument
830 (_spec)->src_ip_95_64 || \
831 (_spec)->src_ip_63_32 || \
832 (_spec)->src_ip_31_0)
834 #define DR_MASK_IS_DST_IP_SET(_spec) ((_spec)->dst_ip_127_96 || \ argument
835 (_spec)->dst_ip_95_64 || \
836 (_spec)->dst_ip_63_32 || \
837 (_spec)->dst_ip_31_0)