net/tap: support segmented mbufs
authorPascal Mazon <pascal.mazon@6wind.com>
Thu, 16 Mar 2017 08:59:21 +0000 (09:59 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:47 +0000 (18:59 +0200)
commit0781f5762cfe0a7bbada05da4380f2efecfe79ff
tree67b13c163a6d63d87fc0c8d2ec46c0ab11eb0b56
parent5025409c0482e9445da42b50826a84af5274814b
net/tap: support segmented mbufs

Support for segmented packets (scatter/gather) is mandatory for most
purposes, regardless of the MTU size. Tx packets are often the result of
mbuf concatenation, and an mbuf is not necessarily large enough for Rx
packets to fit in a single one.

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