]> git.droids-corp.org - dpdk.git/commit
net/vhost: fix TSO feature default disablement
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 22 Apr 2022 09:35:43 +0000 (11:35 +0200)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Mon, 9 May 2022 19:15:38 +0000 (21:15 +0200)
commit6d7046215a3da334bac77d2b06e5ae1c208f3ca4
tree70c13709e91c5c98a50eb53b9a0ce9cdf2e033e5
parent86ce14412286fe19dcaf2fc19856be70fe27a090
net/vhost: fix TSO feature default disablement

By default, TSO feature should be disabled because it requires
application's support to be functional as mentioned in the
documentation.

However, if "tso" devarg was not specified, the feature did
not get disabled.

This patch fixes this issue, so that TSO is disabled, even if
"tso=0" is not passed as devarg.

Fixes: e289400669d5 ("net/vhost: support TSO disabling")
Cc: stable@dpdk.org
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
drivers/net/vhost/rte_eth_vhost.c