From patchwork Sat Jan 9 00:53:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Long Li X-Patchwork-Id: 12007865 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 209BEC433E6 for ; Sat, 9 Jan 2021 00:54:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E4B1A23AC8 for ; Sat, 9 Jan 2021 00:54:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726385AbhAIAyb (ORCPT ); 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: netdev@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(-)