Home
last modified time | relevance | path

Searched refs:s_info (Results 1 – 4 of 4) sorted by relevance

/drivers/net/team/
Dteam_mode_loadbalance.c444 static void __lb_stats_info_refresh_prepare(struct lb_stats_info *s_info) in __lb_stats_info_refresh_prepare() argument
446 memcpy(&s_info->last_stats, &s_info->stats, sizeof(struct lb_stats)); in __lb_stats_info_refresh_prepare()
447 memset(&s_info->stats, 0, sizeof(struct lb_stats)); in __lb_stats_info_refresh_prepare()
450 static bool __lb_stats_info_refresh_check(struct lb_stats_info *s_info, in __lb_stats_info_refresh_check() argument
453 if (memcmp(&s_info->last_stats, &s_info->stats, in __lb_stats_info_refresh_check()
455 team_option_inst_set_change(s_info->opt_inst_info); in __lb_stats_info_refresh_check()
482 struct lb_stats_info *s_info; in lb_stats_refresh() local
500 s_info = &lb_priv->ex->stats.info[j]; in lb_stats_refresh()
501 __lb_stats_info_refresh_prepare(s_info); in lb_stats_refresh()
505 __lb_one_cpu_stats_add(&s_info->stats, stats, in lb_stats_refresh()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2978 struct mlx4_vport_state *s_info; in mlx4_set_vf_mac() local
2992 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_mac()
2994 if (s_info->spoofchk && is_zero_ether_addr(mac)) { in mlx4_set_vf_mac()
2999 s_info->mac = ether_addr_to_u64(mac); in mlx4_set_vf_mac()
3001 vf, port, s_info->mac); in mlx4_set_vf_mac()
3170 struct mlx4_vport_state *s_info; in mlx4_set_vf_spoofchk() local
3183 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_spoofchk()
3185 u64_to_ether_addr(s_info->mac, mac); in mlx4_set_vf_spoofchk()
3191 s_info->spoofchk = setting; in mlx4_set_vf_spoofchk()
3200 struct mlx4_vport_state *s_info; in mlx4_get_vf_config() local
[all …]
Deq.c509 struct mlx4_vport_state *s_info; in mlx4_eq_int() local
625 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; in mlx4_eq_int()
626 if (IFLA_VF_LINK_STATE_AUTO == s_info->link_state) { in mlx4_eq_int()
666 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; in mlx4_eq_int()
667 if (IFLA_VF_LINK_STATE_AUTO == s_info->link_state) { in mlx4_eq_int()
/drivers/media/platform/samsung/exynos4-is/
Dfimc-lite-reg.h136 struct fimc_source_info *s_info);