Home
last modified time | relevance | path

Searched hist:"9 dd6ad674cc74a62cc85de6e02cb29d47e9c4eb5" (Results 1 – 4 of 4) sorted by relevance

/linux/net/sched/
H A Dsch_mqprio_lib.hdiff 9dd6ad674cc74a62cc85de6e02cb29d47e9c4eb5 Sat Feb 04 14:53:02 CET 2023 Vladimir Oltean <vladimir.oltean@nxp.com> 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>
H A Dsch_mqprio_lib.cdiff 9dd6ad674cc74a62cc85de6e02cb29d47e9c4eb5 Sat Feb 04 14:53:02 CET 2023 Vladimir Oltean <vladimir.oltean@nxp.com> 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>
H A Dsch_mqprio.cdiff 9dd6ad674cc74a62cc85de6e02cb29d47e9c4eb5 Sat Feb 04 14:53:02 CET 2023 Vladimir Oltean <vladimir.oltean@nxp.com> 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>
H A Dsch_taprio.cdiff 9dd6ad674cc74a62cc85de6e02cb29d47e9c4eb5 Sat Feb 04 14:53:02 CET 2023 Vladimir Oltean <vladimir.oltean@nxp.com> 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>