Home
last modified time | relevance | path

Searched refs:devlink_ports (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/
Ddevlink_port_split.py43 class devlink_ports(object): class
72 self.if_names = devlink_ports.get_if_names(dev)
147 for dev_port in devlink_ports.get_if_names(dev))
276 ports = devlink_ports(dev)
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_vsc7514.c154 ocelot->devlink_ports = devm_kcalloc(ocelot->dev, in mscc_ocelot_init_ports()
156 sizeof(*ocelot->devlink_ports), in mscc_ocelot_init_ports()
158 if (!ocelot->devlink_ports) in mscc_ocelot_init_ports()
Docelot_net.c41 return dlp - ocelot->devlink_ports; in devlink_port_to_port()
174 struct devlink_port *dlp = &ocelot->devlink_ports[port]; in ocelot_port_devlink_init()
192 struct devlink_port *dlp = &ocelot->devlink_ports[port]; in ocelot_port_devlink_teardown()
1827 SET_NETDEV_DEVLINK_PORT(dev, &ocelot->devlink_ports[port]); in ocelot_probe_port()
/linux-6.6.21/include/soc/mscc/
Docelot.h808 struct devlink_port *devlink_ports; member