Searched refs:line_speed (Results 1 – 13 of 13) sorted by relevance
503 if (vars->line_speed == SPEED_20000) in bnx2x_ets_get_min_w_val_nig()1568 switch (vars->line_speed) { in bnx2x_umac_enable()1583 vars->line_speed); in bnx2x_umac_enable()1743 bnx2x_xmac_init(params, vars->line_speed); in bnx2x_xmac_enable()1787 if ((vars->line_speed == SPEED_20000) && in bnx2x_xmac_enable()2469 u32 line_speed) in bnx2x_pbf_update() argument2497 line_speed == SPEED_10 || in bnx2x_pbf_update()2498 line_speed == SPEED_100 || in bnx2x_pbf_update()2499 line_speed == SPEED_1000 || in bnx2x_pbf_update()2500 line_speed == SPEED_2500) { in bnx2x_pbf_update()[all …]
239 cmd->base.speed = bp->vf_link_vars.line_speed; in bnx2x_get_vf_link_ksettings()290 cmd->base.speed = bp->link_vars.line_speed; in bnx2x_get_link_ksettings()402 u32 line_speed = bp->link_vars.line_speed; in bnx2x_set_link_ksettings() local405 if (!line_speed) in bnx2x_set_link_ksettings()406 line_speed = 10000; in bnx2x_set_link_ksettings()415 part = (speed * 100) / line_speed; in bnx2x_set_link_ksettings()417 if (line_speed < speed || !part) { in bnx2x_set_link_ksettings()3322 bp->link_vars.line_speed); in bnx2x_set_phys_id()
354 u16 line_speed; member
1172 u16 line_speed = bp->link_vars.line_speed; in bnx2x_get_mf_speed() local1181 line_speed = (line_speed * maxCfg) / 100; in bnx2x_get_mf_speed()1185 if (vn_max_rate < line_speed) in bnx2x_get_mf_speed()1186 line_speed = vn_max_rate; in bnx2x_get_mf_speed()1190 return line_speed; in bnx2x_get_mf_speed()1208 data->line_speed = bnx2x_get_mf_speed(bp); in bnx2x_fill_report_data()1334 cur_data.line_speed, duplex, flow); in __bnx2x_link_report()
1468 bulletin->link_speed = state->line_speed; in bnx2x_iov_link_update_vf()3081 bp->vf_link_vars.line_speed = bulletin->link_speed; in bnx2x_sample_bulletin()
1245 u16 line_speed; /* Effective line speed */ member
2514 vn_max_rate = (bp->link_vars.line_speed * maxCfg) / 100; in bnx2x_calc_vn_max()2576 input.port_rate = bp->link_vars.line_speed; in bnx2x_cmng_fns_init()2674 if (bp->link_vars.link_up && bp->link_vars.line_speed) in bnx2x_link_attn()2722 bp->link_vars.line_speed = SPEED_10000; in bnx2x__link_status_update()3337 bp->link_vars.line_speed = SPEED_10000; in bnx2x_pf_init()
404 unsigned int line_speed; member956 np->line_speed = 1; /* 10M */ in getlinktype()958 np->line_speed = 2; /* 100M */ in getlinktype()965 np->line_speed = 2; /* 100M */ in getlinktype()967 np->line_speed = 1; /* 10M */ in getlinktype()977 np->line_speed = 2; /* 100M */ in getlinktype()979 np->line_speed = 1; /* 10M */ in getlinktype()996 np->line_speed = 3; /* 1000M */ in getlinktype()998 np->line_speed = 2; /* 100M */ in getlinktype()1000 np->line_speed = 1; /* 10M */ in getlinktype()[all …]
943 switch (bp->line_speed) { in bnx2_report_fw_link()1006 bp->line_speed, in bnx2_report_link()1118 bp->line_speed = bp->req_line_speed; in bnx2_5709s_linkup()1125 bp->line_speed = SPEED_10; in bnx2_5709s_linkup()1128 bp->line_speed = SPEED_100; in bnx2_5709s_linkup()1132 bp->line_speed = SPEED_1000; in bnx2_5709s_linkup()1135 bp->line_speed = SPEED_2500; in bnx2_5709s_linkup()1154 bp->line_speed = SPEED_10; in bnx2_5708s_linkup()1157 bp->line_speed = SPEED_100; in bnx2_5708s_linkup()1160 bp->line_speed = SPEED_1000; in bnx2_5708s_linkup()[all …]
6949 u16 line_speed; member
91 u32 line_speed; member
5273 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()5276 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()5340 if (!p_link->line_speed) in __qed_configure_pf_min_bandwidth()5343 p_link->min_pf_rate = (p_link->line_speed * min_bw) / 100; in __qed_configure_pf_min_bandwidth()
1426 p_link->line_speed = p_link->speed; in qed_mcp_handle_link_change()1428 p_link->line_speed = 0; in qed_mcp_handle_link_change()