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

Reply via email to