[ovs-discuss] ovs-dpdk and userspace tso

Satish Patel satish.txt at gmail.com
Sat Nov 6 14:25:08 UTC 2021


I believe I had same issue and patch is available in 2.16.x version of OVS. TSO TX offload not supported in OVS. 

I’m not expert so let someone else chime in. 

Sent from my iPhone

> On Nov 5, 2021, at 2:32 PM, Thilak Raj Surendra Babu <thilakraj.sb at nutanix.com> wrote:
> 
> 
> Hello Folks,
> I have a host with a DPDK physical interface attached to br0 and access to this host is through an IP address on the bridge interface. 
> On enabling userspace_tso with the intention of bringing up VM’s with vhost_user.
> Strangely I noticed that after ssh to this host from an external host no packets are being transmitted out of this interface.
> 
> I noticed that flows were intact and counters for the flows were not increasing, and it looked more like the packets were not transmitted out of the interface when tso is enabled.
> Debugging with gdb(rte_eth_tx_burst returned 0) confirmed this theory and ovs_tx_failure_drops was also increasing.
> 
> Enabling CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX,  CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX,CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE,
> CONFIG_RTE_LIBRTE_ETHDEV_DEBUG in the DPDK build showed these logs being emitted,
> 
> 2021-11-05T13:34:43.794Z|02813|netdev_dpdk|WARN|eth2: Output batch contains invalid packets. Only 3/8 are valid: Invalid argument
> 2021-11-05T17:39:21.129Z|15064|netdev_dpdk|WARN|eth2: Output batch contains invalid packets. Only 0/5 are valid: Invalid argument
> 
> I think this suggests that some of the offload flags were not set properly.
> 
> Though by enabling CONFIG_RTE_LIBRTE_ETHDEV_DEBUG tx is not hung as the packet with improper offload flags is dropped.
> However, I am curious to know if this has been seen by other folks and fixed in later versions.
> 
> I am running the below version.
> ovs-vswitchd (Open vSwitch) 2.14.2
> DPDK 19.11.9
> 
> Please let me know if you need additional details.
>  
> Thanks
> Thilak Raj S
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20211106/fe08059a/attachment.html>


More information about the discuss mailing list