public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Aditya Garg <gargaditya@linux•microsoft.com>
To: kys@microsoft•com, haiyangz@microsoft•com, wei.liu@kernel•org,
	decui@microsoft•com, andrew+netdev@lunn•ch, davem@davemloft•net,
	edumazet@google•com, kuba@kernel•org, pabeni@redhat•com,
	longli@microsoft•com, kotaranov@microsoft•com, horms@kernel•org,
	shradhagupta@linux•microsoft.com, ssengar@linux•microsoft.com,
	ernis@linux•microsoft.com, dipayanroy@linux•microsoft.com,
	shirazsaleem@microsoft•com, leon@kernel•org, mlevitsk@redhat•com,
	yury.norov@gmail•com, linux-hyperv@vger•kernel.org,
	netdev@vger•kernel.org, linux-kernel@vger•kernel.org,
	linux-rdma@vger•kernel.org, gargaditya@microsoft•com
Cc: Aditya Garg <gargaditya@linux•microsoft.com>
Subject: [PATCH net-next v3 0/2] net: mana: Enforce TX SGE limit and fix error cleanup
Date: Tue, 11 Nov 2025 00:12:59 -0800	[thread overview]
Message-ID: <1762848781-357-1-git-send-email-gargaditya@linux.microsoft.com> (raw)

Add pre-transmission checks to block SKBs that exceed the hardware's SGE 
limit. Force software segmentation for GSO traffic and linearize non-GSO 
packets as needed.

Update TX error handling to drop failed SKBs and unmap resources 
immediately.

Aditya Garg (2):
  net: mana: Handle SKB if TX SGEs exceed hardware limit
  net: mana: Drop TX skb on post failure and unmap resources

 .../net/ethernet/microsoft/mana/gdma_main.c   |  1 -
 drivers/net/ethernet/microsoft/mana/mana_en.c | 44 ++++++++++++++++---
 .../ethernet/microsoft/mana/mana_ethtool.c    |  2 +
 include/net/mana/gdma.h                       |  6 ++-
 include/net/mana/mana.h                       |  2 +
 5 files changed, 47 insertions(+), 8 deletions(-)

-- 
2.43.0


             reply	other threads:[~2025-11-11  8:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-11  8:12 Aditya Garg [this message]
2025-11-11  8:13 ` [PATCH net-next v3 1/2] net: mana: Handle SKB if TX SGEs exceed hardware limit Aditya Garg
2025-11-11  8:13 ` [PATCH net-next v3 2/2] net: mana: Drop TX skb on post_work_request failure and unmap resources Aditya Garg
2025-11-12  1:08   ` Jakub Kicinski
2025-11-12 12:12     ` Aditya Garg
2025-11-12  2:04   ` kernel test robot

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=1762848781-357-1-git-send-email-gargaditya@linux.microsoft.com \
    --to=gargaditya@linux$(echo .)microsoft.com \
    --cc=andrew+netdev@lunn$(echo .)ch \
    --cc=davem@davemloft$(echo .)net \
    --cc=decui@microsoft$(echo .)com \
    --cc=dipayanroy@linux$(echo .)microsoft.com \
    --cc=edumazet@google$(echo .)com \
    --cc=ernis@linux$(echo .)microsoft.com \
    --cc=gargaditya@microsoft$(echo .)com \
    --cc=haiyangz@microsoft$(echo .)com \
    --cc=horms@kernel$(echo .)org \
    --cc=kotaranov@microsoft$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=kys@microsoft$(echo .)com \
    --cc=leon@kernel$(echo .)org \
    --cc=linux-hyperv@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-rdma@vger$(echo .)kernel.org \
    --cc=longli@microsoft$(echo .)com \
    --cc=mlevitsk@redhat$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=shirazsaleem@microsoft$(echo .)com \
    --cc=shradhagupta@linux$(echo .)microsoft.com \
    --cc=ssengar@linux$(echo .)microsoft.com \
    --cc=wei.liu@kernel$(echo .)org \
    --cc=yury.norov@gmail$(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