linux-next/net/devlink
Jiri Pirko d0b7e990f7 devlink: move linecard struct into linecard.c
Instead of exposing linecard struct, expose a simple helper to get the
linecard index, which is all is needed outside linecard.c. Move the
linecard struct to linecard.c and keep it private similar to the rest of
the devlink objects.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-09-17 14:01:46 +01:00
..
core.c devlink: move tracepoint definitions into core.c 2023-08-28 08:02:23 -07:00
dev.c devlink: move devlink_notify_register/unregister() to dev.c 2023-08-28 08:02:24 -07:00
devl_internal.h devlink: move linecard struct into linecard.c 2023-09-17 14:01:46 +01:00
dpipe.c devlink: push dpipe related code into separate file 2023-08-28 08:02:22 -07:00
health.c genetlink: use attrs from struct genl_info 2023-08-15 15:00:45 -07:00
linecard.c devlink: move linecard struct into linecard.c 2023-09-17 14:01:46 +01:00
Makefile devlink: move devlink_notify_register/unregister() to dev.c 2023-08-28 08:02:24 -07:00
netlink_gen.c netlink: specs: devlink: extend health reporter dump attributes by port index 2023-08-14 11:47:25 -07:00
netlink_gen.h netlink: specs: devlink: add commands that do per-instance dump 2023-08-14 11:47:25 -07:00
netlink.c devlink: move small_ops definition into netlink.c 2023-08-28 08:02:23 -07:00
param.c devlink: push param related code into separate file 2023-08-28 08:02:22 -07:00
port.c devlink: move linecard struct into linecard.c 2023-09-17 14:01:46 +01:00
rate.c devlink: push rate related code into separate file 2023-08-28 08:02:23 -07:00
region.c devlink: push region related code into separate file 2023-08-28 08:02:23 -07:00
resource.c devlink: push resource related code into separate file 2023-08-28 08:02:22 -07:00
sb.c devlink: push shared buffer related code into separate file 2023-08-28 08:02:22 -07:00
trap.c devlink: push trap related code into separate file 2023-08-28 08:02:23 -07:00