net/vhost: restore pseudo TSO support
authorDavid Marchand <david.marchand@redhat.com>
Tue, 18 May 2021 07:07:27 +0000 (09:07 +0200)
committerChenbo Xia <chenbo.xia@intel.com>
Tue, 18 May 2021 07:59:14 +0000 (09:59 +0200)
commit1583ad5b5e3e75285c566b943eda7d7cbb4d2825
treeecec39e4db8620ee3692e823429e0f5ecf5b7d26
parentf31ce483bcdced91685b5d3c7291d79793f7499c
net/vhost: restore pseudo TSO support

The net/vhost PMD does not comply with the ethdev offload API as it does
not report Rx/Tx offload capabilities wrt TSO and checksum offloading.
On the other hand, the net/vhost PMD lets guest negotiates TSO and
checksum offloading.

Changing the behavior for Rx/Tx offload flags handling won't
improve/fix this situation and will break applications that might have
been relying on implicit support of TSO in this driver.

Revert this behavior change until we have a complete fix.

Fixes: ca7036b4af3a ("vhost: fix offload flags in Rx path")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/vhost/rte_eth_vhost.c