Re: [ovs-discuss] ovs-dpdk and userspace tso

2021-11-06 Thread Satish Patel
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


Re: [ovs-discuss] Problem with OVS meter table

2021-11-06 Thread Menas Eissa
Thank you for your response.

On Mon, Nov 1, 2021, 11:12 PM Ilya Maximets  wrote:

> > Hi,
> >
> > My name is M.Eissa and I am a PHD student in Mansura university, Egypt. I
> > am trying to construct a QoS system using Ryu an ovs switch my system
> > includes metering but the band type is dscp_remark.
> >
> > When I tried to install the meter table the following comment appeared:
> > OFPMMFC_BAD_BAND
> >
> > When I used ofsoftswitch13 the code is fine but I need queue prioritizing
> > Also which is not supported in ofsoftswitch13
> >
> >
> >
> > How can I install a DSCP_remark meter table in OVS switch
>
> Hi.  AFAICT, none of OVS datapaths currently supports dscp_remark.
>
> Best regards, Ilya Maximets.
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss