mbox series

[net,0/3] Add native mode XDP support

Message ID 20250122124951.3072410-1-m-malladi@ti.com (mailing list archive)
Headers show
Series Add native mode XDP support | expand

Message

Meghana Malladi Jan. 22, 2025, 12:49 p.m. UTC
This series adds native XDP support using page_pool.
XDP zero copy support is not included in this patch series.

Patch 1/3: Replaces skb with page pool for Rx buffer allocation
Patch 2/3: Adds prueth_swdata struct for SWDATA for all swdata cases
Patch 3/3: Introduces native mode XDP support

Roger Quadros (3):
  net: ti: icssg-prueth: Use page_pool API for RX buffer allocation
  net: ti: icssg-prueth: introduce and use prueth_swdata struct for
    SWDATA
  net: ti: icssg-prueth: Add AF_XDP support

 drivers/net/ethernet/ti/Kconfig               |   1 +
 drivers/net/ethernet/ti/icssg/icssg_common.c  | 435 ++++++++++++++----
 drivers/net/ethernet/ti/icssg/icssg_config.h  |   2 +-
 drivers/net/ethernet/ti/icssg/icssg_prueth.c  | 124 ++++-
 drivers/net/ethernet/ti/icssg/icssg_prueth.h  |  51 +-
 .../net/ethernet/ti/icssg/icssg_prueth_sr1.c  |  23 +-
 6 files changed, 543 insertions(+), 93 deletions(-)


base-commit: 49afc040f4d707a4149a05180edc42bc590641a4

Comments

Simon Horman Jan. 22, 2025, 1:13 p.m. UTC | #1
On Wed, Jan 22, 2025 at 06:19:48PM +0530, Meghana Malladi wrote:
> This series adds native XDP support using page_pool.
> XDP zero copy support is not included in this patch series.
> 
> Patch 1/3: Replaces skb with page pool for Rx buffer allocation
> Patch 2/3: Adds prueth_swdata struct for SWDATA for all swdata cases
> Patch 3/3: Introduces native mode XDP support

Hi Meghana,

Unless I am mistaken this patchset should be targeted at net-next,
as a new feature, rather than net, as bug fixes.

With that in mind:

## Form letter - net-next-closed

The merge window for v6.14 has begun. Therefore net-next is closed
for new drivers, features, code refactoring and optimizations.
We are currently accepting bug fixes only.

Please repost when net-next reopens after Feb 3rd.

RFC patches sent for review only are obviously welcome at any time.

See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle

--
pw-bot: deferred
Meghana Malladi Jan. 23, 2025, 11:50 a.m. UTC | #2
On 22/01/25 18:43, Simon Horman wrote:
> On Wed, Jan 22, 2025 at 06:19:48PM +0530, Meghana Malladi wrote:
>> This series adds native XDP support using page_pool.
>> XDP zero copy support is not included in this patch series.
>>
>> Patch 1/3: Replaces skb with page pool for Rx buffer allocation
>> Patch 2/3: Adds prueth_swdata struct for SWDATA for all swdata cases
>> Patch 3/3: Introduces native mode XDP support
> 
> Hi Meghana,
> 
> Unless I am mistaken this patchset should be targeted at net-next,
> as a new feature, rather than net, as bug fixes.
> 

Yes Indeed. Thanks for pointing this to me. I will be more vigilant next 
time I am posting to avoid such mistakes. :)

> With that in mind:
> 
> ## Form letter - net-next-closed
> 
> The merge window for v6.14 has begun. Therefore net-next is closed
> for new drivers, features, code refactoring and optimizations.
> We are currently accepting bug fixes only.
> 
> Please repost when net-next reopens after Feb 3rd.
> 

My bad for not checking this before posting. I will re-post it after Feb 
3rd. Thanks a lot.

> RFC patches sent for review only are obviously welcome at any time.
> 
> See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
> 
> --
> pw-bot: deferred