Re: [dpdk-dev] [PATCH v2 4/7] net/vmxnet3: add receive data ring support

2017-03-06 Thread Shrikrishna Khare
On Mon, 6 Mar 2017, Thomas Monjalon wrote: > 2017-03-06 09:17, Shrikrishna Khare: > > Receive Data Ring buffer length is configurable via ethtool -G ethX rx-mini > > Are you configuring the ring length before unbinding from the kernel driver? Changing rx data ring requires changing the code an

Re: [dpdk-dev] [PATCH v2 4/7] net/vmxnet3: add receive data ring support

2017-03-06 Thread Thomas Monjalon
2017-03-06 09:17, Shrikrishna Khare: > Receive Data Ring buffer length is configurable via ethtool -G ethX rx-mini Are you configuring the ring length before unbinding from the kernel driver?

[dpdk-dev] [PATCH v2 4/7] net/vmxnet3: add receive data ring support

2017-03-06 Thread Shrikrishna Khare
vmxnet3 driver preallocates buffers for receiving packets and posts the buffers to the emulation. In order to deliver a received packet to the guest, the emulation must map buffer(s) and copy the packet into it. To avoid this memory mapping overhead, this patch introduces the receive data ring - a