Commit 17dd5ef
tg3: Increment tx_dropped in tg3_tso_bug()
tg3_tso_bug() drops a packet if it cannot be segmented for any reason.
The number of discarded frames should be incremented accordingly.
Signed-off-by: Alex Pakhunov <alexey.pakhunov@spacex.com>
Signed-off-by: Vincent Wong <vincent.wong2@spacex.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Link: https://lore.kernel.org/r/20231113182350.37472-2-alexey.pakhunov@spacex.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 907d1bd commit 17dd5ef
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7918 | 7918 | | |
7919 | 7919 | | |
7920 | 7920 | | |
7921 | | - | |
| 7921 | + | |
| 7922 | + | |
7922 | 7923 | | |
| 7924 | + | |
7923 | 7925 | | |
7924 | 7926 | | |
7925 | 7927 | | |
| |||
0 commit comments