Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c269 list[i].h_u.ipv4_hdr.src_addr = hdr->l3_key.src_ipv4; in ice_tc_fill_tunnel_outer()
273 list[i].h_u.ipv4_hdr.dst_addr = hdr->l3_key.dst_ipv4; in ice_tc_fill_tunnel_outer()
285 &hdr->l3_key.src_ipv6_addr, in ice_tc_fill_tunnel_outer()
286 sizeof(hdr->l3_key.src_ipv6_addr)); in ice_tc_fill_tunnel_outer()
293 &hdr->l3_key.dst_ipv6_addr, in ice_tc_fill_tunnel_outer()
294 sizeof(hdr->l3_key.dst_ipv6_addr)); in ice_tc_fill_tunnel_outer()
308 list[i].h_u.ipv4_hdr.tos = hdr->l3_key.tos; in ice_tc_fill_tunnel_outer()
313 list[i].h_u.ipv4_hdr.time_to_live = hdr->l3_key.ttl; in ice_tc_fill_tunnel_outer()
331 hdr->l3_key.tos, in ice_tc_fill_tunnel_outer()
339 hdr_h->hop_limit = hdr->l3_key.ttl; in ice_tc_fill_tunnel_outer()
[all …]
H A Dice_tc_lib.h128 struct ice_tc_l3_hdr l3_key; member
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c432 flow->l3_key.ipv4.daddr.s_addr = match.key->dst; in bnxt_tc_parse_flow()
434 flow->l3_key.ipv4.saddr.s_addr = match.key->src; in bnxt_tc_parse_flow()
441 flow->l3_key.ipv6.daddr = match.key->dst; in bnxt_tc_parse_flow()
443 flow->l3_key.ipv6.saddr = match.key->src; in bnxt_tc_parse_flow()
596 struct bnxt_tc_l3_key *l3_key = &flow->l3_key; in bnxt_hwrm_cfa_flow_alloc() local
713 req->ip_dst[0] = l3_key->ipv4.daddr.s_addr; in bnxt_hwrm_cfa_flow_alloc()
716 req->ip_src[0] = l3_key->ipv4.saddr.s_addr; in bnxt_hwrm_cfa_flow_alloc()
720 memcpy(req->ip_dst, l3_key->ipv6.daddr.s6_addr32, in bnxt_hwrm_cfa_flow_alloc()
724 memcpy(req->ip_src, l3_key->ipv6.saddr.s6_addr32, in bnxt_hwrm_cfa_flow_alloc()
H A Dbnxt_tc.h126 struct bnxt_tc_l3_key l3_key; member