From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B4143459D8 for ; Thu, 19 Sep 2024 20:11:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 754C4406FF; Thu, 19 Sep 2024 20:11:57 +0200 (CEST) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mails.dpdk.org (Postfix) with ESMTP id 55C8B4026B for ; Thu, 19 Sep 2024 20:11:56 +0200 (CEST) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2f7502f09fdso9392001fa.1 for ; Thu, 19 Sep 2024 11:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1726769516; x=1727374316; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=QxbmYmMrzDh3wengVzmVfh320X06FNrxNsGKvcvqpG0=; b=PhjObqT5SHWZo4TG+ZABiQdt/cvcDP38Kx9G5lsullH8d3lt67AAxfXiNMBgnyAVoG iNw5khnjh5SeUGz9zlIcLVhbxMMzWFjmP6rh2bne6vGXRE7vzRVb0/kMMVJ1el3g0EJy NVFp2L5P3vBKuzqM3y2EJJGEVwTwo3psIArAc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726769516; x=1727374316; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QxbmYmMrzDh3wengVzmVfh320X06FNrxNsGKvcvqpG0=; b=somYqO5hMYFJ7aNoSSbJAS96noBcIQOffczutUEE+TLXKFgRhXPnWMvUR67CTguHOK qUQHQycaOp1kR+UzVYc1qG7SIGZ4HhrvS0PqwZVOZq8K7E+N4nSs9ozvz+m0RqFrU0ha 4QWWX5fV6BeJnWol+vcRehe4QEIG3uwMeZY7b0qx0+gsDeT1NRL1K3H/aiW5oSBTJyTy v002N8pdfNUOYhMBcE3irpMEYnvtGIwj7Z2Bsr08Aj9fhEP76H0SQjAH+tGUcSdoAXbk LeHFoXspyASONfBL9UczuWx0KkHbgB99DJiHUGFmZ6qBz/hnjHpvMdXrH9DpHq9CBnP9 mmkg== X-Forwarded-Encrypted: i=1; AJvYcCW3QB8Af/fF4qCSYclC5ywSr6CCVvCURoJB+DMXH7NowpBL6g9PNJxyZFreTQBzpvpZBRwz6A==@dpdk.org X-Gm-Message-State: AOJu0YwnRo6eSp5sUwhVv6Syyuus5Otenxv53xsmt+J7ETRXLbK4OV8v rAAd+wpVe1jzc6AHPfVqpSK99rXfyBsVdTKyRdnQhadGGRdo3wW0KXOQsfmiTFyv8ZBsvaNUp/y hAyS/fbCyQYTc1nB35Oepqa8XP4DS08IRq3jfs6VZvX7613zD/n5Xr8lT7+yxlQJ2FexpO/n+qA /1WOweRmo= X-Google-Smtp-Source: AGHT+IGLjooCTxD/iazD6KTZLUQL/fG5rEWzw59iPeMMT8Dyy22WmgR1uywELGUuaOVXgQ4rlI1+D5riHTjAOobntdQ= X-Received: by 2002:a2e:be9c:0:b0:2f4:f66f:d55a with SMTP id 38308e7fff4ca-2f7cb37b858mr1748131fa.21.1726769515529; Thu, 19 Sep 2024 11:11:55 -0700 (PDT) MIME-Version: 1.0 From: Nandini Rangaswamy Date: Thu, 19 Sep 2024 11:11:44 -0700 Message-ID: Subject: Netvsc PMD : Hotplug handling : checksum offloads To: Long Li , Stephen Hemminger , users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000953cba06227cdb34" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000953cba06227cdb34 Content-Type: text/plain; charset="UTF-8" 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 -- 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. --000000000000953cba06227cdb34 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0Hi Long/Stephen,
I was going through the hotplug= handling code in netvsc PMD and need clarification.
Earlier=C2= =A0with failsafe PMD , my dpdk app used to subscribe to hotplug events to s= et the checksum offloads to do software checksum calculation when VF was re= moved 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 /checks= um offloads in hotplug callbacks but initializes VF port (through ioctl) du= ring hotplug add and removes VF port in hotplug remove callback. So my unde= rstanding 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,
N= andini

This ele= ctronic communication and the information and any files transmitted with it= , or attached to it, are confidential and are intended solely for the use o= f the individual or entity to whom it is addressed and may contain informat= ion that is confidential, legally privileged, protected by privacy laws, or= otherwise restricted from disclosure to anyone else. If you are not the in= tended recipient or the person responsible for delivering the e-mail to the= intended recipient, you are hereby notified that any use, copying, distrib= uting, dissemination, forwarding, printing, or copying of this e-mail is st= rictly 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. --000000000000953cba06227cdb34--