On Fri, 26 Jun 2020 14:40:38 +0300 Denis Kirjanov wrote: > 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 <k...@linux-powerpc.org>
Still here: drivers/net/xen-netfront.c: In function xennet_xdp_xmit_one: drivers/net/xen-netfront.c:581:31: warning: variable tx set but not used [-Wunused-but-set-variable] 581 | struct xen_netif_tx_request *tx; | ^~