From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stephen@networkplumber.org>
Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com
 [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 229045323
 for <dev@dpdk.org>; Tue, 30 Apr 2019 20:12:27 +0200 (CEST)
Received: by mail-pl1-f194.google.com with SMTP id o5so7090260pls.12
 for <dev@dpdk.org>; Tue, 30 Apr 2019 11:12:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=19UTr/7nmmfd5YLb19rqoWFnTqsR88wkv/32dPuIY3M=;
 b=YJdz+DovKeLZsbE/S0CH+fVKWkWRVGCgksXheejACae3Er7cAHw99N1HW/JYUCdJ+K
 8C9OvsegcmsXw+UiNmjHDJtPDej9ykIQ2w94fxpnwy39Pr1JcHqXXX6Q8a1KrA2cNZXJ
 ca1aKVWvBhyb8nuMveSHzyYQ/CuCZnGDHBVEiKbm3YL8CKkESl+Wqzy+lEL7bH/2dsvs
 LoEFEYJCCiDH21VRMsEXC7+SVo4Z009d1Yu7wG1daBjFrHODQM6ltKBbjGfFS3k2SiK3
 cY1V4KgnbMpfEvVvJcXhwNLCcuQG+VxxegUuAP3FqPx/dCQDEKdfxG8crQcif4fw+RLC
 jh5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=19UTr/7nmmfd5YLb19rqoWFnTqsR88wkv/32dPuIY3M=;
 b=W+3pQe55+zHuAdQ75n1b6jDe40j3Q2fUiGB1GccIcHZgQlbPzPg0XxD5KMDlTUVx/9
 atV5oTgoeAEEknX4hluXzwg47jJEQH2zQRFRfzu0jC3MWdgFKTlkpcH1TMeG9gFNttdV
 kd41OFwe1uM41a6w6t6L5ip7CttqmC2dihxXAXKGu1II8A9VNZ1NijCorN44AwubqBTj
 kqMNvdu29Y7PiZF/c70FWr/kqtg/9UOgud5ffzRmiOPC/i8VMH3LK3oGQW831R7ROpf3
 B+WePpm8Ib9cLXvlu4hDbfp6EOhWCSdD/fMAFzfB+NY3735h5IC+lqdjsqpZcMkbeoVq
 L4BQ==
X-Gm-Message-State: APjAAAWV348Ne06bSEYacfBcYagA7ogxCImaeVY9+Za7fPXwymTvcUVv
 FUNNGl9H7+ydSKdBb2AfOK8SxC+25w0=
X-Google-Smtp-Source: APXvYqwLNPwm9357KGAPPeV9s1cXrtRPqh8j3S/B+TWnrskTVMxzqspOylX/p8KqZnLLvPpdpnPuog==
X-Received: by 2002:a17:902:102a:: with SMTP id
 b39mr71810789pla.188.1556647945755; 
 Tue, 30 Apr 2019 11:12:25 -0700 (PDT)
Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])
 by smtp.gmail.com with ESMTPSA id z7sm68660462pgh.81.2019.04.30.11.12.24
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 30 Apr 2019 11:12:24 -0700 (PDT)
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Date: Tue, 30 Apr 2019 11:12:15 -0700
Message-Id: <20190430181217.20875-1-stephen@networkplumber.org>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20190429203325.10696-1-stephen@networkplumber.org>
References: <20190429203325.10696-1-stephen@networkplumber.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH v2 0/2] netvsc PMD fixes for 19.05
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Apr 2019 18:12:27 -0000

Netvsc needed to reset incoming port as was recently done
for failsafe. Implement the new close semantics.

Stephen Hemminger (2):
  net/netvsc: reset mbuf port on VF receive
  net/netvsc: free all queues on close

 drivers/net/netvsc/hn_ethdev.c |  8 ++-
 drivers/net/netvsc/hn_rxtx.c   | 93 ++++++++++++++++++++++++----------
 drivers/net/netvsc/hn_var.h    |  1 +
 drivers/net/netvsc/hn_vf.c     | 11 +++-
 4 files changed, 82 insertions(+), 31 deletions(-)

-- 
2.20.1

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 6C42DA0679
	for <public@inbox.dpdk.org>; Tue, 30 Apr 2019 20:12:30 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 88CA854AE;
	Tue, 30 Apr 2019 20:12:28 +0200 (CEST)
Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com
 [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 229045323
 for <dev@dpdk.org>; Tue, 30 Apr 2019 20:12:27 +0200 (CEST)
Received: by mail-pl1-f194.google.com with SMTP id o5so7090260pls.12
 for <dev@dpdk.org>; Tue, 30 Apr 2019 11:12:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=19UTr/7nmmfd5YLb19rqoWFnTqsR88wkv/32dPuIY3M=;
 b=YJdz+DovKeLZsbE/S0CH+fVKWkWRVGCgksXheejACae3Er7cAHw99N1HW/JYUCdJ+K
 8C9OvsegcmsXw+UiNmjHDJtPDej9ykIQ2w94fxpnwy39Pr1JcHqXXX6Q8a1KrA2cNZXJ
 ca1aKVWvBhyb8nuMveSHzyYQ/CuCZnGDHBVEiKbm3YL8CKkESl+Wqzy+lEL7bH/2dsvs
 LoEFEYJCCiDH21VRMsEXC7+SVo4Z009d1Yu7wG1daBjFrHODQM6ltKBbjGfFS3k2SiK3
 cY1V4KgnbMpfEvVvJcXhwNLCcuQG+VxxegUuAP3FqPx/dCQDEKdfxG8crQcif4fw+RLC
 jh5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=19UTr/7nmmfd5YLb19rqoWFnTqsR88wkv/32dPuIY3M=;
 b=W+3pQe55+zHuAdQ75n1b6jDe40j3Q2fUiGB1GccIcHZgQlbPzPg0XxD5KMDlTUVx/9
 atV5oTgoeAEEknX4hluXzwg47jJEQH2zQRFRfzu0jC3MWdgFKTlkpcH1TMeG9gFNttdV
 kd41OFwe1uM41a6w6t6L5ip7CttqmC2dihxXAXKGu1II8A9VNZ1NijCorN44AwubqBTj
 kqMNvdu29Y7PiZF/c70FWr/kqtg/9UOgud5ffzRmiOPC/i8VMH3LK3oGQW831R7ROpf3
 B+WePpm8Ib9cLXvlu4hDbfp6EOhWCSdD/fMAFzfB+NY3735h5IC+lqdjsqpZcMkbeoVq
 L4BQ==
X-Gm-Message-State: APjAAAWV348Ne06bSEYacfBcYagA7ogxCImaeVY9+Za7fPXwymTvcUVv
 FUNNGl9H7+ydSKdBb2AfOK8SxC+25w0=
X-Google-Smtp-Source: APXvYqwLNPwm9357KGAPPeV9s1cXrtRPqh8j3S/B+TWnrskTVMxzqspOylX/p8KqZnLLvPpdpnPuog==
X-Received: by 2002:a17:902:102a:: with SMTP id
 b39mr71810789pla.188.1556647945755; 
 Tue, 30 Apr 2019 11:12:25 -0700 (PDT)
Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])
 by smtp.gmail.com with ESMTPSA id z7sm68660462pgh.81.2019.04.30.11.12.24
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 30 Apr 2019 11:12:24 -0700 (PDT)
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Date: Tue, 30 Apr 2019 11:12:15 -0700
Message-Id: <20190430181217.20875-1-stephen@networkplumber.org>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20190429203325.10696-1-stephen@networkplumber.org>
References: <20190429203325.10696-1-stephen@networkplumber.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH v2 0/2] netvsc PMD fixes for 19.05
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <20190430181215.-bPf944RwiEc9GGTvN05ct2YNUhiFcLSTcZ4VHJopjk@z>

Netvsc needed to reset incoming port as was recently done
for failsafe. Implement the new close semantics.

Stephen Hemminger (2):
  net/netvsc: reset mbuf port on VF receive
  net/netvsc: free all queues on close

 drivers/net/netvsc/hn_ethdev.c |  8 ++-
 drivers/net/netvsc/hn_rxtx.c   | 93 ++++++++++++++++++++++++----------
 drivers/net/netvsc/hn_var.h    |  1 +
 drivers/net/netvsc/hn_vf.c     | 11 +++-
 4 files changed, 82 insertions(+), 31 deletions(-)

-- 
2.20.1