diff options
author | Suraj Gupta <suraj.gupta2@amd.com> | 2025-05-21 23:46:08 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-05-27 08:18:51 +0200 |
commit | 32374234ab0101881e7d0c6a8ef7ebce566c46c9 (patch) | |
tree | 81a91510345ddee26f1d1172daf93ad7ddf60146 /scripts/lib/kdoc/kdoc_output.py | |
parent | f0b50730bdd8f2734e548de541e845c0d40dceb6 (diff) |
net: xilinx: axienet: Fix Tx skb circular buffer occupancy check in dmaengine xmit
In Dmaengine flow, driver maintains struct skbuf_dma_descriptor rings each
element of which corresponds to a skb. In Tx datapath, compare available
space in skb ring with number of skbs instead of skb fragments.
Replace x * (MAX_SKB_FRAGS) in netif_txq_completed_wake() and
netif_txq_maybe_stop() with x * (1 skb) to fix the comparison.
Fixes: 6a91b846af85 ("net: axienet: Introduce dmaengine support")
Signed-off-by: Suraj Gupta <suraj.gupta2@amd.com>
Reviewed-by: Sean Anderson <sean.anderson@linux.dev>
Link: https://patch.msgid.link/20250521181608.669554-1-suraj.gupta2@amd.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions