Re: [ovs-discuss] ovs-dpdk and userspace tso
Thanks for your reply! Can you share the commit that had disabled it in the later versions if you have it handy? Thanks Thilak Raj S From: Satish Patel Sent: 06 November 2021 07:25 To: Thilak Raj Surendra Babu Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] ovs-dpdk and userspace tso 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 mailto:thilakraj...@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 disc...@openvswitch.org<mailto:disc...@openvswitch.org> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss [mail.openvswitch.org]<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddiscuss&d=DwQFaQ&c=s883GpUCOChKOHiocYtGcg&r=1sd3waKor_ps6hs2j0tfqmW6ts2tlVvmmMySlXCPN6w&m=BpcUrQHpk0RaHkSUGi_Ro8C9vBiFtQKnD6mSnwpJbXTnCePEqiRt74ov9Vi_lx9x&s=2XxxsCLdafD2sGFoEyeTz8Zf55yF7-Xyz8Kgc3H1Cqo&e=> ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] ovs-dpdk and userspace tso
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 > 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 > disc...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
[ovs-discuss] ovs-dpdk and userspace tso
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 disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss