• Home
  • Raw
  • Download

Lines Matching refs:devlink

350 static int prestera_drop_counter_get(struct devlink *devlink,
354 static int prestera_dl_info_get(struct devlink *dl, in prestera_dl_info_get()
376 static int prestera_trap_init(struct devlink *devlink,
379 static int prestera_trap_action_set(struct devlink *devlink,
395 struct devlink *dl; in prestera_devlink_alloc()
405 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_free()
412 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_register()
435 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_unregister()
447 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_port_register()
493 struct devlink *devlink = priv_to_devlink(sw); in prestera_devlink_traps_register() local
514 err = devlink_trap_groups_register(devlink, prestera_trap_groups_arr, in prestera_devlink_traps_register()
521 err = devlink_traps_register(devlink, &prestera_trap->trap, 1, in prestera_devlink_traps_register()
532 devlink_traps_unregister(devlink, &prestera_trap->trap, 1); in prestera_devlink_traps_register()
534 devlink_trap_groups_unregister(devlink, prestera_trap_groups_arr, in prestera_devlink_traps_register()
563 struct devlink *devlink; in prestera_devlink_trap_report() local
565 devlink = port->dl_port.devlink; in prestera_devlink_trap_report()
571 devlink_trap_report(devlink, skb, trap_item->trap_ctx, in prestera_devlink_trap_report()
589 static int prestera_trap_init(struct devlink *devlink, in prestera_trap_init() argument
592 struct prestera_switch *sw = devlink_priv(devlink); in prestera_trap_init()
605 static int prestera_trap_action_set(struct devlink *devlink, in prestera_trap_action_set() argument
614 static int prestera_drop_counter_get(struct devlink *devlink, in prestera_drop_counter_get() argument
618 struct prestera_switch *sw = devlink_priv(devlink); in prestera_drop_counter_get()
630 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_traps_fini()