linux/drivers/net/ethernet/marvell
Subbaraya Sundeep 0182d0788c octeontx2-pf: Simplify the receive buffer size calculation
This patch separates the logic of configuring hardware
maximum transmit frame size and receive frame size.
This simplifies the logic to calculate receive buffer
size and using cqe descriptor of different size.
Also additional size of skb_shared_info structure is
allocated for each receive buffer pointer given to
hardware which is not necessary. Hence change the
size calculation to remove the size of
skb_shared_info. Add a check for array out of
bounds while adding fragments to the network stack.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-10 11:46:54 +01:00
..
mvpp2 eth: fwnode: remove the addr len from mac helpers 2021-10-07 13:39:51 +01:00
octeontx2 octeontx2-pf: Simplify the receive buffer size calculation 2021-10-10 11:46:54 +01:00
prestera ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
Kconfig net: marvell: Remove reference to CONFIG_MV64X60 2021-03-18 14:19:39 -07:00
Makefile net: marvell: prestera: Add driver for Prestera family ASIC devices 2020-09-17 16:35:46 -07:00
mv643xx_eth.c ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
mvmdio.c net: mdiobus: withdraw fwnode_mdbiobus_register 2021-06-25 11:46:29 -07:00
mvneta_bm.c net: mvneta: use devm_platform_ioremap_resource() to simplify code 2019-08-21 13:52:33 -07:00
mvneta_bm.h net: mvneta: make stub functions static inline 2019-10-25 16:21:48 -07:00
mvneta.c ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
pxa168_eth.c ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
skge.c ethernet: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
skge.h net: marvell: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00
sky2.c ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
sky2.h net: marvell: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00