Searched refs:l2_mask (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 387 flow->l2_mask.ether_type = match.mask->n_proto; in bnxt_tc_parse_flow() 402 ether_addr_copy(flow->l2_mask.dmac, match.mask->dst); in bnxt_tc_parse_flow() 404 ether_addr_copy(flow->l2_mask.smac, match.mask->src); in bnxt_tc_parse_flow() 414 flow->l2_mask.inner_vlan_tci = in bnxt_tc_parse_flow() 418 flow->l2_mask.inner_vlan_tpid = htons(0xffff); in bnxt_tc_parse_flow() 1046 !is_exactmatch(flow->l2_mask.smac, sizeof(flow->l2_mask.smac))) { in bnxt_tc_can_offload() 1051 !is_exactmatch(&flow->l2_mask.dmac, sizeof(flow->l2_mask.dmac))) { in bnxt_tc_can_offload() 1059 !is_vlan_tci_allowed(flow->l2_mask in bnxt_tc_can_offload() [all...] |
H A D | bnxt_tc.h | 125 struct bnxt_tc_l2_key l2_mask; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 388 flow->l2_mask.ether_type = match.mask->n_proto; in bnxt_tc_parse_flow() 403 ether_addr_copy(flow->l2_mask.dmac, match.mask->dst); in bnxt_tc_parse_flow() 405 ether_addr_copy(flow->l2_mask.smac, match.mask->src); in bnxt_tc_parse_flow() 415 flow->l2_mask.inner_vlan_tci = in bnxt_tc_parse_flow() 419 flow->l2_mask.inner_vlan_tpid = htons(0xffff); in bnxt_tc_parse_flow() 1054 !is_exactmatch(flow->l2_mask.smac, sizeof(flow->l2_mask.smac))) { in bnxt_tc_can_offload() 1059 !is_exactmatch(&flow->l2_mask.dmac, sizeof(flow->l2_mask.dmac))) { in bnxt_tc_can_offload() 1067 !is_vlan_tci_allowed(flow->l2_mask in bnxt_tc_can_offload() [all...] |
H A D | bnxt_tc.h | 125 struct bnxt_tc_l2_key l2_mask; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 218 hdr->l2_mask.dst_mac); in ice_tc_fill_tunnel_outer() 377 list[i].m_u.ethertype.ethtype_id = headers->l2_mask.n_proto; in ice_tc_fill_rules() 383 struct ice_tc_l2_hdr *l2_key, *l2_mask; in ice_tc_fill_rules() local 386 l2_mask = &headers->l2_mask; in ice_tc_fill_rules() 393 l2_mask->dst_mac); in ice_tc_fill_rules() 399 l2_mask->src_mac); in ice_tc_fill_rules() 1468 headers->l2_mask.n_proto = cpu_to_be16(n_proto_mask); in ice_parse_cls_flower() 1480 ether_addr_copy(headers->l2_mask.dst_mac, in ice_parse_cls_flower() 1488 ether_addr_copy(headers->l2_mask in ice_parse_cls_flower() [all...] |
H A D | ice_tc_lib.h | 118 struct ice_tc_l2_hdr l2_mask; member
|
Completed in 8 milliseconds