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

2021-10-29 Thread Ferruh Yigit
On 10/25/2021 3:47 PM, Miao Li wrote: - /* this is checked in H/W */ + /* if this is not checked in H/W, check it. */ + if ((port_conf.rxmode.offloads & DEV_RX_OFFLOAD_IPV4_CKSUM) == 0) { s/DEV_RX_OFFLOAD_IPV4_CKSUM/RTE_ETH_RX_OFFLOAD_IPV4_CKSUM/ + uint16_t act

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

2021-10-24 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