Skip to content
Commit 5353599a authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller
Browse files

net: enetc: refactor enetc_setup_tc_taprio() to have a switch/case for cmd



Make enetc_setup_tc_taprio() more amenable to future extensions, like
reporting statistics.

Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c1adb65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment