Lines Matching refs:devlink_port
60 struct devlink_port *devlink_port; member
101 devlink_port_health_reporter_find_by_name(struct devlink_port *devlink_port, in devlink_port_health_reporter_find_by_name() argument
104 return __devlink_health_reporter_find_by_name(&devlink_port->reporter_list, in devlink_port_health_reporter_find_by_name()
141 devl_port_health_reporter_create(struct devlink_port *port, in devl_port_health_reporter_create()
158 reporter->devlink_port = port; in devl_port_health_reporter_create()
165 devlink_port_health_reporter_create(struct devlink_port *port, in devlink_port_health_reporter_create()
276 if (reporter->devlink_port) { in devlink_nl_health_reporter_fill()
277 if (nla_put_u32(msg, DEVLINK_ATTR_PORT_INDEX, reporter->devlink_port->index)) in devlink_nl_health_reporter_fill()
334 struct devlink_port *devlink_port; in devlink_health_reporter_get_from_attrs() local
341 devlink_port = devlink_port_get_from_attrs(devlink, attrs); in devlink_health_reporter_get_from_attrs()
342 if (IS_ERR(devlink_port)) in devlink_health_reporter_get_from_attrs()
346 return devlink_port_health_reporter_find_by_name(devlink_port, in devlink_health_reporter_get_from_attrs()
396 struct devlink_port *port; in devlink_nl_health_reporter_get_dump_one()
514 if (reporter->devlink_port) in devlink_recover_notify()
515 devlink_nl_obj_desc_port_set(&desc, reporter->devlink_port); in devlink_recover_notify()