Re: [dpdk-dev] [PATCH 28/31] net/bnxt: fix set MTU

2018-06-28 Thread Ajit Khaparde
On Tue, Jun 26, 2018 at 8:30 AM, Ferruh Yigit wrote: > On 6/19/2018 10:30 PM, Ajit Khaparde wrote: > > There is no need to update hardware configuration if new MTU is > > not greater than the max data the mbuf can accommodate. > > If app sets a smaller MTU won't it expect that HW will drop receiv

Re: [dpdk-dev] [PATCH 28/31] net/bnxt: fix set MTU

2018-06-26 Thread Ferruh Yigit
On 6/19/2018 10:30 PM, Ajit Khaparde wrote: > There is no need to update hardware configuration if new MTU is > not greater than the max data the mbuf can accommodate. If app sets a smaller MTU won't it expect that HW will drop received packets bigger than provided size? Will this logic work if HW

[dpdk-dev] [PATCH 28/31] net/bnxt: fix set MTU

2018-06-19 Thread Ajit Khaparde
There is no need to update hardware configuration if new MTU is not greater than the max data the mbuf can accommodate. Fixes: daef48efe5e5 ("net/bnxt: support set MTU") Cc: sta...@dpdk.org Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 12 +--- 1 file changed, 9 inse