aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSuraj Gupta <suraj.gupta2@amd.com>2025-05-21 23:46:08 +0530
committerPaolo Abeni <pabeni@redhat.com>2025-05-27 08:18:51 +0200
commit32374234ab0101881e7d0c6a8ef7ebce566c46c9 (patch)
tree81a91510345ddee26f1d1172daf93ad7ddf60146 /scripts/gdb/linux/utils.py
parentnet/mlx5_core: Add error handling inmlx5_query_nic_vport_qkey_viol_cntr() (diff)
downloadwireguard-linux-32374234ab0101881e7d0c6a8ef7ebce566c46c9.tar.xz
wireguard-linux-32374234ab0101881e7d0c6a8ef7ebce566c46c9.zip
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/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions