Lines Matching refs:eth_hdr
817 struct ethhdr *eth_hdr = &fsp->h_u.ether_spec;
828 ether_addr_copy(pkt->smac, eth_hdr->h_source);
833 ether_addr_copy(pkt->dmac, eth_hdr->h_dest);
837 if (eth_hdr->h_proto) {
838 memcpy(&pkt->etype, ð_hdr->h_proto,
944 struct ethhdr *eth_hdr = &fsp->h_u.ether_spec;
959 is_valid_ether_addr(eth_hdr->h_dest))
1056 struct ethhdr *eth_hdr;
1070 eth_hdr = &pf_mac->flow_spec.h_u.ether_spec;
1071 ether_addr_copy(eth_hdr->h_dest, pfvf->netdev->dev_addr);
1074 otx2_dmacflt_add(pfvf, eth_hdr->h_dest, 0);
1088 struct ethhdr *eth_hdr;
1140 eth_hdr = &flow->flow_spec.h_u.ether_spec;
1144 return otx2_dmacflt_update(pfvf, eth_hdr->h_dest,
1172 otx2_dmacflt_add(pfvf, eth_hdr->h_dest, flow->entry);
1231 struct ethhdr *eth_hdr;
1236 eth_hdr = &iter->flow_spec.h_u.ether_spec;
1238 otx2_dmacflt_remove(pfvf, eth_hdr->h_dest,
1243 ether_addr_copy(eth_hdr->h_dest,
1246 otx2_dmacflt_update(pfvf, eth_hdr->h_dest, 0);
1273 struct ethhdr *eth_hdr = &flow->flow_spec.h_u.ether_spec;
1276 if (ether_addr_equal(pfvf->netdev->dev_addr, eth_hdr->h_dest))
1279 err = otx2_dmacflt_remove(pfvf, eth_hdr->h_dest,
1503 struct ethhdr *eth_hdr;
1507 eth_hdr = &iter->flow_spec.h_u.ether_spec;
1508 otx2_dmacflt_add(pf, eth_hdr->h_dest,