[dpdk-dev] [PATCH 5/5] examples/l3fwd-power: support virtio/vhost

2021-09-17 Thread Miao Li
In l3fwd-power, there is default port configuration which requires RSS and IPV4/UDP/TCP checksum. Once device does not support these, the l3fwd-power will exit and report an error. This patch updates the port configuration based on device capabilities after getting the device information to support

Re: [dpdk-dev] [PATCH 5/5] examples/l3fwd-power: support virtio/vhost

2021-09-12 Thread Li, Miao
; Xia, > Chenbo > Subject: Re: [dpdk-dev] [PATCH 5/5] examples/l3fwd-power: support > virtio/vhost > > On Fri, Sep 10, 2021 at 10:34 AM Li, Miao wrote: > > > > In l3fwd-power, there is default port configuration which requires RSS and > IPV4/UDP/TCP checksum. Once device do

Re: [dpdk-dev] [PATCH 5/5] examples/l3fwd-power: support virtio/vhost

2021-09-10 Thread David Marchand
On Fri, Sep 10, 2021 at 10:34 AM Li, Miao wrote: > > In l3fwd-power, there is default port configuration which requires RSS and > IPV4/UDP/TCP checksum. Once device does not support these, the l3fwd-power > will exit and report an error. Maxime suggested to update the port configuration based o

Re: [dpdk-dev] [PATCH 5/5] examples/l3fwd-power: support virtio/vhost

2021-09-10 Thread Li, Miao
In l3fwd-power, there is default port configuration which requires RSS and IPV4/UDP/TCP checksum. Once device does not support these, the l3fwd-power will exit and report an error. Miao -Original Message- From: Maxime Coquelin Sent: Friday, September 10, 2021 3:24 PM To: Li, Miao ; de

Re: [dpdk-dev] [PATCH 5/5] examples/l3fwd-power: support virtio/vhost

2021-09-10 Thread Maxime Coquelin
On 9/10/21 3:05 PM, Miao Li wrote: > This patch adds two command line arguments which will be needed when using > virtio/vhost vdev. One argument sets rx offloads capabilities > DEV_RX_OFFLOAD_VLAN_STRIP. The other argument sets DCB, PSS and VMDQ off > for RX side. > > Signed-off-by: Miao Li >

[dpdk-dev] [PATCH 5/5] examples/l3fwd-power: support virtio/vhost

2021-09-09 Thread Miao Li
This patch adds two command line arguments which will be needed when using virtio/vhost vdev. One argument sets rx offloads capabilities DEV_RX_OFFLOAD_VLAN_STRIP. The other argument sets DCB, PSS and VMDQ off for RX side. Signed-off-by: Miao Li --- examples/l3fwd-power/main.c | 15 +