Re: [dpdk-dev] [PATCH 1/8] net/mlx4: fix Tx packet drop application report

2017-12-06 Thread Adrien Mazarguil
On Tue, Nov 28, 2017 at 12:19:23PM +, Matan Azrad wrote: > When invalid lkey is sent to HW, HW sends an error notification in > completion function. > > The previous code wouldn't crash but doesn't add any application report > in case of completion error, so application cannot know that packet

[dpdk-dev] [PATCH 1/8] net/mlx4: fix Tx packet drop application report

2017-11-28 Thread Matan Azrad
When invalid lkey is sent to HW, HW sends an error notification in completion function. The previous code wouldn't crash but doesn't add any application report in case of completion error, so application cannot know that packet actually was dropped in case of invalid lkey. Return back the lkey va