From: David Marchand Date: Tue, 18 May 2021 07:07:27 +0000 (+0200) Subject: net/vhost: restore pseudo TSO support X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1583ad5b5e3e75285c566b943eda7d7cbb4d2825;p=dpdk.git 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 Reviewed-by: Maxime Coquelin --- diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c index 8524898661..a202931e9a 100644 --- a/drivers/net/vhost/rte_eth_vhost.c +++ b/drivers/net/vhost/rte_eth_vhost.c @@ -1505,7 +1505,7 @@ rte_pmd_vhost_probe(struct rte_vdev_device *dev) int ret = 0; char *iface_name; uint16_t queues; - uint64_t flags = RTE_VHOST_USER_NET_COMPLIANT_OL_FLAGS; + uint64_t flags = 0; uint64_t disable_flags = 0; int client_mode = 0; int iommu_support = 0;