Commit 8e66b35
Ken Cox
bnxt_en: Set TSO max segs on devices with limits
JIRA: https://issues.redhat.com/browse/RHEL-19811
JIRA: https://issues.redhat.com/browse/RHEL-23120
JIRA: https://issues.redhat.com/browse/RHEL-25505
commit b7bfcb4
Author: Michael Chan <michael.chan@broadcom.com>
Date: Tue Jun 18 14:53:12 2024 -0700
bnxt_en: Set TSO max segs on devices with limits
Firmware will now advertise a non-zero TSO max segments if the
device has a limit. 0 means no limit. The latest 5760X chip
(early revs) has a limit of 2047 that cannot be exceeded. If
exceeded, the chip will send out just a small number of segments.
Call netif_set_tso_max_segs() if the device has a limit.
Fixes: 2012a6a ("bnxt_en: Add 5760X (P7) PCI IDs")
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/20240618215313.29631-3-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Ken Cox <jkc@redhat.com>1 parent 1fcbb4e commit 8e66b35
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8340 | 8340 | | |
8341 | 8341 | | |
8342 | 8342 | | |
| 8343 | + | |
8343 | 8344 | | |
8344 | 8345 | | |
8345 | 8346 | | |
| |||
14299 | 14300 | | |
14300 | 14301 | | |
14301 | 14302 | | |
| 14303 | + | |
| 14304 | + | |
14302 | 14305 | | |
14303 | 14306 | | |
14304 | 14307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2165 | 2165 | | |
2166 | 2166 | | |
2167 | 2167 | | |
| 2168 | + | |
2168 | 2169 | | |
2169 | 2170 | | |
2170 | 2171 | | |
| |||
0 commit comments