Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c232 flow->l3_key.ipv4.daddr.s_addr = match.key->dst; in bnxt_tc_parse_flow()
234 flow->l3_key.ipv4.saddr.s_addr = match.key->src; in bnxt_tc_parse_flow()
241 flow->l3_key.ipv6.daddr = match.key->dst; in bnxt_tc_parse_flow()
243 flow->l3_key.ipv6.saddr = match.key->src; in bnxt_tc_parse_flow()
393 struct bnxt_tc_l3_key *l3_key = &flow->l3_key; in bnxt_hwrm_cfa_flow_alloc() local
438 req.ip_dst[0] = l3_key->ipv4.daddr.s_addr; in bnxt_hwrm_cfa_flow_alloc()
441 req.ip_src[0] = l3_key->ipv4.saddr.s_addr; in bnxt_hwrm_cfa_flow_alloc()
445 memcpy(req.ip_dst, l3_key->ipv6.daddr.s6_addr32, in bnxt_hwrm_cfa_flow_alloc()
449 memcpy(req.ip_src, l3_key->ipv6.saddr.s6_addr32, in bnxt_hwrm_cfa_flow_alloc()
Dbnxt_tc.h106 struct bnxt_tc_l3_key l3_key; member