Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c50 #define DR_MASK_IS_L2_DST(_spec, _misc, _inner_outer) (_spec.first_vid || \ argument
51 (_spec).first_cfi || (_spec).first_prio || (_spec).cvlan_tag || \
52 (_spec).svlan_tag || (_spec).dmac_47_16 || (_spec).dmac_15_0 || \
53 (_spec).ethertype || (_spec).ip_version || \
60 #define DR_MASK_IS_ETH_L4_SET(_spec, _misc, _inner_outer) ( \ argument
61 dr_mask_is_l3_base_set(&(_spec)) || \
62 dr_mask_is_tcp_udp_base_set(&(_spec)) || \
63 dr_mask_is_ttl_set(&(_spec)) || \
Ddr_types.h742 #define DR_MASK_IS_SRC_IP_SET(_spec) ((_spec)->src_ip_127_96 || \ argument
743 (_spec)->src_ip_95_64 || \
744 (_spec)->src_ip_63_32 || \
745 (_spec)->src_ip_31_0)
747 #define DR_MASK_IS_DST_IP_SET(_spec) ((_spec)->dst_ip_127_96 || \ argument
748 (_spec)->dst_ip_95_64 || \
749 (_spec)->dst_ip_63_32 || \
750 (_spec)->dst_ip_31_0)