linux/drivers/net/ethernet
Danielle Ratson 5bf01b571c mlxsw: spectrum_ethtool: Remove internal speeds from PTYS register
The PTYS register is used to report and configure the port type and
speed. Currently, internal bits in the register are used the same way
other bits are used.

Using the internal bits can cause bad parameter firmware errors. For
example, trying to write to internal bit 25 returns:

EMAD reg access failed (tid=53e2bffa00004310,reg_id=5004(ptys),type=write,status=7(bad parameter))

Remove the internal bits from the PTYS register, so that it is no longer
possible to pass them to firmware.

Signed-off-by: Danielle Ratson <danieller@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-24 17:36:11 -07:00
..
3com typhoon: switch from 'pci_' to 'dma_' API 2020-08-24 17:33:11 -07:00
8390 net: ethernet: 8390: axnet_cs: Document unused parameter 'txqueue' 2020-08-14 20:42:25 -07:00
adaptec starfire: switch from 'pci_' to 'dma_' API 2020-08-24 17:33:11 -07:00
aeroflex Replace HTTP links with HTTPS ones: GRETH 10/100/1G Ethernet MAC device driver 2020-07-07 15:44:27 -07:00
agere net: ethernet: et131x: Remove redundant register read 2020-07-17 18:48:15 -07:00
alacritech
allwinner
alteon net: alteon: Avoid some useless memset 2020-07-17 12:57:59 -07:00
altera
amazon net: ena: Make missed_tx stat incremental 2020-08-19 15:32:58 -07:00
amd xgbe: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
apm
apple
aquantia net: atlantic: Use readx_poll_timeout() for large timeout 2020-08-19 16:25:29 -07:00
arc
atheros net: atheros: switch from 'pci_' to 'dma_' API 2020-08-24 17:33:11 -07:00
aurora
broadcom Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
brocade bna: bfi.h: Avoid the use of one-element array 2020-07-22 18:12:11 -07:00
cadence net: macb: Properly handle phylink on at91sam9x 2020-08-04 16:04:17 -07:00
calxeda
cavium net: thunderx: initialize VF's mailbox mutex before first usage 2020-08-05 17:50:34 -07:00
chelsio Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-08-23 11:48:27 -07:00
cirrus ethernet: cirrus: Remove unused macros 2020-08-18 12:54:47 -07:00
cisco enic: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
cortina net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe() 2020-08-19 16:37:18 -07:00
davicom
dec
dlink net: sundance: Replace HTTP links with HTTPS ones 2020-07-15 17:41:34 -07:00
emulex be2net: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
ezchip
faraday
freescale net: gianfar: Add of_node_put() before goto statement 2020-08-18 13:12:12 -07:00
fujitsu
google
hisilicon Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-08-13 20:03:11 -07:00
huawei hinic: fix strncpy output truncated compile warnings 2020-08-11 10:33:14 -07:00
i825xx
ibm ibmvnic: Fix use-after-free of VNIC login response buffer 2020-08-24 15:56:57 -07:00
intel SCSI fixes on 20200821 2020-08-22 09:56:42 -07:00
marvell otx2_common: Use devm_kcalloc() in otx2_config_npa() 2020-08-17 15:08:39 -07:00
mediatek Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-08-02 01:02:12 -07:00
mellanox mlxsw: spectrum_ethtool: Remove internal speeds from PTYS register 2020-08-24 17:36:11 -07:00
micrel ksz884x: switch from 'pci_' to 'dma_' API 2020-07-14 15:10:29 -07:00
microchip lan743x: remove redundant initialization of variable current_head_index 2020-07-22 17:55:35 -07:00
moxa
mscc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-08-02 01:02:12 -07:00
myricom ethernet: myri10ge: use generic power management 2020-07-20 18:01:07 -07:00
natsemi natsemi: use generic power management 2020-07-01 12:58:33 -07:00
neterion Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
netronome nfp: flower: add support to offload QinQ match 2020-08-20 16:04:42 -07:00
ni net: nixge: fix potential memory leak in nixge_probe() 2020-07-30 16:55:39 -07:00
nvidia
nxp
oki-semi
packetengines net: packetengines: switch from 'pci_' to 'dma_' API 2020-07-20 17:48:23 -07:00
pasemi
pensando ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc() 2020-08-11 10:36:08 -07:00
qlogic net: qed: Remove unnecessary cast 2020-08-20 16:16:12 -07:00
qualcomm net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init 2020-08-11 10:36:47 -07:00
rdc r6040: switch from 'pci_' to 'dma_' API 2020-07-20 17:49:50 -07:00
realtek r8169: remove member irq_enabled from struct rtl8169_private 2020-08-19 13:03:04 -07:00
renesas net: ethernet: ravb: exit if re-initialization fails in tx timeout 2020-07-21 15:34:07 -07:00
rocker pci-v5.9-changes 2020-08-07 18:48:15 -07:00
samsung
seeq
sfc sfc: fix build warnings on 32-bit 2020-08-20 12:00:16 -07:00
sgi net: sgi: ioc3-eth: Fix the size used in some 'dma_free_coherent()' calls 2020-08-03 16:00:26 -07:00
silan sc92031: use generic power management 2020-07-30 17:43:01 -07:00
sis sis900: use generic power management 2020-07-30 17:43:01 -07:00
smsc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-07-25 17:49:04 -07:00
socionext bpf, xdp: Remove XDP_QUERY_PROG and XDP_QUERY_PROG_HW XDP commands 2020-07-25 20:37:02 -07:00
stmicro net: ethernet: stmmac: Disable hardware multicast filter 2020-08-12 13:12:52 -07:00
sun Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
synopsys
tehuti
ti ethernet: ti: cpts: Use generic helper function 2020-08-19 16:09:19 -07:00
toshiba net: spider_net: Remove a useless memset 2020-08-03 16:01:11 -07:00
tundra
via via-velocity: Use more typical logging styles 2020-08-04 12:54:49 -07:00
wiznet
xilinx net: ll_temac: Use devm_platform_ioremap_resource_byname() 2020-07-30 17:44:28 -07:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c net/fealnx: switch from 'pci_' to 'dma_' API 2020-07-20 18:32:49 -07:00
jme.c net: jme: Replace HTTP links with HTTPS ones 2020-07-13 17:45:04 -07:00
jme.h net: jme: Replace HTTP links with HTTPS ones 2020-07-13 17:45:04 -07:00
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile