Lines Matching refs:lag_work

1590 	struct ice_lag_work *lag_work;  in ice_lag_process_event()  local
1595 lag_work = container_of(work, struct ice_lag_work, lag_task); in ice_lag_process_event()
1596 pf = lag_work->lag->pf; in ice_lag_process_event()
1599 lag_work->lag->netdev_head = &lag_work->netdev_list.node; in ice_lag_process_event()
1601 switch (lag_work->event) { in ice_lag_process_event()
1603 info = &lag_work->info.changeupper_info; in ice_lag_process_event()
1604 ice_lag_chk_disabled_bond(lag_work->lag, info); in ice_lag_process_event()
1606 ice_lag_monitor_link(lag_work->lag, info); in ice_lag_process_event()
1607 ice_lag_changeupper_event(lag_work->lag, info); in ice_lag_process_event()
1608 ice_lag_link_unlink(lag_work->lag, info); in ice_lag_process_event()
1610 ice_lag_monitor_rdma(lag_work->lag, info); in ice_lag_process_event()
1614 if (!ice_lag_chk_comp(lag_work->lag, in ice_lag_process_event()
1615 &lag_work->info.bonding_info)) { in ice_lag_process_event()
1616 netdev = lag_work->info.bonding_info.info.dev; in ice_lag_process_event()
1617 ice_lag_disable_sriov_bond(lag_work->lag); in ice_lag_process_event()
1618 ice_lag_unregister(lag_work->lag, netdev); in ice_lag_process_event()
1621 ice_lag_monitor_active(lag_work->lag, in ice_lag_process_event()
1622 &lag_work->info.bonding_info); in ice_lag_process_event()
1623 ice_lag_cfg_pf_fltrs(lag_work->lag, in ice_lag_process_event()
1624 &lag_work->info.bonding_info); in ice_lag_process_event()
1626 ice_lag_info_event(lag_work->lag, &lag_work->info.bonding_info); in ice_lag_process_event()
1630 netdev = lag_work->info.bonding_info.info.dev; in ice_lag_process_event()
1631 if ((netdev == lag_work->lag->netdev || in ice_lag_process_event()
1632 lag_work->lag->primary) && lag_work->lag->bonded) in ice_lag_process_event()
1633 ice_lag_unregister(lag_work->lag, netdev); in ice_lag_process_event()
1642 list_for_each_safe(tmp, n, &lag_work->netdev_list.node) { in ice_lag_process_event()
1649 lag_work->lag->netdev_head = NULL; in ice_lag_process_event()
1653 kfree(lag_work); in ice_lag_process_event()
1668 struct ice_lag_work *lag_work; in ice_lag_event_handler() local
1689 lag_work = kzalloc(sizeof(*lag_work), GFP_KERNEL); in ice_lag_event_handler()
1690 if (!lag_work) in ice_lag_event_handler()
1693 lag_work->event_netdev = netdev; in ice_lag_event_handler()
1694 lag_work->lag = lag; in ice_lag_event_handler()
1695 lag_work->event = event; in ice_lag_event_handler()
1705 INIT_LIST_HEAD(&lag_work->netdev_list.node); in ice_lag_event_handler()
1717 list_add(&nd_list->node, &lag_work->netdev_list.node); in ice_lag_event_handler()
1724 lag_work->info.changeupper_info = in ice_lag_event_handler()
1728 lag_work->info.bonding_info = in ice_lag_event_handler()
1732 lag_work->info.notifier_info = in ice_lag_event_handler()
1737 INIT_WORK(&lag_work->lag_task, ice_lag_process_event); in ice_lag_event_handler()
1738 queue_work(ice_lag_wq, &lag_work->lag_task); in ice_lag_event_handler()