Home
last modified time | relevance | path

Searched refs:l2_key (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c386 flow->l2_key.ether_type = match.key->n_proto; in bnxt_tc_parse_flow()
401 ether_addr_copy(flow->l2_key.dmac, match.key->dst); in bnxt_tc_parse_flow()
403 ether_addr_copy(flow->l2_key.smac, match.key->src); in bnxt_tc_parse_flow()
411 flow->l2_key.inner_vlan_tci = in bnxt_tc_parse_flow()
417 flow->l2_key.inner_vlan_tpid = htons(ETH_P_8021Q); in bnxt_tc_parse_flow()
419 flow->l2_key.num_vlans = 1; in bnxt_tc_parse_flow()
677 req.ethertype = flow->l2_key.ether_type; in bnxt_hwrm_cfa_flow_alloc()
681 memcpy(req.dmac, flow->l2_key.dmac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc()
682 memcpy(req.smac, flow->l2_key.smac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc()
685 if (flow->l2_key in bnxt_hwrm_cfa_flow_alloc()
959 bnxt_tc_get_l2_node(struct bnxt *bp, struct rhashtable *l2_table, struct rhashtable_params ht_params, struct bnxt_tc_l2_key *l2_key) bnxt_tc_get_l2_node() argument
1141 bnxt_tc_get_ref_decap_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, struct bnxt_tc_l2_key *l2_key, struct bnxt_tc_flow_node *flow_node, __le32 *ref_decap_handle) bnxt_tc_get_ref_decap_handle() argument
[all...]
H A Dbnxt_tc.h124 struct bnxt_tc_l2_key l2_key; member
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c387 flow->l2_key.ether_type = match.key->n_proto; in bnxt_tc_parse_flow()
402 ether_addr_copy(flow->l2_key.dmac, match.key->dst); in bnxt_tc_parse_flow()
404 ether_addr_copy(flow->l2_key.smac, match.key->src); in bnxt_tc_parse_flow()
412 flow->l2_key.inner_vlan_tci = in bnxt_tc_parse_flow()
418 flow->l2_key.inner_vlan_tpid = htons(ETH_P_8021Q); in bnxt_tc_parse_flow()
420 flow->l2_key.num_vlans = 1; in bnxt_tc_parse_flow()
682 req->ethertype = flow->l2_key.ether_type; in bnxt_hwrm_cfa_flow_alloc()
686 memcpy(req->dmac, flow->l2_key.dmac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc()
687 memcpy(req->smac, flow->l2_key.smac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc()
690 if (flow->l2_key in bnxt_hwrm_cfa_flow_alloc()
967 bnxt_tc_get_l2_node(struct bnxt *bp, struct rhashtable *l2_table, struct rhashtable_params ht_params, struct bnxt_tc_l2_key *l2_key) bnxt_tc_get_l2_node() argument
1149 bnxt_tc_get_ref_decap_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, struct bnxt_tc_l2_key *l2_key, struct bnxt_tc_flow_node *flow_node, __le32 *ref_decap_handle) bnxt_tc_get_ref_decap_handle() argument
[all...]
H A Dbnxt_tc.h124 struct bnxt_tc_l2_key l2_key; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c216 hdr->l2_key.dst_mac); in ice_tc_fill_tunnel_outer()
278 if (fltr->inner_headers.l2_key.n_proto == htons(ETH_P_IP) && in ice_tc_fill_tunnel_outer()
296 if (fltr->inner_headers.l2_key.n_proto == htons(ETH_P_IPV6) && in ice_tc_fill_tunnel_outer()
376 list[i].h_u.ethertype.ethtype_id = headers->l2_key.n_proto; in ice_tc_fill_rules()
383 struct ice_tc_l2_hdr *l2_key, *l2_mask; in ice_tc_fill_rules() local
385 l2_key = &headers->l2_key; in ice_tc_fill_rules()
391 l2_key->dst_mac); in ice_tc_fill_rules()
397 l2_key->src_mac); in ice_tc_fill_rules()
525 if (headers->l2_key in ice_tc_fill_rules()
[all...]
H A Dice_tc_lib.h117 struct ice_tc_l2_hdr l2_key; member

Completed in 7 milliseconds