Re: [net-next PATCH v3 3/3] e1000: bundle xdp xmit routines

2016-09-12 Thread Tom Herbert
On Mon, Sep 12, 2016 at 3:14 PM, John Fastabend wrote: > e1000 supports a single TX queue so it is being shared with the stack > when XDP runs XDP_TX action. This requires taking the xmit lock to > ensure we don't corrupt the tx ring. To avoid taking and dropping the > lock per packet this patch a

[net-next PATCH v3 3/3] e1000: bundle xdp xmit routines

2016-09-12 Thread John Fastabend
e1000 supports a single TX queue so it is being shared with the stack when XDP runs XDP_TX action. This requires taking the xmit lock to ensure we don't corrupt the tx ring. To avoid taking and dropping the lock per packet this patch adds a bundling implementation to submit a bundle of packets to t