[dpdk-dev] [PATCH 2/4] enic: set the max allowed MTU for the NIC

2016-06-24 Thread John Daley (johndale)
Hi Bruce, > > * What was the MTU set to by default before this patch is applied? Was > > it just set to 1518 or something else? > > * What happens, if anything, if buffers bigger than the MTU size are sent > down? > This is obviously referring to buffers bigger than MTU on TX. There is also > the

[dpdk-dev] [PATCH 2/4] enic: set the max allowed MTU for the NIC

2016-06-24 Thread Bruce Richardson
On Fri, Jun 24, 2016 at 11:59:19AM +0100, Bruce Richardson wrote: > On Thu, Jun 16, 2016 at 10:22:47PM -0700, John Daley wrote: > > The max MTU is set to the max egress packet size allowed by the VIC > > minus the size of a an IPv4 L2 header with .1Q (18 bytes). > > > > I think a bit more detail

[dpdk-dev] [PATCH 2/4] enic: set the max allowed MTU for the NIC

2016-06-24 Thread Bruce Richardson
On Thu, Jun 16, 2016 at 10:22:47PM -0700, John Daley wrote: > The max MTU is set to the max egress packet size allowed by the VIC > minus the size of a an IPv4 L2 header with .1Q (18 bytes). > I think a bit more detail might be needed here. For example: * What was the MTU set to by default befor

[dpdk-dev] [PATCH 2/4] enic: set the max allowed MTU for the NIC

2016-06-16 Thread John Daley
The max MTU is set to the max egress packet size allowed by the VIC minus the size of a an IPv4 L2 header with .1Q (18 bytes). Signed-off-by: John Daley --- drivers/net/enic/enic.h| 1 + drivers/net/enic/enic_ethdev.c | 3 ++- drivers/net/enic/enic_res.c| 25 +--