From patchwork Wed Aug 30 15:59:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 97 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7232141FD1; Wed, 30 Aug 2023 18:03:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F084340A8A; Wed, 30 Aug 2023 17:59:59 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9C130402B0 for ; Wed, 30 Aug 2023 17:59:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693411181; x=1724947181; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qiRaEuESlKnOafdfKpzGM7HIBOMClgOWt24HIV0wSnM=; b=GmJbel/aLDpYqqIxwn22pD6XAAECQYZkLychH2+mn/iBzzmqIHdmwov9 jiQx55fPv0WOrX3yNn6N22F4O39rfBjj5dA68+rpL/HlHATwiwwmnuFO7 /YjQXVAhdybqBVHu837oG4v4jasONQjOSvSIpCUaGsGfaidlWioPzD1Gd 7j+C2Djoxvo58BJRma+SJGIZHh2N1m5l/uWCSr4kjVZaJkFOGArcliNcj 5/gE2VK0Xyt0W1Pm/heATdlUJknHFLbFir2NUhDe1m8j/rZhmLtN4BeUg WTSQejLKaP6zosWufLvsXzsE7JbxWm9GgxNDIURnKxN+yjHYmQfzrkQ51 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10818"; a="360674141" X-IronPort-AV: E=Sophos;i="6.02,214,1688454000"; d="scan'208";a="360674141" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2023 08:59:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10818"; a="739142679" X-IronPort-AV: E=Sophos;i="6.02,214,1688454000"; d="scan'208";a="739142679" Received: from silpixa00401385.ir.intel.com ([10.237.214.14]) by orsmga002.jf.intel.com with ESMTP; 30 Aug 2023 08:59:28 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Yuying Zhang , Beilei Xing , Jingjing Wu , Bruce Richardson Subject: [PATCH 0/4] Fix i40e/iavf queue reconfig and restarting Date: Wed, 30 Aug 2023 16:59:15 +0100 Message-Id: <20230830155919.592390-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Fixes for a number of issues found when looking at stopping and restarting individual queues, sometimes with a reconfig in the middle. For i40e, it already claims to support runtime reconfig, while for iavf this support is not claimed, but appears to work ok once the bugs in the cleanup code are fixed, therefore the last patch enables it, by setting the appropriate capability flag. Bruce Richardson (4): net/i40e: fix buffer leak on Rx reconfiguration net/iavf: fix buffer leak on Tx queue stop net/iavf: fix restart of Rx queue on reconfigure net/iavf: add support for runtime queue reconfiguration doc/guides/nics/features/iavf.ini | 2 ++ drivers/net/i40e/i40e_rxtx.c | 6 ++++++ drivers/net/i40e/i40e_rxtx_vec_common.h | 1 + drivers/net/iavf/iavf_ethdev.c | 4 +++- drivers/net/iavf/iavf_rxtx.c | 6 ++++++ drivers/net/iavf/iavf_rxtx_vec_avx512.c | 17 ++++++++--------- drivers/net/iavf/iavf_rxtx_vec_common.h | 11 +++++------ 7 files changed, 31 insertions(+), 16 deletions(-) --- 2.39.2