From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id 4814A1B0FC for ; Mon, 29 Apr 2019 22:33:30 +0200 (CEST) Received: by mail-pl1-f195.google.com with SMTP id z8so5635311pln.4 for ; Mon, 29 Apr 2019 13:33:30 -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:mime-version :content-transfer-encoding; bh=GFjUrK6h+zThrVrt3D+aU2y8e/LWR31Z3A8yYf0dlMA=; b=fKdXQxpI1yIHkNTHsBLez+rNmhz7qnmADuNsHtV2bJ37PLzSIIRSXJU2ntTFsY5sjJ u9h+0gA1dq9kC7wrnEPUBF7ZCqh+6jjOdoMYZZYSqJzLCjUDrZoUtmGI+H3ayk0o6f3b BM3Yva33tFM7RZmSF6FdDo/NVW9kDlJWGinSwk3l5W5oG+gp+anrukthqkMin5PQm3g+ oOWDLjGpzeQjReqKF1gYOh7CwPURNCi6S8N/1ub/aU719AZ4M/Ls8UoCxn3tHuL0ZhJV N2pxZErJ5CpF+j1GCY6nHv9eUbqpuLogOnLh9rM7xSL/SvhFIY21R2sAln5VjN0AWAmk rcRA== 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:mime-version :content-transfer-encoding; bh=GFjUrK6h+zThrVrt3D+aU2y8e/LWR31Z3A8yYf0dlMA=; b=Z2Wm9Ht5UKzPRJa+dyCFX9+i8jFIe9YUkzzBLDeMYLaqWXTfdkTRAv+U29AxfHhbxM 7RqhvasgjO6xLCx8YBXxi6pLH+LeDc9HF907+DAp3GxHw5owmtxwF3ifHU8+HSxBrLyp FChSBsgozK5xre3/YHCXU78r6RuE083Df7NkKiehrwsS+NuokjK35qhM/cbqPtMXYf2W bLoIets9wlV7REzcI7gMfvmXI7MApB2f1lsO44nKjpTDGpUrUT7opERn7Da2bkJ8f7ou chLfaf+pGJ0zFTi+g0CaXB9FO/L5jXuSXfdYk5qOO8No/IrX4wL80Pf/sk5HpK1HPIuK dIPw== X-Gm-Message-State: APjAAAXSmQxEWPqN0iZLjZGCenTY672SAz8dAFIodsh2AkdsVKZKrBig GkVNAwTpeI70ELRg/QvCUMWUeCSAakI= X-Google-Smtp-Source: APXvYqy2QDkB0Dim9cHWwyZ9Ghu0ioYEdpQ0WAEt7Lpr22LnR9TaLkyZ1KY2iWBtpuiR+RrrI6geyA== X-Received: by 2002:a17:902:e283:: with SMTP id cf3mr23744737plb.160.1556570008745; Mon, 29 Apr 2019 13:33:28 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id i4sm3557424pfa.44.2019.04.29.13.33.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Apr 2019 13:33:27 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 29 Apr 2019 13:33:23 -0700 Message-Id: <20190429203325.10696-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 20:33:30 -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 | 86 ++++++++++++++++++++++++---------- drivers/net/netvsc/hn_var.h | 1 + 3 files changed, 68 insertions(+), 27 deletions(-) -- 2.20.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id B3F22A0679 for ; Mon, 29 Apr 2019 22:33:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3CDB41B101; Mon, 29 Apr 2019 22:33:31 +0200 (CEST) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id 4814A1B0FC for ; Mon, 29 Apr 2019 22:33:30 +0200 (CEST) Received: by mail-pl1-f195.google.com with SMTP id z8so5635311pln.4 for ; Mon, 29 Apr 2019 13:33:30 -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:mime-version :content-transfer-encoding; bh=GFjUrK6h+zThrVrt3D+aU2y8e/LWR31Z3A8yYf0dlMA=; b=fKdXQxpI1yIHkNTHsBLez+rNmhz7qnmADuNsHtV2bJ37PLzSIIRSXJU2ntTFsY5sjJ u9h+0gA1dq9kC7wrnEPUBF7ZCqh+6jjOdoMYZZYSqJzLCjUDrZoUtmGI+H3ayk0o6f3b BM3Yva33tFM7RZmSF6FdDo/NVW9kDlJWGinSwk3l5W5oG+gp+anrukthqkMin5PQm3g+ oOWDLjGpzeQjReqKF1gYOh7CwPURNCi6S8N/1ub/aU719AZ4M/Ls8UoCxn3tHuL0ZhJV N2pxZErJ5CpF+j1GCY6nHv9eUbqpuLogOnLh9rM7xSL/SvhFIY21R2sAln5VjN0AWAmk rcRA== 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:mime-version :content-transfer-encoding; bh=GFjUrK6h+zThrVrt3D+aU2y8e/LWR31Z3A8yYf0dlMA=; b=Z2Wm9Ht5UKzPRJa+dyCFX9+i8jFIe9YUkzzBLDeMYLaqWXTfdkTRAv+U29AxfHhbxM 7RqhvasgjO6xLCx8YBXxi6pLH+LeDc9HF907+DAp3GxHw5owmtxwF3ifHU8+HSxBrLyp FChSBsgozK5xre3/YHCXU78r6RuE083Df7NkKiehrwsS+NuokjK35qhM/cbqPtMXYf2W bLoIets9wlV7REzcI7gMfvmXI7MApB2f1lsO44nKjpTDGpUrUT7opERn7Da2bkJ8f7ou chLfaf+pGJ0zFTi+g0CaXB9FO/L5jXuSXfdYk5qOO8No/IrX4wL80Pf/sk5HpK1HPIuK dIPw== X-Gm-Message-State: APjAAAXSmQxEWPqN0iZLjZGCenTY672SAz8dAFIodsh2AkdsVKZKrBig GkVNAwTpeI70ELRg/QvCUMWUeCSAakI= X-Google-Smtp-Source: APXvYqy2QDkB0Dim9cHWwyZ9Ghu0ioYEdpQ0WAEt7Lpr22LnR9TaLkyZ1KY2iWBtpuiR+RrrI6geyA== X-Received: by 2002:a17:902:e283:: with SMTP id cf3mr23744737plb.160.1556570008745; Mon, 29 Apr 2019 13:33:28 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id i4sm3557424pfa.44.2019.04.29.13.33.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Apr 2019 13:33:27 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 29 Apr 2019 13:33:23 -0700 Message-Id: <20190429203325.10696-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190429203323.ZPVOrjbxI1lWX-XQWKPb7zsUq5UFOmit8yF987mJ0ok@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 | 86 ++++++++++++++++++++++++---------- drivers/net/netvsc/hn_var.h | 1 + 3 files changed, 68 insertions(+), 27 deletions(-) -- 2.20.1