net/tap: fix multi segments capability
authorOphir Munk <ophirmu@mellanox.com>
Mon, 5 Feb 2018 10:59:08 +0000 (10:59 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Feb 2018 18:56:04 +0000 (19:56 +0100)
commit9abaad8d68006c8648ccb353467b75cbead0dbfe
treec4b14261a667ba17b3e8a4e89064a3ecc7d2383c
parent82b9c1540348b6be7996203065e10421e953cea9
net/tap: fix multi segments capability

TAP device is supporting multi segments Tx, however this capability is
not reported when querying the TAP device.
This commit adds this capability report.

Fixes: 818fe14a9891 ("net/tap: use new Tx offloads API")
Cc: stable@dpdk.org
Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Pascal Mazon <pascal.mazon@6wind.com>
drivers/net/tap/rte_eth_tap.c