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 942DFA0508; Wed, 13 Apr 2022 10:13:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE1C64283D; Wed, 13 Apr 2022 10:11:48 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id CBE2F4284F for ; Wed, 13 Apr 2022 10:11:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649837507; x=1681373507; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LSCqbl5aDHh6+V4X5Ndg3y1FuFAJ2piQ49GMd3ps9qQ=; b=HN3/qFC++bB+5xqJisVsVMa49Msw18GYd93uhH4lxZtYxvbDbhrrmRyZ C0GR4J5hJ1NqqBYVxehSRLTvH9kNXbXSjejBqRaGR/YVusxXWuHaM9/Im xywvP53LP0DBhhcVGQ/mS0AXMZRP7D2F5ivwpPKPshy3bFe6eGrOvYPD7 Bkw4uEutccYF3AEY4mjNG8JHLNoBPMmAuAWbgWzY/5V51ahpm5Rk30jET dkEEo4+vW4jsUj+gMp/81RLE0VYlWx5bOkIwgvHVq2NydmzcVuIMQI5GW Pg4oq90rKFGP2869UaHgIDiG6qDy3zyZ5lp0qEEB4hUEwJJKLA/agRDDd g==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="287630097" X-IronPort-AV: E=Sophos;i="5.90,256,1643702400"; d="scan'208";a="287630097" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 01:11:46 -0700 X-IronPort-AV: E=Sophos;i="5.90,256,1643702400"; d="scan'208";a="526847850" Received: from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 01:11:44 -0700 From: Kevin Liu To: dev@dpdk.org Cc: qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com, Junfeng Guo , Kevin Liu Subject: [PATCH v2 24/33] net/ice/base: update Protocol ID table to match DVM DDP Date: Wed, 13 Apr 2022 16:09:23 +0000 Message-Id: <20220413160932.2074781-25-kevinx.liu@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220413160932.2074781-1-kevinx.liu@intel.com> References: <20220407105706.18889-1-kevinx.liu@intel.com> <20220413160932.2074781-1-kevinx.liu@intel.com> 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 From: Junfeng Guo The ice kernel driver and DDP is working in Double VLAN Mode (DVM), but the DVM is not supported on this PMD. Thus update the SW to HW Protocol ID table for VLAN to support common switch filtering with single VLAN layer. Signed-off-by: Junfeng Guo Signed-off-by: Kevin Liu --- drivers/net/ice/base/ice_switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c index 1b51cd4321..64302b1617 100644 --- a/drivers/net/ice/base/ice_switch.c +++ b/drivers/net/ice/base/ice_switch.c @@ -7098,7 +7098,7 @@ static struct ice_protocol_entry ice_prot_id_tbl[ICE_PROTOCOL_LAST] = { { ICE_MAC_OFOS, ICE_MAC_OFOS_HW }, { ICE_MAC_IL, ICE_MAC_IL_HW }, { ICE_ETYPE_OL, ICE_ETYPE_OL_HW }, - { ICE_VLAN_OFOS, ICE_VLAN_OL_HW }, + { ICE_VLAN_OFOS, ICE_VLAN_OF_HW }, { ICE_IPV4_OFOS, ICE_IPV4_OFOS_HW }, { ICE_IPV4_IL, ICE_IPV4_IL_HW }, { ICE_IPV6_OFOS, ICE_IPV6_OFOS_HW }, -- 2.33.1