OSDN Git Service

net: mvneta: Use struct tc_mqprio_qopt_offload for MQPrio configuration
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 26 Nov 2021 11:20:53 +0000 (12:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2021 12:05:52 +0000 (12:05 +0000)
commit75fa71e3acadbb4ab5eda18505277eb9a1f69b23
tree4a9f06f918ce228b80f8ed4428a649011874bbe5
parent2f7ed29f2c54ace09eb09e3f97fd573a31b79309
net: mvneta: Use struct tc_mqprio_qopt_offload for MQPrio configuration

The struct tc_mqprio_qopt_offload is a container for struct tc_mqprio_qopt,
that allows passing extra parameters, such as traffic shaping. This commit
converts the current mqprio code to that new struct.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c