Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c1057 struct otx2_flow *pf_mac; in otx2_add_flow_with_pfmac() local
1060 pf_mac = kzalloc(sizeof(*pf_mac), GFP_KERNEL); in otx2_add_flow_with_pfmac()
1061 if (!pf_mac) in otx2_add_flow_with_pfmac()
1064 pf_mac->entry = 0; in otx2_add_flow_with_pfmac()
1065 pf_mac->rule_type |= DMAC_FILTER_RULE; in otx2_add_flow_with_pfmac()
1066 pf_mac->location = pfvf->flow_cfg->max_flows; in otx2_add_flow_with_pfmac()
1067 memcpy(&pf_mac->flow_spec, &flow->flow_spec, in otx2_add_flow_with_pfmac()
1069 pf_mac->flow_spec.location = pf_mac->location; in otx2_add_flow_with_pfmac()
1072 eth_hdr = &pf_mac->flow_spec.h_u.ether_spec; in otx2_add_flow_with_pfmac()
1078 otx2_add_flow_to_list(pfvf, pf_mac); in otx2_add_flow_with_pfmac()