diff options
author | Igor Russkikh <irusskikh@marvell.com> | 2019-11-07 23:41:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-08 04:54:43 +0100 |
commit | ea4b4d7fc1065165874c27b8add252e04d104137 (patch) | |
tree | 9216cb18c8ce9432b04bb6cb0079f7b06f9f0bd2 /Documentation | |
parent | net: atlantic: add fw configuration memory area (diff) | |
download | linux-ea4b4d7fc1065165874c27b8add252e04d104137.tar.xz linux-ea4b4d7fc1065165874c27b8add252e04d104137.zip |
net: atlantic: loopback tests via private flags
Here we add a number of ethtool private flags
to allow enabling various loopbacks on HW.
Thats useful for verification and bringup works.
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/device_drivers/aquantia/atlantic.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/networking/device_drivers/aquantia/atlantic.txt b/Documentation/networking/device_drivers/aquantia/atlantic.txt index d235cbaeccc6..cf3e88ca885e 100644 --- a/Documentation/networking/device_drivers/aquantia/atlantic.txt +++ b/Documentation/networking/device_drivers/aquantia/atlantic.txt @@ -325,6 +325,31 @@ Supported ethtool options Example: ethtool -N eth0 flow-type udp4 action 0 loc 32 + Private flags (testing) + --------------------------------- + + Atlantic driver supports private flags for hardware custom features: + + $ ethtool --show-priv-flags ethX + + Private flags for ethX: + DMASystemLoopback : off + PKTSystemLoopback : off + DMANetworkLoopback : off + PHYInternalLoopback: off + PHYExternalLoopback: off + + Example: + + $ ethtool --set-priv-flags ethX DMASystemLoopback on + + DMASystemLoopback: DMA Host loopback. + PKTSystemLoopback: Packet buffer host loopback. + DMANetworkLoopback: Network side loopback on DMA block. + PHYInternalLoopback: Internal loopback on Phy. + PHYExternalLoopback: External loopback on Phy (with loopback ethernet cable). + + Command Line Parameters ======================= The following command line parameters are available on atlantic driver: |