Re: [ovs-dev] [PATCH v4 1/1] netdev-dpdk: Fix requested MTU size validation.

2018-01-23 Thread Stokes, Ian
> -Original Message- > From: Stokes, Ian > Sent: Monday, January 22, 2018 6:27 PM > To: d...@openvswitch.org > Cc: Stokes, Ian ; Kavanagh, Mark B > > Subject: [PATCH v4 1/1] netdev-dpdk: Fix requested MTU size validation. > Hi all, thanks for the work reviewing this, I've applied it to

[ovs-dev] [PATCH v4 1/1] netdev-dpdk: Fix requested MTU size validation.

2018-01-22 Thread Ian Stokes
This commit replaces MTU_TO_FRAME_LEN(mtu) with MTU_TO_MAX_FRAME_LEN(mtu) in netdev_dpdk_set_mtu(), in order to determine if the total length of the L2 frame with an MTU of ’mtu’ exceeds NETDEV_DPDK_MAX_PKT_LEN. When setting an MTU we first check if the requested total frame length (which includes