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 D938BA0508; Thu, 7 Apr 2022 05:01:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B07DB42891; Thu, 7 Apr 2022 04:59:42 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 87D49428C9 for ; Thu, 7 Apr 2022 04:59:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649300380; x=1680836380; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tn+5wexFFPbrMJ4/eThdhmZjOpgBI/fvH7LCZZ2PTfg=; b=a1E3BwIcSq2dUrka6P6S+seb0qka9WEmr9xHeU4nXQEEtL05t3rj/CQV LBvkmfpixW4XUk4dnTgebH3VbxovNDnSI4jknDC3jyklgR2/cTH8rfuEj aspPjuVSgZqvXTOi2LlAuxzfTO6jSovB/okKoSn+8G7rUnYiWl2Z+RQDN hKL4CHLZIBixECnuBkcgEz9ZoBZUyhKi9m6KnScIvkPpPPfi/sjpCOYnn k+OQ5SEcyIVbWys42+yWpUgQbjnXmC8prl+ue3Ea3cl4PnPprIbKYdmMo zErqs4rBUwjAGYYG3w+HUX7N1HF01CQiNOqRFpDRDujtII8OR+n7Hi40U g==; X-IronPort-AV: E=McAfee;i="6200,9189,10309"; a="248738475" X-IronPort-AV: E=Sophos;i="5.90,241,1643702400"; d="scan'208";a="248738475" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2022 19:59:40 -0700 X-IronPort-AV: E=Sophos;i="5.90,241,1643702400"; d="scan'208";a="570850783" Received: from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2022 19:59:37 -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 30/39] net/ice/base: update Protocol ID table to match DVM DDP Date: Thu, 7 Apr 2022 10:56:57 +0000 Message-Id: <20220407105706.18889-31-kevinx.liu@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220407105706.18889-1-kevinx.liu@intel.com> References: <20220407105706.18889-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 b367efaf02..3bb9e28898 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