Re: [dpdk-dev] [PATCH v2 2/2] net/mlx5: enforce Tx num of segments limitation

2017-09-04 Thread Nélio Laranjeiro
On Wed, Aug 30, 2017 at 10:07:08AM +0300, Shahaf Shuler wrote: > Mellanox NICs has a limitation on the number of mbuf segments a multi > segment mbuf can have. The max number depends on the Tx offloads requested. > > The current code not enforce such limitation, which might cause > malformed work

[dpdk-dev] [PATCH v2 2/2] net/mlx5: enforce Tx num of segments limitation

2017-08-30 Thread Shahaf Shuler
Mellanox NICs has a limitation on the number of mbuf segments a multi segment mbuf can have. The max number depends on the Tx offloads requested. The current code not enforce such limitation, which might cause malformed work requests to be written to the device. This commit adds verification for