numam-dpdk/lib/librte_vhost
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: c3ff0ac70a ("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
..
fd_man.c
fd_man.h
iotlb.c vhost: make IOTLB cache name unique among processes 2020-04-21 13:57:07 +02:00
iotlb.h
Makefile
meson.build
rte_vdpa.h vhost: prefix vDPA enum value for PCI address type 2020-04-21 13:57:07 +02:00
rte_vhost_crypto.h
rte_vhost_version.map
rte_vhost.h vhost/crypto: add missing user protocol flag 2020-04-21 13:57:07 +02:00
socket.c vhost: prevent zero-copy with incompatible client mode 2020-05-05 15:54:26 +02:00
vdpa.c vhost: prefix vDPA enum value for PCI address type 2020-04-21 13:57:07 +02:00
vhost_crypto.c vhost/crypto: validate keys lengths 2020-05-18 15:22:34 +02:00
vhost_user.c vhost: fix potential fd leak 2020-05-18 15:22:42 +02:00
vhost_user.h replace packed attributes 2020-04-16 18:16:46 +02:00
vhost.c
vhost.h vhost: use binary search in address conversion 2020-05-05 15:54:26 +02:00
virtio_crypto.h
virtio_net.c vhost: handle mbuf allocation failure 2020-05-18 20:35:57 +02:00