diff options
author | Vladimir Oltean <[email protected]> | 2023-01-19 18:04:27 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-01-23 13:13:08 +0000 |
commit | 94557a9a73b4fa01c77a1a7409e9376e55d7bb99 (patch) | |
tree | 1bd736245de5a2722e1e997479e23f3d8bdf9ec4 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | e3972399bb57f3c0172f69010bc7613b13f513a4 (diff) |
net: enetc: detect frame preemption hardware capability
Similar to other TSN features, query the Station Interface capability
register to see whether preemption is supported on this port or not.
On LS1028A, preemption is available on ports 0 and 2, but not on 1
and 3.
This will allow us in the future to write the pMAC registers only on the
ENETC ports where a pMAC actually exists.
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions