1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/qlogic/qede
Manish Chopra 8e227b198a qede: validate non LSO skb length
Although it is unlikely that stack could transmit a non LSO
skb with length > MTU, however in some cases or environment such
occurrences actually resulted into firmware asserts due to packet
length being greater than the max supported by the device (~9700B).

This patch adds the safeguard for such odd cases to avoid firmware
asserts.

v2: Added "Fixes" tag with one of the initial driver commit
    which enabled the TX traffic actually (as this was probably
    day1 issue which was discovered recently by some customer
    environment)

Fixes: a2ec6172d2 ("qede: Add support for link")
Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Link: https://lore.kernel.org/r/20211203174413.13090-1-manishc@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-12-03 16:53:37 -08:00
..
Makefile net: qede: update copyright years 2020-06-30 15:51:40 -07:00
qede.h ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
qede_dcbnl.c net: qede: update copyright years 2020-06-30 15:51:40 -07:00
qede_ethtool.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
qede_filter.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qede_fp.c qede: validate non LSO skb length 2021-12-03 16:53:37 -08:00
qede_main.c qed: Remove e4_ and _e4 from FW HSI 2021-10-04 12:55:48 +01:00
qede_ptp.c net: qede: fix kernel-doc for qede_ptp_adjfreq() 2020-07-06 13:18:56 -07:00
qede_ptp.h net: qede: update copyright years 2020-06-30 15:51:40 -07:00
qede_rdma.c net: qede: Use list_for_each_entry() to simplify code 2021-06-08 16:31:24 -07:00