Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1939691lqb; Mon, 27 May 2024 02:34:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUG01TQab+16qSp2bW6iPWPOq0csI0UwA+KjzLUE8w080lOBr//eFf8g44SO2/gkb8oUQL9t5lP9LUaqF94GmDhwNd6BooL3XdkCkfKGA== X-Google-Smtp-Source: AGHT+IET92zAC+dyjzzdQ0R69k+x120jBrKxsCb5jqBWLiaXItU/9R8L+cCueN9DjJVvtcBIfzuV X-Received: by 2002:a05:622a:120c:b0:43a:bcd9:1425 with SMTP id d75a77b69052e-43fb0f122c7mr99072561cf.49.1716802460316; Mon, 27 May 2024 02:34:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716802460; cv=pass; d=google.com; s=arc-20160816; b=jRFUIGjATuj2r84W6YwBOidGKPFuZgCz6vTCfnl2x7jLfOM+kpnfo3HXPV3MDgWA2J 5zsemDmeTYEf4hM56bmg3HXJcgAlkwdOiLJ8Srnu+/7+hNPyeQMMA6pUJu9VIsYD13DR nkWdtS1hUaDVN5eE3WKk/hPTN5HlFJQjeu7dXCnGBXId+HNA7mycbisWFSKgeDPbusw+ GVVAi50GtX1sMOGnTlrGVcq3MRFdUEM6spmkbHKoyv7tY+ETSMl1rfN9IeAC6F2oipOO q6YwojkEezP5K5VjYNgzJXLVGIH54WQO1/fqb500/GPjsKucA1UnRpEfVwZX67EEvbqO P+lQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=5WpKpoINEZEkO7uQvzL09GNcf+MDq+WVUY/LS8MJG5w=; fh=htiLvnies43CENFcSNP34IayAX2yvhkGPaARMXW+o9A=; b=bpFwV1NDqyFYxrYXwjnjinPk30MeTp4BurAcOJvd/Pd/c7M3D/G8OEizoCbEQiffOA yf2p6VqWo/EeFMuekzaf2awEy6bSxqNq/7RPlVMNFR2Hvgmw/XgZebqPO8U8p4dJMcDp mRVDNcsqpyjotOSSFaJEVeepY08jEdQzTdMZbKogTlwO7vVJQtjzYENR1iCfYb2f0b1y /+fERSwphBdWEZKcPuRfoeuBF1o45tNQ4Gl87+BosAvMeVDOps7/8LhFuW2s0zh6M2MW LmdSdyCVq+tdTAJ7egJKa+M2jbX/57rt9ToFsQ/ubk+fJSnMyYa56ntvT/NaYNp0n9iZ HXFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eaJPtXQR; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-190332-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190332-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18a68e5si76582071cf.324.2024.05.27.02.34.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 02:34:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190332-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eaJPtXQR; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-190332-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190332-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0DB751C21A23 for ; Mon, 27 May 2024 09:34:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F32BB13A41E; Mon, 27 May 2024 09:34:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="eaJPtXQR" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D067755769; Mon, 27 May 2024 09:34:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716802450; cv=none; b=svNlasoze3xTVIWWS/ibeCd0005I5kx4hfkSIVdjemR3e3JynOMi1GmZaV3UVTY+dILkteYnUHkTXvsd04qnXhbSpY6edo+NhUJYBhKefxewncCl29vvUgXSkkNwG4Xa634FRfBzztwfDe986LzrzR2/cuOHVd2T/TifCnUOKcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716802450; c=relaxed/simple; bh=wAljxYnR6kHVj4d404qDnwEVTRLVT6TjGBJ45tg0riI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Vw6Ij7CGwAR6xGcDovKtNrmW7VMUqjcoXFDFd0Mctc3lakpshtOGFZiiWiPwQ3lqC9+0wqRfl+ELQG2oI7d/007ZHWAr2dY4dpDpke4jOBykpPqVKFS98ITdXZCDY2q4bZVAUC8L2fkionH7MzASEcyRF8idZiynWREzRyx2jJ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=none smtp.mailfrom=ecsmtp.png.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=eaJPtXQR; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ecsmtp.png.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716802449; x=1748338449; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wAljxYnR6kHVj4d404qDnwEVTRLVT6TjGBJ45tg0riI=; b=eaJPtXQRoHG1IIEa5loMlL6he5iZQnwsjO0mND67SHQBXzBCIek79vYI ytnVjTmjQLBnggbOesZDlg5v1g9fZilYiCZ5JPohZ4bVgVQ+xV6JTZkUK 7bgx0E0OvM3f7bxpo1mNiliF4plNj2qccYcvnZTyIEHUTFP31j+9Xw4vN DDphJuAnTAiJB+18JRMz6+ytlvTnxo3eMRS/vdJYcAkxzXnOpFprN2aMj 2EVweVZ2laAkI6ZppQ/x6CrJfn6uVhgHV/1uymSMclTqjiPq8ja1HGo50 BBVxY9H6YQ8VLCPceIG2yAb7UoUiU4dK/ysCc2k6j7cLrXqqbc0jeYuzT w==; X-CSE-ConnectionGUID: 0DEBnu5BSj2O4OppMAy9Kg== X-CSE-MsgGUID: vrBhK1NURQifnotAJBj/uQ== X-IronPort-AV: E=McAfee;i="6600,9927,11084"; a="12933278" X-IronPort-AV: E=Sophos;i="6.08,192,1712646000"; d="scan'208";a="12933278" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2024 02:34:08 -0700 X-CSE-ConnectionGUID: sjeSJxlQT0a4GZ9DIF7Y6w== X-CSE-MsgGUID: 6aV1CZTWTHuJfqky91LCpA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,192,1712646000"; d="scan'208";a="35193439" Received: from pglmail07.png.intel.com ([10.126.73.9]) by orviesa006.jf.intel.com with ESMTP; 27 May 2024 02:34:04 -0700 Received: from pglc00465.png.intel.com (pglc00465.png.intel.com [10.221.239.148]) by pglmail07.png.intel.com (Postfix) with ESMTP id 3231716423; Mon, 27 May 2024 17:34:03 +0800 (+08) Received: by pglc00465.png.intel.com (Postfix, from userid 11742525) id 2D37560568E; Mon, 27 May 2024 17:34:03 +0800 (+08) From: Boon Khai Ng To: Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tien Sung Ang , G Thomas Rohan , Looi Hong Aun , Andy Shevchenko , Ilpo Jarvinen Cc: Boon Khai Ng Subject: [Enable Designware XGMAC VLAN Stripping Feature v2 0/1] Date: Mon, 27 May 2024 17:33:38 +0800 Message-Id: <20240527093339.30883-1-boon.khai.ng@intel.com> X-Mailer: git-send-email 2.35.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, The Designware 10G MAC(dwxgmac) driver has lack of vlan support in term of hardware, such as the hardware accelerated VLAN stripping. The driver was not draft from scratch, however it was ported from the Ethernet Quality-of-Service (dwmac4) driver, it was tested working on ourside. Refer to: https://github.com/torvalds/linux/commit/750011e239a50873251c16207b0fe78eabf8577e Boon Khai Ng (1): net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN Stripping .../net/ethernet/stmicro/stmmac/dwxgmac2.h | 28 +++++++++++++++ .../ethernet/stmicro/stmmac/dwxgmac2_core.c | 34 +++++++++++++++++++ .../ethernet/stmicro/stmmac/dwxgmac2_descs.c | 18 ++++++++++ 3 files changed, 80 insertions(+) -- 2.35.3