summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/microchip/sparx5/Makefile
diff options
context:
space:
mode:
authorDaniel Machon <daniel.machon@microchip.com>2023-02-02 11:43:47 +0100
committerDavid S. Miller <davem@davemloft.net>2023-02-06 08:26:25 +0000
commitbb535c0dbb6f5508bf81ec21b20c18d32a881ef1 (patch)
tree5f80b6b3381ab8306ebf819a3495fb68c12f6f0b /drivers/net/ethernet/microchip/sparx5/Makefile
parentedad83e2ba1e44e104e24f2096e8a64f91b30620 (diff)
net: microchip: sparx5: add resource pools
Add resource pools and accessor functions. These pools can be queried by the driver, whenever a finite resource is required. Some resources can be reused, in which case an index and a reference count is used to keep track of users. Signed-off-by: Daniel Machon <daniel.machon@microchip.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/microchip/sparx5/Makefile')
-rw-r--r--drivers/net/ethernet/microchip/sparx5/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/microchip/sparx5/Makefile b/drivers/net/ethernet/microchip/sparx5/Makefile
index d0ed7090aa54..6bb4609107b4 100644
--- a/drivers/net/ethernet/microchip/sparx5/Makefile
+++ b/drivers/net/ethernet/microchip/sparx5/Makefile
@@ -9,7 +9,8 @@ sparx5-switch-y := sparx5_main.o sparx5_packet.o \
sparx5_netdev.o sparx5_phylink.o sparx5_port.o sparx5_mactable.o sparx5_vlan.o \
sparx5_switchdev.o sparx5_calendar.o sparx5_ethtool.o sparx5_fdma.o \
sparx5_ptp.o sparx5_pgid.o sparx5_tc.o sparx5_qos.o \
- sparx5_vcap_impl.o sparx5_vcap_ag_api.o sparx5_tc_flower.o sparx5_tc_matchall.o
+ sparx5_vcap_impl.o sparx5_vcap_ag_api.o sparx5_tc_flower.o \
+ sparx5_tc_matchall.o sparx5_pool.o
sparx5-switch-$(CONFIG_SPARX5_DCB) += sparx5_dcb.o
sparx5-switch-$(CONFIG_DEBUG_FS) += sparx5_vcap_debugfs.o