linux_dsm_epyc7002/drivers/net/ethernet/amd/xgbe
Lendacky, Thomas 7e1e6b86a5 amd-xgbe: Simplify the burst length settings
Currently the driver hardcodes the PBLx8 setting.  Remove the need for
specifying the PBLx8 setting and automatically calculate based on the
specified PBL value. Since the PBLx8 setting applies to both Tx and Rx
use the same PBL value for both of them.

Also, the driver currently uses a bit field to set the AXI master burst
len setting. Change to the full bit field range and set the burst length
based on the specified value.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-29 15:14:19 -04:00
..
Makefile amd-xgbe: Add I2C support for sideband communication 2016-11-13 00:56:26 -05:00
xgbe-common.h amd-xgbe: Simplify the burst length settings 2017-06-29 15:14:19 -04:00
xgbe-dcb.c amd-xgbe: Do traffic class setup when called through dcbnl 2016-02-17 15:22:20 -05:00
xgbe-debugfs.c amd-xgbe: Fix possible uninitialized variable 2016-11-16 13:57:44 -05:00
xgbe-desc.c amd-xgbe: Add NUMA affinity support for memory allocations 2017-06-29 15:14:18 -04:00
xgbe-dev.c amd-xgbe: Simplify the burst length settings 2017-06-29 15:14:19 -04:00
xgbe-drv.c amd-xgbe: Add NUMA affinity support for IRQ hints 2017-06-29 15:14:18 -04:00
xgbe-ethtool.c net: xgbe: use new api ethtool_{get|set}_link_ksettings 2016-11-09 13:25:13 -05:00
xgbe-i2c.c amd-xgbe: Re-issue interrupt if interrupt status not cleared 2017-06-29 15:14:18 -04:00
xgbe-main.c amd-xgbe: Simplify the burst length settings 2017-06-29 15:14:19 -04:00
xgbe-mdio.c amd-xgbe: Re-issue interrupt if interrupt status not cleared 2017-06-29 15:14:18 -04:00
xgbe-pci.c amd-xgbe: Prepare for more fine grained cache coherency controls 2017-06-29 15:14:18 -04:00
xgbe-phy-v1.c amd-xgbe: Add support for a KR redriver 2016-11-13 00:56:26 -05:00
xgbe-phy-v2.c amd-xgbe: Limit the I2C error messages that are output 2017-06-29 15:14:17 -04:00
xgbe-platform.c amd-xgbe: Prepare for more fine grained cache coherency controls 2017-06-29 15:14:18 -04:00
xgbe-ptp.c amd-xgbe: Use the proper register during PTP initialization 2017-06-29 15:14:16 -04:00
xgbe.h amd-xgbe: Simplify the burst length settings 2017-06-29 15:14:19 -04:00