Home
last modified time | relevance | path

Searched refs:l3_key (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_tc_lib.c245 list[i].h_u.ipv4_hdr.src_addr = hdr->l3_key.src_ipv4; in ice_tc_fill_tunnel_outer()
249 list[i].h_u.ipv4_hdr.dst_addr = hdr->l3_key.dst_ipv4; in ice_tc_fill_tunnel_outer()
261 &hdr->l3_key.src_ipv6_addr, in ice_tc_fill_tunnel_outer()
262 sizeof(hdr->l3_key.src_ipv6_addr)); in ice_tc_fill_tunnel_outer()
269 &hdr->l3_key.dst_ipv6_addr, in ice_tc_fill_tunnel_outer()
270 sizeof(hdr->l3_key.dst_ipv6_addr)); in ice_tc_fill_tunnel_outer()
284 list[i].h_u.ipv4_hdr.tos = hdr->l3_key.tos; in ice_tc_fill_tunnel_outer()
289 list[i].h_u.ipv4_hdr.time_to_live = hdr->l3_key.ttl; in ice_tc_fill_tunnel_outer()
307 hdr->l3_key.tos, in ice_tc_fill_tunnel_outer()
315 hdr_h->hop_limit = hdr->l3_key.ttl; in ice_tc_fill_tunnel_outer()
[all …]
Dice_tc_lib.h124 struct ice_tc_l3_hdr l3_key; member
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c428 flow->l3_key.ipv4.daddr.s_addr = match.key->dst; in bnxt_tc_parse_flow()
430 flow->l3_key.ipv4.saddr.s_addr = match.key->src; in bnxt_tc_parse_flow()
437 flow->l3_key.ipv6.daddr = match.key->dst; in bnxt_tc_parse_flow()
439 flow->l3_key.ipv6.saddr = match.key->src; in bnxt_tc_parse_flow()
592 struct bnxt_tc_l3_key *l3_key = &flow->l3_key; in bnxt_hwrm_cfa_flow_alloc() local
709 req->ip_dst[0] = l3_key->ipv4.daddr.s_addr; in bnxt_hwrm_cfa_flow_alloc()
712 req->ip_src[0] = l3_key->ipv4.saddr.s_addr; in bnxt_hwrm_cfa_flow_alloc()
716 memcpy(req->ip_dst, l3_key->ipv6.daddr.s6_addr32, in bnxt_hwrm_cfa_flow_alloc()
720 memcpy(req->ip_src, l3_key->ipv6.saddr.s6_addr32, in bnxt_hwrm_cfa_flow_alloc()
Dbnxt_tc.h126 struct bnxt_tc_l3_key l3_key; member