Searched refs:l2_key (Results 1 – 7 of 7) sorted by relevance
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_tc.c | 416 flow->l2_key.inner_vlan_tci = in bnxt_tc_parse_flow() 424 flow->l2_key.num_vlans = 1; in bnxt_tc_parse_flow() 694 if (flow->l2_key.num_vlans > 0) { in bnxt_hwrm_cfa_flow_alloc() 973 struct bnxt_tc_l2_key *l2_key) in bnxt_tc_get_l2_node() argument 986 l2_node->key = *l2_key; in bnxt_tc_get_l2_node() 1015 &flow->l2_key); in bnxt_tc_get_ref_flow_handle() 1057 if (bits_set(&flow->l2_key.smac, sizeof(flow->l2_key.smac)) && in bnxt_tc_can_offload() 1062 if (bits_set(&flow->l2_key.dmac, sizeof(flow->l2_key.dmac)) && in bnxt_tc_can_offload() 1072 flow->l2_key.inner_vlan_tci)) { in bnxt_tc_can_offload() 1155 struct bnxt_tc_l2_key *l2_key, in bnxt_tc_get_ref_decap_handle() argument [all …]
|
| A D | bnxt_tc.h | 124 struct bnxt_tc_l2_key l2_key; member
|
| A D | bnxt_ethtool.c | 1114 struct bnxt_l2_key *l2_key; in bnxt_grxclsrule() local 1117 l2_key = &l2_fltr->l2_key; in bnxt_grxclsrule() 1119 ether_addr_copy(h_ether->h_dest, l2_key->dst_mac_addr); in bnxt_grxclsrule() 1121 if (l2_key->vlan) { in bnxt_grxclsrule() 1127 h_ext->vlan_tci = htons(l2_key->vlan); in bnxt_grxclsrule()
|
| A D | bnxt.c | 5895 struct bnxt_l2_key *l2_key = &fltr->l2_key; in __bnxt_lookup_l2_filter() local 5897 if (ether_addr_equal(l2_key->dst_mac_addr, key->dst_mac_addr) && in __bnxt_lookup_l2_filter() 5898 l2_key->vlan == key->vlan) in __bnxt_lookup_l2_filter() 6010 ether_addr_copy(fltr->l2_key.dst_mac_addr, key->dst_mac_addr); in bnxt_init_l2_filter() 6011 fltr->l2_key.vlan = key->vlan; in bnxt_init_l2_filter() 6159 ether_addr_copy(req->l2_addr, fltr->l2_key.dst_mac_addr); in bnxt_hwrm_l2_filter_alloc() 6162 if (fltr->l2_key.vlan) { in bnxt_hwrm_l2_filter_alloc() 6168 req->l2_ivlan = cpu_to_le16(fltr->l2_key.vlan); in bnxt_hwrm_l2_filter_alloc()
|
| A D | bnxt.h | 1481 struct bnxt_l2_key l2_key; member
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_tc_lib.c | 222 hdr->l2_key.dst_mac); in ice_tc_fill_tunnel_outer() 412 struct ice_tc_l2_hdr *l2_key, *l2_mask; in ice_tc_fill_rules() local 414 l2_key = &headers->l2_key; in ice_tc_fill_rules() 420 l2_key->dst_mac); in ice_tc_fill_rules() 426 l2_key->src_mac); in ice_tc_fill_rules() 554 if (headers->l2_key.n_proto == htons(ETH_P_IP) && in ice_tc_fill_rules() 573 if (headers->l2_key.n_proto == htons(ETH_P_IPV6) && in ice_tc_fill_rules() 1737 headers->l2_key.n_proto = cpu_to_be16(n_proto_key); in ice_parse_cls_flower() 1748 ether_addr_copy(headers->l2_key.dst_mac, in ice_parse_cls_flower() 1756 ether_addr_copy(headers->l2_key.src_mac, in ice_parse_cls_flower() [all …]
|
| A D | ice_tc_lib.h | 121 struct ice_tc_l2_hdr l2_key; member
|
Completed in 65 milliseconds