From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796350482; b=S958bPWho6moP4Sl42MNefQ1yR0RpfEJ1sx6ztEr9D/xpCPmJvLJ0Wh1kAjrNYzVbaam 9XMS++8J9UkRIt8rG23xeMCKSuzlRDQ5iLD4rf3zxaX4xWDRCo/oL/mmUNYLzqdHVjLmB 0FczRM6mfjydBGJSZd2FQ5UeFQPyNFv6c1m34K8BdlCTM49hMjOdz1FMyBJIgsOmx6e8Q tVl8q+/Bqc28OTAiC7EUxwNq8BqBh+P1hAKbmmrlA8CIPaIAwRgiAbegYGdWbuUanVGSV U24kfvjuQpA+g7di0K+PHhrEhcNFaeLrFsUdUeSq2Refw8B5nHGxnc/kxPvrqfvLwuA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796350482; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=tcIBWrEnelRY842+8vydR77Ng5zNp8EMJzpPs8fynHs=; b=mqWuWAxc2Fo2A/ClfBy0vxJ3zJBx0L2G/bC0d2PaluWJNY2gXue5oFapp2Vo5wWTJnAd YxdtULB/LpWhFP4tz9sso2uZpIkWHS5PKKBSq1mZNk0R8lvbT81YdSrqcCKOzpAUfqMxR 4EWxM5djxS+7et6GUOK6HsAUbpkOK94E7BMHfC54tssWam3aTjPRIgJdnXwZitkYo9HTk cwJRAHqVHa32Tu/McOqPiLXwcgIwKezw1T7x4hhcwvIwACAJby51qrmfH9GXyQveXIttP mumgu82C42fSaqq8Q+4bSxDYRpYeOwWKbtQKQmxHDSd9o75cBX/tWs1KLG+hgGm1sfw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ZtgCOv1n; arc=none smtp.remote-ip=198.175.65.18 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86BDF606A68D for ; Fri, 4 Dec 2026 02:14:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 86BDF606A68D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ZtgCOv1n DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796350481; x=1827886481; h=date:from:to:cc:subject:message-id; bh=tcIBWrEnelRY842+8vydR77Ng5zNp8EMJzpPs8fynHs=; b=ZtgCOv1nVEJvNHJnjqKlDCJ3e3l/K7zV4PexlY6bMemDyqJsK88jx4ur r8qUu98cLBFrlEvxDG0JWbtOJNVOpFJdoZcEKqlozU6At7Wh8SvwJ/UTn QiKNhEahQjvz5WXo3kwY+vWb6siFb6yTSQizY3b8LymAGT6ma28E/nYA9 556P8fO7j8K00e53qhlDBstF3r/0s3nmh5b4mgKYnBpcHpYlsvYb7tBrQ tGt8pHrivcMWd+FLktBwu7phwpq2VV5vvcQaCUr1VF5aOqEY1lzwy9WRl 5VrNeHUEbHbqCWKK6SfEktofCZmI9hdHNhwrLdIWn9Lxyhd511c1WXDLk A==; X-CSE-ConnectionGUID: Ydk+xjmhTi6bNUBQdMXGlA== X-CSE-MsgGUID: 84VzfuDkRY+kft4pTA73ag== X-IronPort-AV: E=McAfee;i="6800,10657,11985"; a="5344658" X-IronPort-AV: E=Sophos;i="6.29,77,1794902400"; d="scan'208";a="5344658" Received: from fmviesa012.fm.intel.com ([10.60.135.152]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 18:14:38 -0800 X-CSE-ConnectionGUID: T+in/zN+TOuzVQQSK1oV+w== X-CSE-MsgGUID: fAFqHEJKR5WtS04KphhxIA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,77,1794902400"; d="scan'208";a="15610416" Received: from igk-lkp-server01.igk.intel.com (HELO 146cf1e082f1) ([10.211.93.152]) by fmviesa012.fm.intel.com with ESMTP; 03 Dec 2026 18:14:37 -0800 Received: from kbuild by 146cf1e082f1 with local (Exim 4.98.2) (envelope-from ) id 1xZIok-0000000047y-1WhP; Fri, 04 Dec 2026 02:14:34 +0000 Date: Fri, 04 Dec 2026 03:14:23 +0100 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com Subject: drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c:143:18: sparse: sparse: Initializer entry defined twice Message-ID: <20261204031030.DtnSfMat-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: oe-kbuild@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list :::::: :::::: Manual check reason: "sparse: Initializer entry defined twice" :::::: BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev CC: linux-kernel@vger.kernel.org TO: Suman Ghosh CC: Jakub Kicinski CC: Ratheesh Kannoth tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 007722b8211f7b34fdf21b1e6a9c32497633ea29 commit: a2df2f95eac06352f33636c0ba189608a64646ef octeontx2-af: npc: cn20k: Add default profile date: 9 months ago :::::: branch date: 9 hours ago :::::: commit date: 9 months ago config: arm64-randconfig-r2311-20261203 (https://download.01.org/0day-ci/archive/20261204/20261204031030.DtnSfMat-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.5.0 sparse: v0.6.5-rc1-94-g0d159c10 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204031030.DtnSfMat-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Fixes: a2df2f95eac0 ("octeontx2-af: npc: cn20k: Add default profile") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/r/20261204031030.DtnSfMat-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c: note: in included file: drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h:15585:10: sparse: sparse: Initializer entry defined twice drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h:15491:10: sparse: also defined here drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h:15592:17: sparse: sparse: Initializer entry defined twice drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h:15599:17: sparse: also defined here drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h:15696:18: sparse: sparse: Initializer entry defined twice drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h:15715:18: sparse: also defined here drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c: note: in included file: drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.h:69:10: sparse: sparse: Initializer entry defined twice drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.h:89:10: sparse: also defined here >> drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c:143:18: sparse: sparse: Initializer entry defined twice drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c:151:18: sparse: also defined here vim +143 drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c 1396771b0b7741d Ratheesh Kannoth 2026-02-24 27 a2df2f95eac0635 Suman Ghosh 2026-02-24 28 #define KEX_EXTR_CFG(bytesm1, hdr_ofs, ena, key_ofs) \ a2df2f95eac0635 Suman Ghosh 2026-02-24 29 (((bytesm1) << 16) | ((hdr_ofs) << 8) | ((ena) << 7) | \ a2df2f95eac0635 Suman Ghosh 2026-02-24 30 ((key_ofs) & 0x3F)) a2df2f95eac0635 Suman Ghosh 2026-02-24 31 a2df2f95eac0635 Suman Ghosh 2026-02-24 32 static struct npc_mcam_kex_extr npc_mkex_extr_default = { a2df2f95eac0635 Suman Ghosh 2026-02-24 33 .mkex_sign = MKEX_SIGN, a2df2f95eac0635 Suman Ghosh 2026-02-24 34 .name = "default", a2df2f95eac0635 Suman Ghosh 2026-02-24 35 .kpu_version = NPC_KPU_PROFILE_VER, a2df2f95eac0635 Suman Ghosh 2026-02-24 36 .keyx_cfg = { a2df2f95eac0635 Suman Ghosh 2026-02-24 37 /* nibble: LA..LE (ltype only) + Error code + Channel */ a2df2f95eac0635 Suman Ghosh 2026-02-24 38 [NIX_INTF_RX] = ((u64)NPC_MCAM_KEY_DYN << 32) | a2df2f95eac0635 Suman Ghosh 2026-02-24 39 NPC_PARSE_NIBBLE_INTF_RX | a2df2f95eac0635 Suman Ghosh 2026-02-24 40 NPC_PARSE_NIBBLE_ERRCODE, a2df2f95eac0635 Suman Ghosh 2026-02-24 41 a2df2f95eac0635 Suman Ghosh 2026-02-24 42 /* nibble: LA..LE (ltype only) */ a2df2f95eac0635 Suman Ghosh 2026-02-24 43 [NIX_INTF_TX] = ((u64)NPC_MCAM_KEY_X2 << 32) | a2df2f95eac0635 Suman Ghosh 2026-02-24 44 NPC_PARSE_NIBBLE_INTF_TX, a2df2f95eac0635 Suman Ghosh 2026-02-24 45 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 46 .intf_extr_lid = { a2df2f95eac0635 Suman Ghosh 2026-02-24 47 /* Default RX MCAM KEX profile */ a2df2f95eac0635 Suman Ghosh 2026-02-24 48 [NIX_INTF_RX] = { NPC_LID_LA, NPC_LID_LA, NPC_LID_LB, NPC_LID_LB, a2df2f95eac0635 Suman Ghosh 2026-02-24 49 NPC_LID_LC, NPC_LID_LC, NPC_LID_LD }, a2df2f95eac0635 Suman Ghosh 2026-02-24 50 [NIX_INTF_TX] = { NPC_LID_LA, NPC_LID_LA, NPC_LID_LB, NPC_LID_LB, a2df2f95eac0635 Suman Ghosh 2026-02-24 51 NPC_LID_LC, NPC_LID_LD }, a2df2f95eac0635 Suman Ghosh 2026-02-24 52 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 53 .intf_extr_lt = { a2df2f95eac0635 Suman Ghosh 2026-02-24 54 /* Default RX MCAM KEX profile */ a2df2f95eac0635 Suman Ghosh 2026-02-24 55 [NIX_INTF_RX] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 56 [0] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 57 /* Layer A: Ethernet: */ a2df2f95eac0635 Suman Ghosh 2026-02-24 58 [NPC_LT_LA_ETHER] = a2df2f95eac0635 Suman Ghosh 2026-02-24 59 /* DMAC: 6 bytes, KW1[63:15] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 60 KEX_EXTR_CFG(0x05, 0x0, 0x1, a2df2f95eac0635 Suman Ghosh 2026-02-24 61 NPC_KEXOF_DMAC + 1), a2df2f95eac0635 Suman Ghosh 2026-02-24 62 [NPC_LT_LA_CPT_HDR] = a2df2f95eac0635 Suman Ghosh 2026-02-24 63 /* DMAC: 6 bytes, KW1[63:15] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 64 KEX_EXTR_CFG(0x05, 0x0, 0x1, a2df2f95eac0635 Suman Ghosh 2026-02-24 65 NPC_KEXOF_DMAC + 1), a2df2f95eac0635 Suman Ghosh 2026-02-24 66 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 67 [1] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 68 /* Layer A: Ethernet: */ a2df2f95eac0635 Suman Ghosh 2026-02-24 69 [NPC_LT_LA_ETHER] = a2df2f95eac0635 Suman Ghosh 2026-02-24 70 /* Ethertype: 2 bytes, KW0[63:48] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 71 KEX_EXTR_CFG(0x01, 0xc, 0x1, 0x6), a2df2f95eac0635 Suman Ghosh 2026-02-24 72 [NPC_LT_LA_CPT_HDR] = a2df2f95eac0635 Suman Ghosh 2026-02-24 73 /* Ethertype: 2 bytes, KW0[63:48] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 74 KEX_EXTR_CFG(0x01, 0xc, 0x1, 0x6), a2df2f95eac0635 Suman Ghosh 2026-02-24 75 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 76 [2] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 77 /* Layer B: Single VLAN (CTAG) */ a2df2f95eac0635 Suman Ghosh 2026-02-24 78 [NPC_LT_LB_CTAG] = a2df2f95eac0635 Suman Ghosh 2026-02-24 79 /* CTAG VLAN: 2 bytes, KW1[15:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 80 KEX_EXTR_CFG(0x01, 0x2, 0x1, 0x8), a2df2f95eac0635 Suman Ghosh 2026-02-24 81 /* Layer B: Stacked VLAN (STAG|QinQ) */ a2df2f95eac0635 Suman Ghosh 2026-02-24 82 [NPC_LT_LB_STAG_QINQ] = a2df2f95eac0635 Suman Ghosh 2026-02-24 83 /* Outer VLAN: 2 bytes, KW1[15:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 84 KEX_EXTR_CFG(0x01, 0x2, 0x1, 0x8), a2df2f95eac0635 Suman Ghosh 2026-02-24 85 [NPC_LT_LB_FDSA] = a2df2f95eac0635 Suman Ghosh 2026-02-24 86 /* SWITCH PORT: 1 byte, KW1[7:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 87 KEX_EXTR_CFG(0x0, 0x1, 0x1, 0x8), a2df2f95eac0635 Suman Ghosh 2026-02-24 88 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 89 [3] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 90 [NPC_LT_LB_CTAG] = a2df2f95eac0635 Suman Ghosh 2026-02-24 91 /* Ethertype: 2 bytes, KW0[63:48] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 92 KEX_EXTR_CFG(0x01, 0x4, 0x1, 0x6), a2df2f95eac0635 Suman Ghosh 2026-02-24 93 [NPC_LT_LB_STAG_QINQ] = a2df2f95eac0635 Suman Ghosh 2026-02-24 94 /* Ethertype: 2 bytes, KW0[63:48] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 95 KEX_EXTR_CFG(0x01, 0x8, 0x1, 0x6), a2df2f95eac0635 Suman Ghosh 2026-02-24 96 [NPC_LT_LB_FDSA] = a2df2f95eac0635 Suman Ghosh 2026-02-24 97 /* Ethertype: 2 bytes, KW0[63:48] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 98 KEX_EXTR_CFG(0x01, 0x4, 0x1, 0x6), a2df2f95eac0635 Suman Ghosh 2026-02-24 99 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 100 [4] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 101 /* Layer C: IPv4 */ a2df2f95eac0635 Suman Ghosh 2026-02-24 102 [NPC_LT_LC_IP] = a2df2f95eac0635 Suman Ghosh 2026-02-24 103 /* SIP+DIP: 8 bytes, KW3[7:0], KW2[63:8] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 104 KEX_EXTR_CFG(0x07, 0xc, 0x1, 0x11), a2df2f95eac0635 Suman Ghosh 2026-02-24 105 /* Layer C: IPv6 */ a2df2f95eac0635 Suman Ghosh 2026-02-24 106 [NPC_LT_LC_IP6] = a2df2f95eac0635 Suman Ghosh 2026-02-24 107 /* Everything up to SADDR: 8 bytes, KW3[7:0], a2df2f95eac0635 Suman Ghosh 2026-02-24 108 * KW2[63:8] a2df2f95eac0635 Suman Ghosh 2026-02-24 109 */ a2df2f95eac0635 Suman Ghosh 2026-02-24 110 KEX_EXTR_CFG(0x07, 0x0, 0x1, 0x11), a2df2f95eac0635 Suman Ghosh 2026-02-24 111 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 112 [5] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 113 [NPC_LT_LC_IP] = a2df2f95eac0635 Suman Ghosh 2026-02-24 114 /* TOS: 1 byte, KW2[7:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 115 KEX_EXTR_CFG(0x0, 0x1, 0x1, 0x10), a2df2f95eac0635 Suman Ghosh 2026-02-24 116 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 117 [6] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 118 /* Layer D:UDP */ a2df2f95eac0635 Suman Ghosh 2026-02-24 119 [NPC_LT_LD_UDP] = a2df2f95eac0635 Suman Ghosh 2026-02-24 120 /* SPORT+DPORT: 4 bytes, KW3[39:8] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 121 KEX_EXTR_CFG(0x3, 0x0, 0x1, 0x19), a2df2f95eac0635 Suman Ghosh 2026-02-24 122 /* Layer D:TCP */ a2df2f95eac0635 Suman Ghosh 2026-02-24 123 [NPC_LT_LD_TCP] = a2df2f95eac0635 Suman Ghosh 2026-02-24 124 /* SPORT+DPORT: 4 bytes, KW3[39:8] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 125 KEX_EXTR_CFG(0x3, 0x0, 0x1, 0x19), a2df2f95eac0635 Suman Ghosh 2026-02-24 126 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 127 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 128 /* Default TX MCAM KEX profile */ a2df2f95eac0635 Suman Ghosh 2026-02-24 129 [NIX_INTF_TX] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 130 [0] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 131 /* Layer A: NIX_INST_HDR_S + Ethernet */ a2df2f95eac0635 Suman Ghosh 2026-02-24 132 /* NIX appends 8 bytes of NIX_INST_HDR_S at the a2df2f95eac0635 Suman Ghosh 2026-02-24 133 * start of each TX packet supplied to NPC. a2df2f95eac0635 Suman Ghosh 2026-02-24 134 */ a2df2f95eac0635 Suman Ghosh 2026-02-24 135 [NPC_LT_LA_IH_NIX_ETHER] = a2df2f95eac0635 Suman Ghosh 2026-02-24 136 /* PF_FUNC: 2B , KW0 [47:32] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 137 KEX_EXTR_CFG(0x01, 0x0, 0x1, 0x4), a2df2f95eac0635 Suman Ghosh 2026-02-24 138 /* Layer A: HiGig2: */ a2df2f95eac0635 Suman Ghosh 2026-02-24 139 [NPC_LT_LA_IH_NIX_HIGIG2_ETHER] = a2df2f95eac0635 Suman Ghosh 2026-02-24 140 /* PF_FUNC: 2B , KW0 [47:32] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 141 KEX_EXTR_CFG(0x01, 0x0, 0x1, 0x4), a2df2f95eac0635 Suman Ghosh 2026-02-24 142 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 @143 [1] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 144 [NPC_LT_LA_IH_NIX_ETHER] = a2df2f95eac0635 Suman Ghosh 2026-02-24 145 /* SQ_ID 3 bytes, KW1[63:16] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 146 KEX_EXTR_CFG(0x02, 0x02, 0x1, 0xa), a2df2f95eac0635 Suman Ghosh 2026-02-24 147 [NPC_LT_LA_IH_NIX_HIGIG2_ETHER] = a2df2f95eac0635 Suman Ghosh 2026-02-24 148 /* VID: 2 bytes, KW1[31:16] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 149 KEX_EXTR_CFG(0x01, 0x10, 0x1, 0xa), a2df2f95eac0635 Suman Ghosh 2026-02-24 150 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 151 [2] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 152 /* Layer B: Single VLAN (CTAG) */ a2df2f95eac0635 Suman Ghosh 2026-02-24 153 [NPC_LT_LB_CTAG] = a2df2f95eac0635 Suman Ghosh 2026-02-24 154 /* CTAG VLAN[2..3] KW0[63:48] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 155 KEX_EXTR_CFG(0x01, 0x2, 0x1, 0x6), a2df2f95eac0635 Suman Ghosh 2026-02-24 156 /* Layer B: Stacked VLAN (STAG|QinQ) */ a2df2f95eac0635 Suman Ghosh 2026-02-24 157 [NPC_LT_LB_STAG_QINQ] = a2df2f95eac0635 Suman Ghosh 2026-02-24 158 /* Outer VLAN: 2 bytes, KW0[63:48] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 159 KEX_EXTR_CFG(0x01, 0x2, 0x1, 0x6), a2df2f95eac0635 Suman Ghosh 2026-02-24 160 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 161 [3] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 162 [NPC_LT_LB_CTAG] = a2df2f95eac0635 Suman Ghosh 2026-02-24 163 /* CTAG VLAN[2..3] KW1[15:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 164 KEX_EXTR_CFG(0x01, 0x4, 0x1, 0x8), a2df2f95eac0635 Suman Ghosh 2026-02-24 165 [NPC_LT_LB_STAG_QINQ] = a2df2f95eac0635 Suman Ghosh 2026-02-24 166 /* Outer VLAN: 2 Bytes, KW1[15:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 167 KEX_EXTR_CFG(0x01, 0x8, 0x1, 0x8), a2df2f95eac0635 Suman Ghosh 2026-02-24 168 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 169 [4] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 170 /* Layer C: IPv4 */ a2df2f95eac0635 Suman Ghosh 2026-02-24 171 [NPC_LT_LC_IP] = a2df2f95eac0635 Suman Ghosh 2026-02-24 172 /* SIP+DIP: 8 bytes, KW2[63:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 173 KEX_EXTR_CFG(0x07, 0xc, 0x1, 0x10), a2df2f95eac0635 Suman Ghosh 2026-02-24 174 /* Layer C: IPv6 */ a2df2f95eac0635 Suman Ghosh 2026-02-24 175 [NPC_LT_LC_IP6] = a2df2f95eac0635 Suman Ghosh 2026-02-24 176 /* Everything up to SADDR: 8 bytes, KW2[63:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 177 KEX_EXTR_CFG(0x07, 0x0, 0x1, 0x10), a2df2f95eac0635 Suman Ghosh 2026-02-24 178 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 179 [5] = { a2df2f95eac0635 Suman Ghosh 2026-02-24 180 /* Layer D:UDP */ a2df2f95eac0635 Suman Ghosh 2026-02-24 181 [NPC_LT_LD_UDP] = a2df2f95eac0635 Suman Ghosh 2026-02-24 182 /* SPORT+DPORT: 4 bytes, KW3[31:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 183 KEX_EXTR_CFG(0x3, 0x0, 0x1, 0x18), a2df2f95eac0635 Suman Ghosh 2026-02-24 184 /* Layer D:TCP */ a2df2f95eac0635 Suman Ghosh 2026-02-24 185 [NPC_LT_LD_TCP] = a2df2f95eac0635 Suman Ghosh 2026-02-24 186 /* SPORT+DPORT: 4 bytes, KW3[31:0] */ a2df2f95eac0635 Suman Ghosh 2026-02-24 187 KEX_EXTR_CFG(0x3, 0x0, 0x1, 0x18), a2df2f95eac0635 Suman Ghosh 2026-02-24 188 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 189 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 190 }, a2df2f95eac0635 Suman Ghosh 2026-02-24 191 }; a2df2f95eac0635 Suman Ghosh 2026-02-24 192 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki