Searched refs:l2_mask (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_tc.c | 392 flow->l2_mask.ether_type = match.mask->n_proto; in bnxt_tc_parse_flow() 407 ether_addr_copy(flow->l2_mask.dmac, match.mask->dst); in bnxt_tc_parse_flow() 409 ether_addr_copy(flow->l2_mask.smac, match.mask->src); in bnxt_tc_parse_flow() 419 flow->l2_mask.inner_vlan_tci = in bnxt_tc_parse_flow() 423 flow->l2_mask.inner_vlan_tpid = htons(0xffff); in bnxt_tc_parse_flow() 1058 !is_exactmatch(flow->l2_mask.smac, sizeof(flow->l2_mask.smac))) { in bnxt_tc_can_offload() 1063 !is_exactmatch(&flow->l2_mask.dmac, sizeof(flow->l2_mask.dmac))) { in bnxt_tc_can_offload() 1071 !is_vlan_tci_allowed(flow->l2_mask.inner_vlan_tci, in bnxt_tc_can_offload() 1078 !is_exactmatch(&flow->l2_mask.inner_vlan_tpid, in bnxt_tc_can_offload() 1079 sizeof(flow->l2_mask.inner_vlan_tpid))) { in bnxt_tc_can_offload() [all …]
|
| H A D | bnxt_tc.h | 125 struct bnxt_tc_l2_key l2_mask; member
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_tc_lib.c | 224 hdr->l2_mask.dst_mac); in ice_tc_fill_tunnel_outer() 406 list[i].m_u.ethertype.ethtype_id = headers->l2_mask.n_proto; in ice_tc_fill_rules() 412 struct ice_tc_l2_hdr *l2_key, *l2_mask; in ice_tc_fill_rules() local 415 l2_mask = &headers->l2_mask; in ice_tc_fill_rules() 422 l2_mask->dst_mac); in ice_tc_fill_rules() 428 l2_mask->src_mac); in ice_tc_fill_rules() 1738 headers->l2_mask.n_proto = cpu_to_be16(n_proto_mask); in ice_parse_cls_flower() 1750 ether_addr_copy(headers->l2_mask.dst_mac, in ice_parse_cls_flower() 1758 ether_addr_copy(headers->l2_mask.src_mac, in ice_parse_cls_flower() 1849 headers->l2_mask.n_proto = cpu_to_be16(0xFFFF); in ice_parse_cls_flower() [all …]
|
| H A D | ice_tc_lib.h | 122 struct ice_tc_l2_hdr l2_mask; member
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | mmio.c | 282 u32 offset, base, l2_mask, val; in mt7996_reg_map_l2() local 287 l2_mask = MT_HIF_REMAP_L2_MASK_7990; in mt7996_reg_map_l2() 292 l2_mask = MT_HIF_REMAP_L2_MASK; in mt7996_reg_map_l2() 296 dev->bus_ops->rmw(&dev->mt76, MT_HIF_REMAP_L2, l2_mask, val); in mt7996_reg_map_l2()
|