Hi Stephen, The code looking at checksum flags in each packet would not give us desired performance. Instead, should the dpdk app register callbacks for hotplug add and re-configure the checksum offloads when VF is added again? Regards, Nandini On Thu, Sep 19, 2024 at 11:47 AM Stephen Hemminger < stephen@networkplumber.org> wrote: > On Thu, 19 Sep 2024 11:11:44 -0700 > Nandini Rangaswamy wrote: > > > Hi Long/Stephen, > > I was going through the hotplug handling code in netvsc PMD and need > > clarification. > > Earlier with failsafe PMD , my dpdk app used to subscribe to hotplug > events > > to set the checksum offloads to do software checksum calculation when VF > > was removed and switch to H/W checksum calculation when VF was added. > > I see even with netvsc PMD , it does not do anything specific to RSS > > /checksum offloads in hotplug callbacks but initializes VF port (through > > ioctl) during hotplug add and removes VF port in hotplug remove callback. > > So my understanding is, the dpdk app should continue to handle the > checksum > > offloads as part of hotplug callbacks and netvsc will not handle it > > automatically. > > Can you confirm if this is correct? > > Regards, > > Nandini > > The code should look at the checksum flags in each packet, rather > than assuming VF hotplug will change things. > > -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.