net/e1000: fix missing Tx multi-segs capability
authorDidier Pallard <didier.pallard@6wind.com>
Wed, 19 Sep 2018 15:04:06 +0000 (17:04 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commita6607ae14c15158f082a8a620007b573d40aed11
tree9a9e3b2cd6ba664c753c1df1b071765f8e0c78a3
parentdc6a4514fb04bf2afd60e39e013af035f9c9370f
net/e1000: fix missing Tx multi-segs capability

In former API, ETH_TXQ_FLAGS_NOMULTSEGS was merely a hint indicating
that application will never send multisegmented packets, allowing
pmd to choose different tx methods accordingly.
In new API, DEV_TX_OFFLOAD_MULTI_SEGS became an offload capability
that is advertised by pmds, some of them do not advertise it and
expect to never receive fragmented packets (octeontx, axgbe)
So an ethdev that supports multisegmented packets should properly
advertise it.

Fixes: e5c05e6590ea ("net/e1000: convert to new Tx offloads API")
Cc: stable@dpdk.org
Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/e1000/em_rxtx.c