OSDN Git Service

net: microchip: sparx5: Add TC template list to a port
authorSteen Hegelund <steen.hegelund@microchip.com>
Tue, 7 Mar 2023 13:41:01 +0000 (14:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Mar 2023 13:19:43 +0000 (13:19 +0000)
commit1c14432dcefaf44c2e3fa11ac61097ee342eecfe
tree0b543192ca8dcaebb125b0f5af601d05c4efd7b0
parentbfcb94aacc92f7025bd86a545037e5eb8db00e32
net: microchip: sparx5: Add TC template list to a port

This adds a list that is used to collect the templates that are active on a
port.

This allows the template creation to change the port configuration
and the template destruction to change it back.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
drivers/net/ethernet/microchip/sparx5/sparx5_main.h