Lines Matching refs:role
29 if (lag->role != ICE_LAG_UNSET && lag->role != ICE_LAG_BACKUP) { in ice_lag_set_primary()
35 lag->role = ICE_LAG_PRIMARY; in ice_lag_set_primary()
49 if (lag->role != ICE_LAG_UNSET && lag->role != ICE_LAG_PRIMARY) { in ice_lag_set_backup()
55 lag->role = ICE_LAG_BACKUP; in ice_lag_set_backup()
64 const char *name, *peer, *upper, *role, *bonded, *primary; in ice_display_lag_info() local
73 switch (lag->role) { in ice_display_lag_info()
75 role = "NONE"; in ice_display_lag_info()
78 role = "PRIMARY"; in ice_display_lag_info()
81 role = "BACKUP"; in ice_display_lag_info()
84 role = "UNSET"; in ice_display_lag_info()
87 role = "ERROR"; in ice_display_lag_info()
91 bonded, peer, upper, role, primary); in ice_display_lag_info()
165 lag->role = ICE_LAG_UNSET; in ice_lag_link()
211 lag->role = ICE_LAG_NONE; in ice_lag_unlink()
237 lag->role = ICE_LAG_NONE; in ice_lag_unregister()
408 lag->role = ICE_LAG_NONE; in ice_init_lag()