Lines Matching full:tx
46 local tx=$1; shift
54 # MAC Merge TX direction is disabled. That being said, at least the
55 # NXP ENETC does not, and requires tx-enabled on in order to respond to
57 ethtool --set-mm $rx tx-enabled on
58 ethtool --set-mm $tx verify-enabled on tx-enabled on
63 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
67 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
68 check_err "$?" "pMAC TX is not active"
70 traffic_test $tx "pmac"
71 check_err "$?" "Traffic did not get sent through $tx's pMAC"
73 ethtool --set-mm $tx verify-enabled off tx-enabled off
74 ethtool --set-mm $rx tx-enabled off
76 log_test "Manual configuration with verification: $tx to $rx"
91 local tx=$1; shift
96 ethtool --set-mm $tx verify-enabled off tx-enabled on
98 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
102 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
103 check_err "$?" "pMAC TX is not active"
105 traffic_test $tx "pmac"
106 check_err "$?" "Traffic did not get sent through $tx's pMAC"
108 ethtool --set-mm $tx verify-enabled off tx-enabled off
110 log_test "Manual configuration without verification: $tx to $rx"
125 local tx=$1; shift
131 ethtool --set-mm $tx verify-enabled on tx-enabled on
136 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
140 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
141 check_fail "$?" "pMAC TX is active when it shouldn't have"
143 traffic_test $tx "emac"
144 check_err "$?" "Traffic did not get sent through $tx's eMAC"
146 ethtool --set-mm $tx verify-enabled off tx-enabled off
149 log_test "Manual configuration with failed verification: $tx to $rx"
225 check_err "$?" "$h1 pMAC TX is not active"
229 check_err "$?" "$h2 pMAC TX is not active"
263 ethtool --set-mm $h1 pmac-enabled on tx-enabled off verify-enabled off
270 ethtool --set-mm $h2 pmac-enabled on tx-enabled off verify-enabled off
280 ethtool --set-mm $h1 pmac-enabled off tx-enabled off verify-enabled off
291 ethtool --set-mm $h2 pmac-enabled off tx-enabled off verify-enabled off