Lines Matching full:tx

47 	local tx=$1; shift
55 # MAC Merge TX direction is disabled. That being said, at least the
56 # NXP ENETC does not, and requires tx-enabled on in order to respond to
58 ethtool --set-mm $rx tx-enabled on
59 ethtool --set-mm $tx verify-enabled on tx-enabled on
64 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
68 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
69 check_err "$?" "pMAC TX is not active"
71 traffic_test $tx "pmac"
72 check_err "$?" "Traffic did not get sent through $tx's pMAC"
74 ethtool --set-mm $tx verify-enabled off tx-enabled off
75 ethtool --set-mm $rx tx-enabled off
77 log_test "Manual configuration with verification: $tx to $rx"
92 local tx=$1; shift
97 ethtool --set-mm $tx verify-enabled off tx-enabled on
99 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
103 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
104 check_err "$?" "pMAC TX is not active"
106 traffic_test $tx "pmac"
107 check_err "$?" "Traffic did not get sent through $tx's pMAC"
109 ethtool --set-mm $tx verify-enabled off tx-enabled off
111 log_test "Manual configuration without verification: $tx to $rx"
126 local tx=$1; shift
132 ethtool --set-mm $tx verify-enabled on tx-enabled on
137 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
141 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
142 check_fail "$?" "pMAC TX is active when it shouldn't have"
144 traffic_test $tx "emac"
145 check_err "$?" "Traffic did not get sent through $tx's eMAC"
147 ethtool --set-mm $tx verify-enabled off tx-enabled off
150 log_test "Manual configuration with failed verification: $tx to $rx"
226 check_err "$?" "$h1 pMAC TX is not active"
230 check_err "$?" "$h2 pMAC TX is not active"
264 ethtool --set-mm $h1 pmac-enabled on tx-enabled off verify-enabled off
271 ethtool --set-mm $h2 pmac-enabled on tx-enabled off verify-enabled off
281 ethtool --set-mm $h1 pmac-enabled off tx-enabled off verify-enabled off
292 ethtool --set-mm $h2 pmac-enabled off tx-enabled off verify-enabled off