]> git.baikalelectronics.ru Git - kernel.git/commit
qede: Fix internal loopback failure with jumbo mtu configuration
authorSudarsana Reddy Kalluru <skalluru@marvell.com>
Thu, 7 Mar 2019 15:56:35 +0000 (07:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Mar 2019 17:43:30 +0000 (09:43 -0800)
commit75864b683bca1b820d038a8ef8965de4fb4fd61f
tree44a1696bca86b8a50b7df721e344aa4bb47174ee
parent4cd6f506c8f8f82008924920d2c6a54f0d97a35a
qede: Fix internal loopback failure with jumbo mtu configuration

Driver uses port-mtu as packet-size for the loopback traffic. This patch
limits the max packet size to 1.5K to avoid data being split over multiple
buffer descriptors (BDs) in cases where MTU > PAGE_SIZE.

Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c