diff options
| author | Charles McLachlan <[email protected]> | 2019-10-31 10:23:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-10-31 21:14:53 +0000 |
| commit | eb9a36be7f3ec414700af9a616f035eda1f1e63e (patch) | |
| tree | 07822b06a1e1cae2a4b4282ad42e1ce8e3bf0ff0 /net/unix/af_unix.c | |
| parent | sfc: support encapsulation of xdp_frames in efx_tx_buffer (diff) | |
| download | kernel-eb9a36be7f3ec414700af9a616f035eda1f1e63e.tar.gz kernel-eb9a36be7f3ec414700af9a616f035eda1f1e63e.zip | |
sfc: perform XDP processing on received packets
Adds a field to hold an attached xdp_prog, but never populates it (see
following patch). Also, XDP_TX support is deferred to a later patch
in the series.
Track failures of xdp_rxq_info_reg() via per-queue xdp_rxq_info_valid
flags and a per-nic xdp_rxq_info_failed flag. The per-queue flags are
needed to prevent attempts to xdp_rxq_info_unreg() structs that failed
to register. Possibly the API could be changed in the future to avoid
the need for these flags.
Signed-off-by: Charles McLachlan <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
