Got it. I will change the codes and add the port configuration updating according to the device information. Thanks!
Miao > -----Original Message----- > From: David Marchand <[email protected]> > Sent: Friday, September 10, 2021 4:50 PM > To: Li, Miao <[email protected]> > Cc: Maxime Coquelin <[email protected]>; [email protected]; Xia, > Chenbo <[email protected]> > Subject: Re: [dpdk-dev] [PATCH 5/5] examples/l3fwd-power: support > virtio/vhost > > On Fri, Sep 10, 2021 at 10:34 AM Li, Miao <[email protected]> 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 on its capabilities. > > For RSS, it would be something like what I proposed for OVS: > https://patchwork.ozlabs.org/project/openvswitch/patch/20210830101304.1 > [email protected]/ > > As for IPv4/UDP/TCP rx checksums, I am not sure there is any actual > requirement for this app. > Probably something to investigate wrt DO_RFC_1812_CHECKS. > > > -- > David Marchand

