Searched refs:l2_key (Results 1 – 4 of 4) sorted by relevance
387 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.num_vlans > 0) { in bnxt_hwrm_cfa_flow_alloc()[all …]
124 struct bnxt_tc_l2_key l2_key; member
209 hdr->l2_key.dst_mac); in ice_tc_fill_tunnel_outer()271 if (fltr->inner_headers.l2_key.n_proto == htons(ETH_P_IP) && in ice_tc_fill_tunnel_outer()289 if (fltr->inner_headers.l2_key.n_proto == htons(ETH_P_IPV6) && in ice_tc_fill_tunnel_outer()363 list[i].h_u.ethertype.ethtype_id = headers->l2_key.n_proto; in ice_tc_fill_rules()370 struct ice_tc_l2_hdr *l2_key, *l2_mask; in ice_tc_fill_rules() local372 l2_key = &headers->l2_key; in ice_tc_fill_rules()378 l2_key->dst_mac); in ice_tc_fill_rules()384 l2_key->src_mac); in ice_tc_fill_rules()508 if (headers->l2_key.n_proto == htons(ETH_P_IP) && in ice_tc_fill_rules()527 if (headers->l2_key.n_proto == htons(ETH_P_IPV6) && in ice_tc_fill_rules()[all …]
103 struct ice_tc_l2_hdr l2_key; member