diff options
author | Vishal Kulkarni <vishal@chelsio.com> | 2020-07-23 18:19:50 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-23 11:59:26 -0700 |
commit | 7235ffae3d2cd3dd02ea840b1f51eeb394e40b0d (patch) | |
tree | a6416f118f9d8e94b9f542500091002f705e178e /net/dsa | |
parent | 15be4ea3f07034a50eee2db6f3fefd2bec582170 (diff) | |
download | linux-7235ffae3d2cd3dd02ea840b1f51eeb394e40b0d.tar.bz2 |
cxgb4: add loopback ethtool self-test
In this test, loopback pkt is created and sent on default queue.
The packet goes until the Multi Port Switch (MPS) just before
the MAC and based on the specified channel number, it either
goes outside the wire on one of the physical ports or looped
back to Rx path by MPS. In this case, we're specifying loopback
channel, instead of physical ports, so the packet gets looped
back to Rx path, instead of getting transmitted on the wire.
v3:
- Modify commit message to include test details.
v2:
- Add only loopback self-test.
Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions