mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Boon@ecsmtp.png.intel.com, Khai@ecsmtp.png.intel.com, "Ng <boon.khai.ng"@intel.com
To: Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Jose Abreu <joabreu@synopsys.com>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Cc: Boon Khai Ng <boon.khai.ng@intel.com>,
	Shevchenko Andriy <andriy.shevchenko@intel.com>,
	Mun Yew Tham <mun.yew.tham@intel.com>,
	Leong Ching Swee <leong.ching.swee@intel.com>,
	G Thomas Rohan <rohan.g.thomas@intel.com>,
	Shevchenko Andriy <andriy.shevchenko@linux.intel.com>
Subject: [Enable Designware XGMAC VLAN Stripping Feature 0/2]
Date: Fri, 21 Jul 2023 14:26:15 +0800	[thread overview]
Message-ID: <20230721062617.9810-1-boon.khai.ng@intel.com> (raw)

From: Boon Khai Ng <boon.khai.ng@intel.com>

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.

Reviewed-by: Shevchenko Andriy <andriy.shevchenko@linux.intel.com>

Boon Khai Ng (2):
  dt-bindings: net: snps,dwmac: Add description for rx-vlan-offload
  net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN Stripping

 .../devicetree/bindings/net/snps,dwmac.yaml   |  5 +++
 .../net/ethernet/stmicro/stmmac/dwxgmac2.h    | 28 ++++++++++++++
 .../ethernet/stmicro/stmmac/dwxgmac2_core.c   | 38 +++++++++++++++++++
 .../ethernet/stmicro/stmmac/dwxgmac2_descs.c  | 18 +++++++++
 drivers/net/ethernet/stmicro/stmmac/hwif.h    | 16 ++++++++
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 29 +++++++++++---
 .../ethernet/stmicro/stmmac/stmmac_platform.c |  6 +++
 include/linux/stmmac.h                        |  1 +
 8 files changed, 136 insertions(+), 5 deletions(-)

-- 
2.25.1


             reply	other threads:[~2023-07-21  6:27 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-21  6:26 Boon, Khai, Ng <boon.khai.ng [this message]
2023-07-21  6:26 ` [Enable Designware XGMAC VLAN Stripping Feature 1/2] dt-bindings: net: snps,dwmac: Add description for rx-vlan-offload Boon, Khai, Ng <boon.khai.ng
2023-07-21 10:10   ` Krzysztof Kozlowski
2023-07-21 15:28     ` Ng, Boon Khai
2023-07-21 16:21       ` Krzysztof Kozlowski
2023-07-21 16:33         ` Ng, Boon Khai
2023-07-22  1:55         ` Jakub Kicinski
2023-07-22  3:32           ` Joe Perches
2023-07-25  1:04             ` Jakub Kicinski
2023-07-25  3:53               ` Joe Perches
2023-07-25  7:33                 ` Geert Uytterhoeven
2023-07-25 13:19                   ` Mario Limonciello
2023-07-25 13:43                     ` Joe Perches
2023-07-25 14:37                       ` Krzysztof Kozlowski
2023-07-21 16:26       ` Krzysztof Kozlowski
2023-07-21 16:39         ` Ng, Boon Khai
2023-07-21 10:17   ` Shevchenko Andriy
2023-07-21 15:35     ` Ng, Boon Khai
2023-07-21 15:48       ` Shevchenko, Andriy
2023-07-21 15:51         ` Ng, Boon Khai
2023-07-21  6:26 ` [Enable Designware XGMAC VLAN Stripping Feature 2/2] net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN Stripping Boon, Khai, Ng <boon.khai.ng
2023-07-21 10:11   ` Krzysztof Kozlowski
2023-07-21 15:30     ` Ng, Boon Khai
2023-07-21 15:59       ` Florian Fainelli
2023-07-21 16:12         ` Ng, Boon Khai
2023-07-21 16:29           ` Florian Fainelli
2023-07-21 16:45             ` Ng, Boon Khai
2023-07-21 16:22         ` Krzysztof Kozlowski
2023-07-21 16:22       ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230721062617.9810-1-boon.khai.ng@intel.com \
    --to=boon@ecsmtp.png.intel.com \
    --cc="Ng <boon.khai.ng"@intel.com \
    --cc=Khai@ecsmtp.png.intel.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=boon.khai.ng@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=joabreu@synopsys.com \
    --cc=kuba@kernel.org \
    --cc=leong.ching.swee@intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=mun.yew.tham@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=peppe.cavallaro@st.com \
    --cc=rohan.g.thomas@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®