net/i40e: fix mbuf leak during Rx queue release
authorYury Kylulin <yury.kylulin@intel.com>
Mon, 29 Aug 2016 16:50:48 +0000 (19:50 +0300)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit158efcdc5eed048f989c911ab372e78ceb1431bb
tree4a9d9f1cc2b5d053c33e4341f158d088950fcaae
parentf853230920a9be609a87e4cb7335c359c4945744
net/i40e: fix mbuf leak during Rx queue release

For the vector PMD, release all mbufs from the Rx queue if no packets
are received after device start.

Fixes: 9ed94e5bb04e ("i40e: add vector Rx")

Signed-off-by: Yury Kylulin <yury.kylulin@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_rxtx_vec.c