Lines Matching full:lag
9 /* LAG roles for netdev */
19 /* LAG info struct */
41 * ice_disable_lag - increment LAG disable count
42 * @lag: LAG struct
44 static inline void ice_disable_lag(struct ice_lag *lag) in ice_disable_lag() argument
46 /* If LAG this PF is not already disabled, disable it */ in ice_disable_lag()
48 if (!netdev_is_rx_handler_busy(lag->netdev)) { in ice_disable_lag()
49 if (!netdev_rx_handler_register(lag->netdev, in ice_disable_lag()
52 lag->handler = true; in ice_disable_lag()
55 lag->dis_lag++; in ice_disable_lag()
60 * @lag: LAG struct
65 static inline void ice_enable_lag(struct ice_lag *lag) in ice_enable_lag() argument
67 if (lag->dis_lag) in ice_enable_lag()
68 lag->dis_lag--; in ice_enable_lag()
69 if (!lag->dis_lag && lag->handler) { in ice_enable_lag()
71 netdev_rx_handler_unregister(lag->netdev); in ice_enable_lag()
73 lag->handler = false; in ice_enable_lag()
78 * ice_is_lag_dis - is LAG disabled
79 * @lag: LAG struct
83 static inline bool ice_is_lag_dis(struct ice_lag *lag) in ice_is_lag_dis() argument
85 return !!(lag->dis_lag); in ice_is_lag_dis()