Home
last modified time | relevance | path

Searched refs:eth_addr_mask (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.h65 #define bnxt_eth_addr_key_mask_invalid(eth_addr, eth_addr_mask) \ argument
68 (is_wildcard(&(eth_addr_mask)[0], ETH_ALEN) && \
69 is_wildcard(&(eth_addr_mask)[ETH_ALEN / 2], ETH_ALEN)))
Dbnxt_tc.c153 u16 *eth_addr, u16 *eth_addr_mask) in bnxt_fill_l2_rewrite_fields() argument
158 if (unlikely(bnxt_eth_addr_key_mask_invalid(eth_addr, eth_addr_mask))) in bnxt_fill_l2_rewrite_fields()
161 if (!is_wildcard(&eth_addr_mask[0], ETH_ALEN)) { in bnxt_fill_l2_rewrite_fields()
162 if (!is_exactmatch(&eth_addr_mask[0], ETH_ALEN)) in bnxt_fill_l2_rewrite_fields()
170 if (!is_wildcard(&eth_addr_mask[ETH_ALEN / 2], ETH_ALEN)) { in bnxt_fill_l2_rewrite_fields()
171 if (!is_exactmatch(&eth_addr_mask[ETH_ALEN / 2], ETH_ALEN)) in bnxt_fill_l2_rewrite_fields()
185 u8 *eth_addr_mask) in bnxt_tc_parse_pedit() argument
208 &eth_addr_mask[offset]); in bnxt_tc_parse_pedit()
290 u16 eth_addr_mask[ETH_ALEN] = { 0 }; in bnxt_tc_parse_actions() local
336 (u8 *)eth_addr_mask); in bnxt_tc_parse_actions()
[all …]
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Dcmsg.h133 u8 eth_addr_mask[ETH_ALEN * 2]; member
Doffload.c637 merge->l2.mac_dst[i] |= eth->eth_addr_mask[i]; in nfp_flower_update_merge_with_actions()
640 eth->eth_addr_mask[ETH_ALEN + i]; in nfp_flower_update_merge_with_actions()
Daction.c539 &set_eth->eth_addr_mask[off]); in nfp_fl_set_eth()