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 <david.march...@redhat.com> > Sent: Friday, September 10, 2021 4:50 PM > To: Li, Miao <miao...@intel.com> > Cc: Maxime Coquelin <maxime.coque...@redhat.com>; dev@dpdk.org; Xia, > Chenbo <chenbo....@intel.com> > Subject: Re: [dpdk-dev] [PATCH 5/5] examples/l3fwd-power: support > virtio/vhost > > On Fri, Sep 10, 2021 at 10:34 AM Li, Miao <miao...@intel.com> 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 > 3689-1-david.march...@redhat.com/ > > 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