Re: [PATCH v7 09/11] net/mlx4_en: add xdp forwarding and data write support

2016-07-13 Thread Saeed Mahameed
On Wed, Jul 13, 2016 at 8:30 PM, Brenden Blanco wrote: > On Wed, Jul 13, 2016 at 06:25:28PM +0300, Saeed Mahameed wrote: >> On Tue, Jul 12, 2016 at 12:29 AM, Brenden Blanco >> wrote: [...] >> >> MAX_TX_RING is a software limitation made to limit netdev real_num_tx >> queues for CX3 internal cach

Re: [PATCH v7 09/11] net/mlx4_en: add xdp forwarding and data write support

2016-07-13 Thread Brenden Blanco
On Wed, Jul 13, 2016 at 06:25:28PM +0300, Saeed Mahameed wrote: > On Tue, Jul 12, 2016 at 12:29 AM, Brenden Blanco wrote: > > A user will now be able to loop packets back out of the same port using > > a bpf program attached to xdp hook. Updates to the packet contents from > > the bpf program is a

Re: [PATCH v7 09/11] net/mlx4_en: add xdp forwarding and data write support

2016-07-13 Thread Saeed Mahameed
On Tue, Jul 12, 2016 at 12:29 AM, Brenden Blanco wrote: > A user will now be able to loop packets back out of the same port using > a bpf program attached to xdp hook. Updates to the packet contents from > the bpf program is also supported. > > For the packet write feature to work, the rx buffers

[PATCH v7 09/11] net/mlx4_en: add xdp forwarding and data write support

2016-07-11 Thread Brenden Blanco
A user will now be able to loop packets back out of the same port using a bpf program attached to xdp hook. Updates to the packet contents from the bpf program is also supported. For the packet write feature to work, the rx buffers are now mapped as bidirectional when the page is allocated. This o