net/tap: remove minimum packet size in Rx
authorPascal Mazon <pascal.mazon@6wind.com>
Thu, 30 Mar 2017 08:52:48 +0000 (10:52 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:03:02 +0000 (19:03 +0200)
commitf279f6f2bd90d3cff1eca09cf60342ea33bb3ec6
tree12c105ec0408e654f80f82ad63aa13ec3b43fcd1
parent6b890c2cd66d063f2a02ea33488a3a4a264a3ef7
net/tap: remove minimum packet size in Rx

With support for segmented packets, it is now possible to easily receive
packets of many sizes, given an adequate number of descriptors.

Remove limitation on the minimum size of mbuf: on reception, if a packet
won't fit in the queue's mbufs, it will be detected in the packet info
and the packet will be discarded.

Fixes: 0781f5762cfe ("net/tap: support segmented mbufs")

Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
drivers/net/tap/rte_eth_tap.c