Lines Matching full:tx

42 	local tx=$1; shift
50 # MAC Merge TX direction is disabled. That being said, at least the
51 # NXP ENETC does not, and requires tx-enabled on in order to respond to
53 ethtool --set-mm $rx tx-enabled on
54 ethtool --set-mm $tx verify-enabled on tx-enabled on
59 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
63 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
64 check_err "$?" "pMAC TX is not active"
66 traffic_test $tx "pmac"
67 check_err "$?" "Traffic did not get sent through $tx's pMAC"
69 ethtool --set-mm $tx verify-enabled off tx-enabled off
70 ethtool --set-mm $rx tx-enabled off
72 log_test "Manual configuration with verification: $tx to $rx"
87 local tx=$1; shift
92 ethtool --set-mm $tx verify-enabled off tx-enabled on
94 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
98 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
99 check_err "$?" "pMAC TX is not active"
101 traffic_test $tx "pmac"
102 check_err "$?" "Traffic did not get sent through $tx's pMAC"
104 ethtool --set-mm $tx verify-enabled off tx-enabled off
106 log_test "Manual configuration without verification: $tx to $rx"
121 local tx=$1; shift
127 ethtool --set-mm $tx verify-enabled on tx-enabled on
132 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
136 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
137 check_fail "$?" "pMAC TX is active when it shouldn't have"
139 traffic_test $tx "emac"
140 check_err "$?" "Traffic did not get sent through $tx's eMAC"
142 ethtool --set-mm $tx verify-enabled off tx-enabled off
145 log_test "Manual configuration with failed verification: $tx to $rx"
188 check_err "$?" "$h1 pMAC TX is not active"
192 check_err "$?" "$h2 pMAC TX is not active"
226 ethtool --set-mm $h1 pmac-enabled on tx-enabled off verify-enabled off
233 ethtool --set-mm $h2 pmac-enabled on tx-enabled off verify-enabled off
243 ethtool --set-mm $h1 pmac-enabled off tx-enabled off verify-enabled off
254 ethtool --set-mm $h2 pmac-enabled off tx-enabled off verify-enabled off