| /freebsd/sys/net/ |
| H A D | if_media.h | 821 { IFM_ETHER | IFM_10_T, IF_Mbps(10) }, \ 822 { IFM_ETHER | IFM_10_2, IF_Mbps(10) }, \ 823 { IFM_ETHER | IFM_10_5, IF_Mbps(10) }, \ 824 { IFM_ETHER | IFM_100_TX, IF_Mbps(100) }, \ 825 { IFM_ETHER | IFM_100_FX, IF_Mbps(100) }, \ 826 { IFM_ETHER | IFM_100_T4, IF_Mbps(100) }, \ 827 { IFM_ETHER | IFM_100_VG, IF_Mbps(100) }, \ 828 { IFM_ETHER | IFM_100_T2, IF_Mbps(100) }, \ 829 { IFM_ETHER | IFM_100_BX, IF_Mbps(100) }, \ 830 { IFM_ETHER | IFM_1000_SX, IF_Mbps(1000) }, \ [all …]
|
| H A D | if.h | 192 #define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */ macro 193 #define IF_Gbps(x) (IF_Mbps((x) * 1000)) /* gigabits/sec. */
|
| H A D | ieee8023ad_lacp.c | 1159 case IF_Mbps(10): in lacp_compose_key() 1162 case IF_Mbps(100): in lacp_compose_key() 1168 case IF_Mbps(2500): in lacp_compose_key()
|
| H A D | if_ethersubr.c | 951 ifp->if_baudrate = IF_Mbps(10); /* just a default */ in ether_ifattach()
|
| /freebsd/sys/dev/ixgbe/ |
| H A D | ixgbe_osdep.c | 104 baudrate = IF_Mbps(2500); in ixgbe_link_speed_to_baudrate() 110 baudrate = IF_Mbps(100); in ixgbe_link_speed_to_baudrate() 113 baudrate = IF_Mbps(10); in ixgbe_link_speed_to_baudrate()
|
| H A D | if_ixv.c | 1442 (uintmax_t)(baudrate / IF_Mbps(1))); in ixv_if_update_admin_status()
|
| /freebsd/sbin/ifconfig/ |
| H A D | ifvfstatus.c | 44 else if (rate % IF_Mbps(1) == 0) in vf_print_rate() 45 printf(" %s=%" PRIu64 "Mbps", name, rate / IF_Mbps(1)); in vf_print_rate() 170 if (speed % IF_Mbps(1) == 0) in vf_status() 171 printf(" speed=%" PRIu64 "Mbps", speed / IF_Mbps(1)); in vf_status()
|
| /freebsd/sys/dev/sfxge/ |
| H A D | sfxge_port.c | 299 [EFX_LINK_10HDX] = IF_Mbps(10), 300 [EFX_LINK_10FDX] = IF_Mbps(10), 301 [EFX_LINK_100HDX] = IF_Mbps(100), 302 [EFX_LINK_100FDX] = IF_Mbps(100),
|
| /freebsd/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_verbs.c | 1721 netdev_speed = IF_Mbps(1000); in ib_get_eth_speed() 1725 if (netdev_speed <= IF_Mbps(1000)) { in ib_get_eth_speed() 1728 } else if (netdev_speed <= IF_Mbps(10000)) { in ib_get_eth_speed() 1731 } else if (netdev_speed <= IF_Mbps(20000)) { in ib_get_eth_speed() 1734 } else if (netdev_speed <= IF_Mbps(25000)) { in ib_get_eth_speed() 1737 } else if (netdev_speed <= IF_Mbps(40000)) { in ib_get_eth_speed()
|
| /freebsd/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII.c | 385 if (mibif_maxspeed <= IF_Mbps(10)) { in mibif_reset_hc_timer() 388 } else if (mibif_maxspeed <= IF_Mbps(100)) { in mibif_reset_hc_timer() 391 } else if (mibif_maxspeed < IF_Mbps(622)) { in mibif_reset_hc_timer() 394 } else if (mibif_maxspeed <= IF_Mbps(1000)) { in mibif_reset_hc_timer()
|
| /freebsd/sys/dev/ixl/ |
| H A D | ixl_txrx.c | 823 return IF_Mbps(100); in ixl_max_vc_speed_to_value() 826 return IF_Mbps(100); in ixl_max_vc_speed_to_value()
|
| H A D | ixl_pf_main.c | 3044 return IF_Mbps(2500); in ixl_max_aq_speed_to_value() 3048 return IF_Mbps(100); in ixl_max_aq_speed_to_value() 3051 return IF_Mbps(100); in ixl_max_aq_speed_to_value()
|
| /freebsd/sys/dev/aq/ |
| H A D | aq_irq.c | 381 iflib_link_state_change(ctx, LINK_STATE_UP, IF_Mbps(link_speed)); in aq_if_update_admin_status()
|
| /freebsd/sys/dev/iavf/ |
| H A D | iavf_lib.c | 1062 return IF_Mbps(100); in iavf_max_vc_speed_to_value() 1065 return IF_Mbps(100); in iavf_max_vc_speed_to_value()
|
| /freebsd/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_main.c | 64 .baudrate = IF_Mbps(1000ULL), 68 .baudrate = IF_Mbps(1000ULL), 136 .baudrate = IF_Mbps(100ULL), 140 .baudrate = IF_Mbps(1000ULL), 177 .baudrate = IF_Mbps(100), 183 .baudrate = IF_Mbps(1000), 187 .baudrate = IF_Mbps(1000), 193 .baudrate = IF_Mbps(5000), 197 .baudrate = IF_Mbps(5000),
|
| /freebsd/sys/dev/rge/ |
| H A D | if_rge.c | 1470 if_setbaudrate(ifp, IF_Mbps(2500)); in rge_ifmedia_upd() 1481 if_setbaudrate(ifp, IF_Mbps(100)); in rge_ifmedia_upd() 1488 if_setbaudrate(ifp, IF_Mbps(10)); in rge_ifmedia_upd()
|
| /freebsd/sys/dev/usb/net/ |
| H A D | if_ure.c | 1384 if_setbaudrate(ifp, IF_Mbps(2500)); in ure_ifmedia_upd() 1393 if_setbaudrate(ifp, IF_Mbps(100)); in ure_ifmedia_upd() 1397 if_setbaudrate(ifp, IF_Mbps(10)); in ure_ifmedia_upd()
|
| /freebsd/sys/dev/bce/ |
| H A D | if_bce.c | 1392 if_setbaudrate(ifp, IF_Mbps(2500ULL)); in bce_attach() 1394 if_setbaudrate(ifp, IF_Mbps(1000)); in bce_attach() 6215 if_setbaudrate(ifp, IF_Mbps(10UL)); in bce_ifmedia_sts_rphy() 6219 if_setbaudrate(ifp, IF_Mbps(10UL)); in bce_ifmedia_sts_rphy() 6223 if_setbaudrate(ifp, IF_Mbps(100UL)); in bce_ifmedia_sts_rphy() 6227 if_setbaudrate(ifp, IF_Mbps(100UL)); in bce_ifmedia_sts_rphy() 6234 if_setbaudrate(ifp, IF_Mbps(1000UL)); in bce_ifmedia_sts_rphy() 6241 if_setbaudrate(ifp, IF_Mbps(1000UL)); in bce_ifmedia_sts_rphy() 6249 if_setbaudrate(ifp, IF_Mbps(2500UL)); in bce_ifmedia_sts_rphy() 6257 if_setbaudrate(ifp, IF_Mbps(2500UL)); in bce_ifmedia_sts_rphy()
|
| /freebsd/sys/dev/e1000/ |
| H A D | if_igbv.c | 621 IF_Mbps(sc->link_speed)); in igbv_if_update_admin_status()
|
| /freebsd/sys/dev/ice/ |
| H A D | ice_lib.c | 969 return IF_Mbps(2500); in ice_aq_speed_to_rate() 971 return IF_Mbps(1000); in ice_aq_speed_to_rate() 973 return IF_Mbps(100); in ice_aq_speed_to_rate() 975 return IF_Mbps(10); in ice_aq_speed_to_rate() 1238 IF_Mbps(100), in ice_phy_types_to_max_rate() 1239 IF_Mbps(100), in ice_phy_types_to_max_rate() 1245 IF_Mbps(2500ULL), in ice_phy_types_to_max_rate() 1246 IF_Mbps(2500ULL), in ice_phy_types_to_max_rate() 1247 IF_Mbps(2500ULL), in ice_phy_types_to_max_rate()
|
| /freebsd/sys/dev/axgbe/ |
| H A D | if_axgbe_pci.c | 2316 IF_Mbps(100)); in axgbe_if_update_admin_status() 2319 IF_Mbps(10)); in axgbe_if_update_admin_status()
|
| /freebsd/sys/dev/mlx4/mlx4_en/ |
| H A D | mlx4_en_netdev.c | 1030 IF_Mbps(priv->port_state.link_speed)); in mlx4_en_do_set_rx_mode() 1251 IF_Mbps(priv->port_state.link_speed)); in mlx4_en_linkstate()
|
| /freebsd/sys/dev/bnxt/bnxt_en/ |
| H A D | if_bnxt.c | 5626 return IF_Mbps(100); in bnxt_get_baudrate() 5632 return IF_Mbps(2500); in bnxt_get_baudrate() 5646 return IF_Mbps(10); in bnxt_get_baudrate()
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211.c | 708 ifp->if_baudrate = IF_Mbps(maxrate); in ieee80211_vap_attach()
|
| /freebsd/sys/dev/cxgb/ |
| H A D | cxgb_main.c | 1190 if_setbaudrate(ifp, IF_Mbps(speed)); in t3_os_link_changed()
|