linux/drivers/net
Alvin Šipraga ef136837aa net: dsa: rtl8365mb: set RGMII RX delay in steps of 0.3 ns
A contact at Realtek has clarified what exactly the units of RGMII RX
delay are. The answer is that the unit of RX delay is "about 0.3 ns".
Take this into account when parsing rx-internal-delay-ps by
approximating the closest step value. Delays of more than 2.1 ns are
rejected.

This obviously contradicts the previous assumption in the driver that a
step value of 4 was "about 2 ns", but Realtek also points out that it is
easy to find more than one RX delay step value which makes RGMII work.

Fixes: 4af2950c50 ("net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC")
Cc: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-29 12:51:37 +00:00
..
appletalk
arcnet
bonding net: annotate accesses to dev->gso_max_segs 2021-11-22 12:49:42 +00:00
caif
can ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
dsa net: dsa: rtl8365mb: set RGMII RX delay in steps of 0.3 ns 2021-11-29 12:51:37 +00:00
ethernet net: hns3: use macro IANA_VXLAN_GPE_UDP_PORT to replace number 4790 2021-11-29 12:19:53 +00:00
fddi net: fddi: use swap() to make code cleaner 2021-11-15 14:19:17 +00:00
fjes
hamradio hamradio: fix macro redefine warning 2021-11-23 11:38:13 +00:00
hippi
hyperv hv_netvsc: Use bitmap_zalloc() when applicable 2021-11-22 14:32:54 +00:00
ieee802154
ipa Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-11-26 13:45:19 -08:00
ipvlan net: annotate accesses to dev->gso_max_segs 2021-11-22 12:49:42 +00:00
mctp mctp: serial: remove unnecessary ldisc data check 2021-11-25 19:40:39 -08:00
mdio net: mdio: ipq8064: replace ioremap() with devm_ioremap() 2021-11-29 12:02:49 +00:00
netdevsim ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
pcs
phy Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-11-26 13:45:19 -08:00
plip
ppp TTY / Serial driver update for 5.16-rc1 2021-11-04 09:09:37 -07:00
slip slip: fix macro redefine warning 2021-11-23 11:38:13 +00:00
team
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-11-26 13:45:19 -08:00
vmxnet3 ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
wan net/wan/fsl_ucc_hdlc: fix sparse warnings 2021-11-15 14:24:41 +00:00
wireguard skbuff: Switch structure bounds to struct_group() 2021-11-22 15:13:54 +00:00
wireless ipw2200: constify address in ipw_send_adapter_address 2021-11-19 10:46:04 +00:00
wwan net: wwan: Add Qualcomm BAM-DMUX WWAN network driver 2021-11-29 12:27:34 +00:00
xen-netback
amt.c amt: cancel delayed_work synchronously in amt_fini() 2021-11-16 19:14:12 -08:00
bareudp.c
dummy.c
eql.c
geneve.c gro: remove rcu_read_lock/rcu_read_unlock from gro_complete handlers 2021-11-24 17:21:42 -08:00
gtp.c
ifb.c
Kconfig amt: add IPV6 Kconfig dependency 2021-11-09 14:00:13 +00:00
LICENSE.SRC
loopback.c
macsec.c
macvlan.c net: remove .ndo_change_proto_down 2021-11-23 12:18:48 +00:00
macvtap.c
Makefile amt: add control plane of amt interface 2021-11-01 13:36:08 +00:00
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c net: sungem_phy: fix code indentation 2021-11-09 11:45:54 +00:00
tap.c
thunderbolt.c
tun.c tun: fix bonding active backup with arp monitoring 2021-11-15 13:00:26 +00:00
veth.c veth: use ethtool_sprintf instead of snprintf 2021-11-25 19:15:12 -08:00
virtio_net.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
vrf.c
vsockmon.c
vxlan.c net: vxlan: add macro definition for number of IANA VXLAN-GPE port 2021-11-29 12:19:53 +00:00
xen-netfront.c