public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel•org>
To: netdev@vger•kernel.org
Cc: nbd@nbd•name, john@phrozen•org, sean.wang@mediatek•com,
	Mark-MC.Lee@mediatek•com, davem@davemloft•net,
	edumazet@google•com, kuba@kernel•org, pabeni@redhat•com,
	matthias.bgg@gmail•com, linux-mediatek@lists•infradead.org,
	ilias.apalodimas@linaro•org, lorenzo.bianconi@redhat•com,
	jbrouer@redhat•com
Subject: [PATCH net-next 0/4] mtk_eth_soc: add xdp support
Date: Sat,  9 Jul 2022 17:48:28 +0200	[thread overview]
Message-ID: <cover.1657381056.git.lorenzo@kernel.org> (raw)

Introduce XDP support for mtk_eth_soc driver if rx hwlro is not
enabled in the chipset (e.g. mt7986).
Supported XDP verdicts:
- XDP_PASS
- XDP_DROP
- XDP_REDIRECT
- XDP_TX
- ndo_xdp_xmit
Rely on page_pool allocator for single page buffers in order to keep
them dma mapped and add skb recycling support.

Lorenzo Bianconi (4):
  net: ethernet: mtk_eth_soc: rely on page_pool for single page buffers
  net: ethernet: mtk_eth_soc: add basic XDP support
  net: ethernet: mtk_eth_soc: introduce xdp ethtool counters
  net: ethernet: mtk_eth_soc: add xmit XDP support

 drivers/net/ethernet/mediatek/Kconfig       |   1 +
 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 546 +++++++++++++++++---
 drivers/net/ethernet/mediatek/mtk_eth_soc.h |  34 +-
 3 files changed, 513 insertions(+), 68 deletions(-)

-- 
2.36.1


             reply	other threads:[~2022-07-09 15:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-09 15:48 Lorenzo Bianconi [this message]
2022-07-09 15:48 ` [PATCH net-next 1/4] net: ethernet: mtk_eth_soc: rely on page_pool for single page buffers Lorenzo Bianconi
2022-07-09 15:48 ` [PATCH net-next 2/4] net: ethernet: mtk_eth_soc: add basic XDP support Lorenzo Bianconi
2022-07-12 10:12   ` Paolo Abeni
2022-07-12 16:15     ` Lorenzo Bianconi
2022-07-09 15:48 ` [PATCH net-next 3/4] net: ethernet: mtk_eth_soc: introduce xdp ethtool counters Lorenzo Bianconi
2022-07-12 10:08   ` Paolo Abeni
2022-07-12 16:17     ` Lorenzo Bianconi
2022-07-09 15:48 ` [PATCH net-next 4/4] net: ethernet: mtk_eth_soc: add xmit XDP support Lorenzo Bianconi

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=cover.1657381056.git.lorenzo@kernel.org \
    --to=lorenzo@kernel$(echo .)org \
    --cc=Mark-MC.Lee@mediatek$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=edumazet@google$(echo .)com \
    --cc=ilias.apalodimas@linaro$(echo .)org \
    --cc=jbrouer@redhat$(echo .)com \
    --cc=john@phrozen$(echo .)org \
    --cc=kuba@kernel$(echo .)org \
    --cc=linux-mediatek@lists$(echo .)infradead.org \
    --cc=lorenzo.bianconi@redhat$(echo .)com \
    --cc=matthias.bgg@gmail$(echo .)com \
    --cc=nbd@nbd$(echo .)name \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=sean.wang@mediatek$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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