diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2023-02-04 15:53:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-02-06 10:06:44 +0000 |
commit | 9dd6ad674cc74a62cc85de6e02cb29d47e9c4eb5 (patch) | |
tree | e193209fedbbf8e51baf1dbf7f9165c74a0cc61e /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | 1dfe086dd7efb36d3d619a90782c6ca186a1bae9 (diff) |
net/sched: refactor mqprio qopt reconstruction to a library function
The taprio qdisc will need to reconstruct a struct tc_mqprio_qopt from
netdev settings once more in a future patch, but this code was already
written twice, once in taprio and once in mqprio.
Refactor the code to a helper in the common mqprio library.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions