aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2024-06-18 14:53:12 -0700
committerJakub Kicinski <[email protected]>2024-06-20 06:46:08 -0700
commitb7bfcb4c7ce44fd0070ce8bccbc91c56341f05c1 (patch)
tree105012d12b0b2b39d3670d2f302128bc5bb7bd62 /lib/test_fortify/write_overflow-strncpy-src.c
parent8ad04409921f4c405859a651c9a9e5ff5eb5e8a9 (diff)
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: 2012a6abc876 ("bnxt_en: Add 5760X (P7) PCI IDs") Reviewed-by: Ajit Khaparde <[email protected]> Reviewed-by: Somnath Kotur <[email protected]> Signed-off-by: Michael Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions