Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp718018pxb; Fri, 8 Jan 2021 16:57:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyd9BpNRahmAUoJQEkPSzNflk/KDXiYm6TTMqJ5fkzxGb4m0D4DDCdorlMYIKCSzfI2z49V X-Received: by 2002:a17:907:16a2:: with SMTP id hc34mr4311379ejc.9.1610153854551; Fri, 08 Jan 2021 16:57:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610153854; cv=none; d=google.com; s=arc-20160816; b=rRd5qU+eWZyMwIaaE3kkMLm15JAMhmqMMQzlCVnVq3WMEzljnko9OzoHRd0LsxWb6V ALiwvUvG+H/AD3YSmwO8GiHtA7S0RTIfiUcZSIRtm+ReY67rX2d4xagB9hEG6jlzHejx YE/ZaGPbOxk+eH6lZH7seZeSSvZL06IImQ5+EEk9WGs4SgkjqCyN2UzZC89XR1+Fv0M6 EMBJUmVEmuEL1nbhiwWuwEuNrWMMcyEJv+ytiIj5ebMZfMx0mvTo8fefJgn94Ndfc/Gj zJ+tWtZ5FZgyEjEOMX1XgrWOVHGvK3ti3p4rU+lio50ZOUpxq45LnTlvRn1vj0sW20lT o/ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=k3T4DMBXsImTUP3gT7PgRVmoiGDaelg25OyJmX8AQ+0=; b=gGCcOfeI5l6rKJoF15FTpO3c/WqY/id1YAjbHi8oLXykSt969V9kpMFo9ah0nu2tx1 c5VoFXTox89Ocvu+1i0parldZpPUORYaEBm6OUAkeSn3+Xi31WF8sfhEmAfFKtpnvMnV SG7ZvhVgnhJxegmY/7riEPpz8O0jVvv9nnemkVxbnPqpklfUrKOVWa0UzTmbbSp7eQRq cn0MfqsYWJ2c8MjbpJ8JpaLiBqxtxVZgTc9PKR6T7hKXZoZ+tZZgijcNywPmy07TqHoF d1Q7FG+y0bjyJsQRK9Rbf8wAVMPNeLFQOZESzwqskemH+sMbbHfDqhXeyHtZhdo9iCm+ VOaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxonhyperv.com header.s=default header.b=CeTfIWVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxonhyperv.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u26si4153262eds.149.2021.01.08.16.57.11; Fri, 08 Jan 2021 16:57:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxonhyperv.com header.s=default header.b=CeTfIWVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxonhyperv.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726098AbhAIAyb (ORCPT + 99 others); Fri, 8 Jan 2021 19:54:31 -0500 Received: from linux.microsoft.com ([13.77.154.182]:41670 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725817AbhAIAyb (ORCPT ); Fri, 8 Jan 2021 19:54:31 -0500 Received: by linux.microsoft.com (Postfix, from userid 1004) id B3DE320B7192; Fri, 8 Jan 2021 16:53:50 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com B3DE320B7192 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxonhyperv.com; s=default; t=1610153630; bh=k3T4DMBXsImTUP3gT7PgRVmoiGDaelg25OyJmX8AQ+0=; h=From:To:Cc:Subject:Date:From; b=CeTfIWVslTX7pn26LvqoAzpkzjy/h3owgLcSGlRAPs/gfzgnX+67qorCuJ7bpnfzW fIvSqa9nLofukWjf0D4aLsGmrJFBQIOZgA6bKS1yBmzlPXhACJs3s2mNlckloENvRN E7EIvxD/n0OHibHFMiCY9izsR2bN/6zRNXLwq+iE= From: Long Li To: "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , "David S. Miller" , Jakub Kicinski , linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Long Li Subject: [PATCH v2 0/3] hv_netvsc: Prevent packet loss during VF add/remove Date: Fri, 8 Jan 2021 16:53:40 -0800 Message-Id: <1610153623-17500-1-git-send-email-longli@linuxonhyperv.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Long Li This patch set fixes issues with packet loss on VF add/remove. Long Li (3): hv_netvsc: Check VF datapath when sending traffic to VF hv_netvsc: Wait for completion on request SWITCH_DATA_PATH hv_netvsc: Process NETDEV_GOING_DOWN on VF hot remove drivers/net/hyperv/netvsc.c | 37 ++++++++++++++++++++++++++++++--- drivers/net/hyperv/netvsc_drv.c | 14 ++++++++----- 2 files changed, 43 insertions(+), 8 deletions(-) -- 2.27.0