From patchwork Thu Aug 31 12:33:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 102 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 2192341FDD; Thu, 31 Aug 2023 14:33:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19EBF4028A; Thu, 31 Aug 2023 14:33:50 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id CD7D54027B for ; Thu, 31 Aug 2023 14:33:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693485228; x=1725021228; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qhnChlk/0AlHPSjrKJPF80CkD1aOltrriy7O1aOh1xo=; b=jozjw9FXHFOz/yT1VaauW04pD/OSlN83p+TITjK7J5geZJtxPnTL5RNr ROr8C52rA5qJWwT3vu9rSAFBKvYQv5UBAau6xYu/5FQRfDE1aMO+MM99L vsnI9c6nuxYMcaDY6SIReJdFnX9B9v+bFV51KlUFNR5MXTcLloq/o+pem PBOYnyJ4DzL1Od0a1oXIFLjd5GT+Oh2gURJPaEZAOc7EFvlVjRO3d7fSB WshCR05+0BFLwc8Y2RYoouJgT+aZiZr2g8NNmCcZ/vKtudQ7WemZVZKbs izRhql87g2iKCbyDXMydw+nRYLXjUNQPpwyNLGONpIFNXhWVuMfLBF50h Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10818"; a="439873954" X-IronPort-AV: E=Sophos;i="6.02,216,1688454000"; d="scan'208";a="439873954" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2023 05:33:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10818"; a="913230866" X-IronPort-AV: E=Sophos;i="6.02,216,1688454000"; d="scan'208";a="913230866" Received: from silpixa00401385.ir.intel.com ([10.237.214.14]) by orsmga005.jf.intel.com with ESMTP; 31 Aug 2023 05:33:45 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH v2 0/4] Fix i40e/iavf queue reconfig and restarting Date: Thu, 31 Aug 2023 13:33:33 +0100 Message-Id: <20230831123337.871496-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230830155919.592390-1-bruce.richardson@intel.com> References: <20230830155919.592390-1-bruce.richardson@intel.com> 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. --- V2: Fix build issues with non-x86, non-arm architectures reported by the CI. 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 | 7 +++++++ drivers/net/iavf/iavf_rxtx_vec_avx512.c | 17 ++++++++--------- drivers/net/iavf/iavf_rxtx_vec_common.h | 11 +++++------ 7 files changed, 32 insertions(+), 16 deletions(-) -- 2.39.2