From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7E6FF45CA6; Fri, 8 Nov 2024 12:09:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02115402ED; Fri, 8 Nov 2024 12:09:31 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mails.dpdk.org (Postfix) with ESMTP id 14BBE402DF; Fri, 8 Nov 2024 12:09:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1731064170; x=1762600170; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=0T6tqJGxyur19I+mA9EyT6W5tm0LRzsZapYEi/hLASU=; b=G28NerkGer4HxiR7dcIV46d63uQTPbyGClmgfTGxiGzu9DGu9Bro8wvM ZblAOCIJxQsMz+ROrnfBRbfGZsjqupNb1+ojeEpSdkMfIx090YyEHVO0X tTAldf8PgLOi0ZLxqWnqDzm2NwJEDBRU5PcO9vRjlhDRu4NAkyEP8bALb gkhIors8e7SECTFpwe6pqlom/SQDWy3jV1qiG7NrOJLBNh2EnJMtLedMK YTTsR87gHIlv6zFBnpD+IfMqn44+r68AUJgNlBSInTiNzdjSxYkP+pNOL DzBcvlnuIlT76bkiA94iDxaTF/sxMAJw42tb3SUtr/igtvn17IVS5//l9 Q==; X-CSE-ConnectionGUID: b/UIVNqGQZOD+RxEIivRKg== X-CSE-MsgGUID: 1/TzNEDmS/KYS54zExToMw== X-IronPort-AV: E=McAfee;i="6700,10204,11249"; a="34881617" X-IronPort-AV: E=Sophos;i="6.12,137,1728975600"; d="scan'208";a="34881617" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2024 03:09:28 -0800 X-CSE-ConnectionGUID: 6th0PFMbTtSiAKT6NDbzvg== X-CSE-MsgGUID: W/DWfKXSRBalGNa689yPRA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,137,1728975600"; d="scan'208";a="85133133" Received: from silpixa00401164.ir.intel.com ([10.55.129.66]) by fmviesa007.fm.intel.com with ESMTP; 08 Nov 2024 03:09:27 -0800 From: Praveen Shetty To: bruce.richardson@intel.com Cc: dev@dpdk.org, stable@dpdk.org Subject: [PATCH v1] net/cpfl: fix IO port forwarding issue Date: Fri, 8 Nov 2024 11:09:23 +0000 Message-Id: <20241108110923.80404-1-praveen.shetty@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Issue was reported in dpdk internal regression testing that forwarding the packets from IDPF VF to IO ports using the cpfl represented_port action was not working. This patch will fix this issue. Fixes: 861261957684 ("net/cpfl: add checks for flow action types") Cc: stable@dpdk.org Signed-off-by: Praveen Shetty --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/cpfl/cpfl_flow_engine_fxp.c b/drivers/net/cpfl/cpfl_flow_engine_fxp.c index 2c75ea6577..0eb7cdf1a3 100644 --- a/drivers/net/cpfl/cpfl_flow_engine_fxp.c +++ b/drivers/net/cpfl/cpfl_flow_engine_fxp.c @@ -298,11 +298,6 @@ cpfl_fxp_parse_action(struct cpfl_itf *itf, PMD_DRV_LOG(ERR, "Cannot use port_representor action for the represented_port"); goto err; } - if (action_type == RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT && - dst_itf->type == CPFL_ITF_TYPE_VPORT) { - PMD_DRV_LOG(ERR, "Cannot use represented_port action for the local vport"); - goto err; - } if (is_vsi) dev_id = cpfl_get_vsi_id(dst_itf); else -- 2.34.1