[dpdk-dev] [PATCH v3 07/10] vmxnet3: support jumbo frames

2015-03-11 Thread Yong Wang
On 3/10/15, 11:35 AM, "Stephen Hemminger" wrote: >On Mon, 9 Mar 2015 23:32:48 + >Yong Wang wrote: > >> > >> >I didn?t see where mtu is used to calculate how many rx descriptors >>will >> >be needed for each packet. Furthermore, as pointed out by the >>following >> >code comments, the

[dpdk-dev] [PATCH v3 07/10] vmxnet3: support jumbo frames

2015-03-11 Thread Stephen Hemminger
On Wed, 11 Mar 2015 01:03:37 + Yong Wang wrote: > >Looking in more detail, the code as submitted looks fine: > > > >* The # of rx descriptors needed for each packet is responsibility of > > the application. Before and after this patch the # of Rx descriptors > > for each ring (head/body)

[dpdk-dev] [PATCH v3 07/10] vmxnet3: support jumbo frames

2015-03-10 Thread Stephen Hemminger
On Mon, 9 Mar 2015 23:32:48 + Yong Wang wrote: > > > >I didn?t see where mtu is used to calculate how many rx descriptors will > >be needed for each packet. Furthermore, as pointed out by the following > >code comments, the device requires the first rx buffer of a packet be of > >type

[dpdk-dev] [PATCH v3 07/10] vmxnet3: support jumbo frames

2015-03-10 Thread Yong Wang
On 3/9/15, 4:28 PM, "Yong Wang" wrote: >On 3/5/15, 4:10 PM, "Stephen Hemminger" >wrote: > >>From: Stephen Hemminger >> >>Add support for linking multi-segment buffers together to >>handle Jumbo packets. >> >>Signed-off-by: Stephen Hemminger >>--- >> lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c |

[dpdk-dev] [PATCH v3 07/10] vmxnet3: support jumbo frames

2015-03-10 Thread Yong Wang
On 3/5/15, 4:10 PM, "Stephen Hemminger" wrote: >From: Stephen Hemminger > >Add support for linking multi-segment buffers together to >handle Jumbo packets. > >Signed-off-by: Stephen Hemminger >--- > lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 3 +- > lib/librte_pmd_vmxnet3/vmxnet3_ring.h | 2

[dpdk-dev] [PATCH v3 07/10] vmxnet3: support jumbo frames

2015-03-09 Thread Stephen Hemminger
On Mon, 9 Mar 2015 23:28:39 + Yong Wang wrote: > I didn?t see where mtu is used to calculate how many rx descriptors will > be needed for each packet. Furthermore, as pointed out by the following > code comments, the device requires the first rx buffer of a packet be of > type

[dpdk-dev] [PATCH v3 07/10] vmxnet3: support jumbo frames

2015-03-05 Thread Stephen Hemminger
From: Stephen Hemminger Add support for linking multi-segment buffers together to handle Jumbo packets. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 3 +- lib/librte_pmd_vmxnet3/vmxnet3_ring.h | 2 +