aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorDenis Kirjanov <[email protected]>2020-06-29 13:13:28 +0000
committerDavid S. Miller <[email protected]>2020-07-01 22:25:14 +0000
commit6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c (patch)
tree5e9becc3190fdcbb5cc8a52bf6463045c290acaa /drivers/net/xen-netback/interface.c
parentxen: netif.h: add a new extra type for XDP (diff)
downloadkernel-6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c.tar.gz
kernel-6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c.zip
xen networking: add basic XDP support for xen-netfront
The patch adds a basic XDP processing to xen-netfront driver. We ran an XDP program for an RX response received from netback driver. Also we request xen-netback to adjust data offset for bpf_xdp_adjust_head() header space for custom headers. synchronization between frontend and backend parts is done by using xenbus state switching: Reconfiguring -> Reconfigured- > Connected UDP packets drop rate using xdp program is around 310 kpps using ./pktgen_sample04_many_flows.sh and 160 kpps without the patch. Signed-off-by: Denis Kirjanov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions