Sivaprasad Tummala 0fd5608ef9 vhost: handle mbuf allocation failure
vhost buffer allocation is successful for packets that fit
into a linear buffer. If it fails, vhost library is expected
to drop the current packet and skip to the next.

The patch fixes the error scenario by skipping to next packet.
Note: Drop counters are not currently supported.

Fixes: c3ff0ac70acb ("vhost: improve performance by supporting large buffer")
Cc: stable@dpdk.org

Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-05-18 20:35:57 +02:00
..
2020-04-16 18:16:18 +02:00
2020-05-11 13:17:43 +02:00
2020-04-16 18:30:58 +02:00
2020-05-18 20:46:24 +02:00
2020-04-16 18:16:46 +02:00
2020-02-14 11:59:01 +01:00
2020-04-24 19:29:02 +02:00
2020-03-17 14:53:48 +01:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:30:58 +02:00
2020-04-22 20:46:00 +02:00
2020-04-16 18:16:18 +02:00
2020-05-11 00:37:16 +02:00
2020-05-11 00:37:16 +02:00