Re: [dpdk-dev] [PATCH] net/sfc: fix MTU change to check Rx scatter consistency

2019-05-08 Thread Kevin Traynor
On 23/04/2019 09:14, Andrew Rybchenko wrote: > From: Igor Romanov > > Rx queue setup function checks configured MTU to make sure that > no oversized packets can be received. But a following call to > set MTU function might make this check irrelevant. > > Add a function to check MTU size against

Re: [dpdk-dev] [PATCH] net/sfc: fix MTU change to check Rx scatter consistency

2019-04-23 Thread Ferruh Yigit
On 4/23/2019 9:14 AM, Andrew Rybchenko wrote: > From: Igor Romanov > > Rx queue setup function checks configured MTU to make sure that > no oversized packets can be received. But a following call to > set MTU function might make this check irrelevant. > > Add a function to check MTU size against

[dpdk-dev] [PATCH] net/sfc: fix MTU change to check Rx scatter consistency

2019-04-23 Thread Andrew Rybchenko
From: Igor Romanov Rx queue setup function checks configured MTU to make sure that no oversized packets can be received. But a following call to set MTU function might make this check irrelevant. Add a function to check MTU size against Rx buffer size and additional Rx queue info, including Rx s