linux_dsm_epyc7002/drivers/net/ethernet
Jesse Brandeburg 02671eda9a i40e: fix PTP on 5Gb links
commit 26b0ce8dd3dd704393dbace4dc416adfeffe531f upstream.

As reported by Alex Sergeev, the i40e driver is incrementing the PTP
clock at 40Gb speeds when linked at 5Gb. Fix this bug by making
sure that the right multiplier is selected when linked at 5Gb.

Fixes: 3dbdd6c2f7 ("i40e: Add support for 5Gbps cards")
Cc: stable@vger.kernel.org
Reported-by: Alex Sergeev <asergeev@carbonrobotics.com>
Suggested-by: Alex Sergeev <asergeev@carbonrobotics.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-19 09:44:59 +02:00
..
3com
8390
adaptec
aeroflex net: ethernet: aeroflex: fix UAF in greth_of_remove 2021-07-14 16:56:24 +02:00
agere
alacritech
allwinner
alteon
altera
amazon
amd pcnet32: Use pci_resource_len to validate PCI resource 2021-04-21 13:00:54 +02:00
apm
apple
aquantia net: atlantic: fix the macsec key length 2021-07-14 16:56:28 +02:00
arc
atheros alx: Fix an error handling path in 'alx_probe()' 2021-06-23 14:42:44 +02:00
aurora
broadcom net: bcmgenet: check return value after calling platform_get_resource() 2021-07-19 09:44:47 +02:00
brocade
cadence net: macb: ensure the device is available before accessing GEMGXL control registers 2021-06-16 12:01:37 +02:00
calxeda
cavium net: liquidio: Add missing null pointer checks 2021-06-03 09:00:43 +02:00
chelsio cxgb4: fix wrong shift. 2021-06-23 14:42:47 +02:00
cirrus
cisco ethernet:enic: Fix a use after free bug in enic_hard_start_xmit 2021-05-19 10:13:06 +02:00
cortina
davicom net: davicom: Fix regulator not turned off on failed probe 2021-04-21 13:00:57 +02:00
dec
dlink
emulex Revert "be2net: disable bh with spin_lock in be_process_mcc" 2021-07-14 16:56:29 +02:00
ezchip net: ethernet: ezchip: fix error handling 2021-07-14 16:56:24 +02:00
faraday net: ftgmac100: add missing error return code in ftgmac100_probe() 2021-07-14 16:56:16 +02:00
freescale net: fec: add ndo_select_queue to fix TX bandwidth fluctuations 2021-07-19 09:44:51 +02:00
fujitsu net: fujitsu: fix potential null-ptr-deref 2021-06-03 09:00:40 +02:00
google gve: Fix swapped vars when fetching max queues 2021-07-14 16:56:29 +02:00
hisilicon net: hns3: check the return of skb_checksum_help() 2021-06-03 09:00:51 +02:00
huawei
i825xx
ibm ibmvnic: free tx_pool if tso_pool alloc fails 2021-07-14 16:56:28 +02:00
intel i40e: fix PTP on 5Gb links 2021-07-19 09:44:59 +02:00
marvell net: mvpp2: check return value after calling platform_get_resource() 2021-07-19 09:44:47 +02:00
mediatek net: ethernet: mtk_eth_soc: Fix packet statistics support for MT7628/88 2021-06-03 09:00:50 +02:00
mellanox net/mlx5: Fix lag port remapping logic 2021-07-19 09:44:42 +02:00
micrel net: micrel: check return value after calling platform_get_resource() 2021-07-19 09:44:47 +02:00
microchip
moxa net: moxa: Use devm_platform_get_and_ioremap_resource() 2021-07-19 09:44:48 +02:00
mscc net: dsa: felix: re-enable TX flow control in ocelot_port_flush() 2021-06-23 14:42:42 +02:00
myricom ethernet: myri10ge: Fix missing error code in myri10ge_probe() 2021-06-18 10:00:05 +02:00
natsemi net/sonic: Fix some resource leaks in error handling paths 2021-01-17 14:16:55 +01:00
neterion
netronome nfp: devlink: initialize the devlink port attribute "lanes" 2021-05-14 09:50:41 +02:00
ni
nvidia
nxp
oki-semi net: pch_gbe: Use proper accessors to BE data in pch_ptp_match() 2021-07-19 09:44:37 +02:00
packetengines
pasemi
pensando ionic: linearize tso skb with too many frags 2021-03-30 14:32:01 +02:00
qlogic net: qed: Fix memcpy() overflow of qed_dcbx_params() 2021-06-30 08:47:23 -04:00
qualcomm net: qualcomm: rmnet: don't over-count statistics 2021-06-23 14:42:44 +02:00
rdc
realtek r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM 2021-07-19 09:44:49 +02:00
renesas sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS 2021-06-30 08:47:22 -04:00
rocker
samsung
seeq
sfc sfc: error code if SRIOV cannot be disabled 2021-07-19 09:44:52 +02:00
sgi net: sgi: ioc3-eth: check return value after calling platform_get_resource() 2021-07-19 09:44:49 +02:00
silan
sis
smsc
socionext netsec: restore phy power state after controller reset 2021-03-30 14:31:53 +02:00
stmicro net: stmmac: the XPCS obscures a potential "PHY not found" error 2021-07-19 09:44:43 +02:00
sun ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read() 2021-05-26 12:06:55 +02:00
synopsys
tehuti net: tehuti: fix error return code in bdx_probe() 2021-03-30 14:31:48 +02:00
ti net: ti: am65-cpsw-nuss: Fix crash when changing number of TX queues 2021-07-14 16:56:26 +02:00
toshiba
tundra
via
wiznet
xilinx net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY 2021-06-30 08:47:24 -04:00
xircom
xscale net: ethernet: ixp4xx: Set the DMA masks explicitly 2021-05-14 09:50:40 +02:00
dnet.c
dnet.h
ec_bhf.c net: ethernet: fix potential use-after-free in ec_bhf_remove 2021-06-23 14:42:47 +02:00
ethoc.c net: ethernet: Fix memleak in ethoc_probe 2021-01-12 20:18:10 +01:00
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c lantiq: net: fix duplicated skb in rx descriptor ring 2021-06-23 14:42:46 +02:00
Makefile