From: Lorenzo Bianconi <lorenzo@kernel.org>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, lorenzo.bianconi@redhat.com,
vladimir.oltean@nxp.com, claudiu.manoil@nxp.com
Subject: [PATCH net-next 0/3] enetc: unlock XDP_REDIRECT for XDP non-linear buffers
Date: Mon, 2 Jan 2023 16:18:50 +0100 [thread overview]
Message-ID: <cover.1672672314.git.lorenzo@kernel.org> (raw)
Unlock XDP_REDIRECT for S/G XDP buffer and rely on XDP stack to properly
take care of the frames.
Rely on XDP_FLAGS_HAS_FRAGS flag to check if it really necessary to access
non-linear part of the xdp_buff/xdp_frame.
Lorenzo Bianconi (3):
net: ethernet: enetc: unlock XDP_REDIRECT for XDP non-linear buffers
net: ethernet: enetc: get rid of xdp_redirect_sg counter
net: ethernet: enetc: do not always access skb_shared_info in the XDP
path
drivers/net/ethernet/freescale/enetc/enetc.c | 38 +++++++++----------
drivers/net/ethernet/freescale/enetc/enetc.h | 1 -
.../ethernet/freescale/enetc/enetc_ethtool.c | 2 -
3 files changed, 18 insertions(+), 23 deletions(-)
--
2.39.0
next reply other threads:[~2023-01-02 15:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-02 15:18 Lorenzo Bianconi [this message]
2023-01-02 15:18 ` [PATCH net-next 1/3] net: ethernet: enetc: unlock XDP_REDIRECT for XDP non-linear buffers Lorenzo Bianconi
2023-01-02 15:18 ` [PATCH net-next 2/3] net: ethernet: enetc: get rid of xdp_redirect_sg counter Lorenzo Bianconi
2023-01-02 15:18 ` [PATCH net-next 3/3] net: ethernet: enetc: do not always access skb_shared_info in the XDP path 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.1672672314.git.lorenzo@kernel.org \
--to=lorenzo@kernel.org \
--cc=claudiu.manoil@nxp.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=vladimir.oltean@nxp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.