Home
last modified time | relevance | path

Searched refs:default_mtu (Results 1 – 22 of 22) sorted by relevance

/titanic_44/usr/src/uts/common/io/nge/
H A Dnge_main.c166 static char default_mtu[] = "default_mtu"; variable
1002 ngep->default_mtu = ddi_prop_get_int(DDI_DEV_T_ANY, devinfo, in nge_get_props()
1003 DDI_PROP_DONTPASS, default_mtu, ETHERMTU); in nge_get_props()
1005 ngep->default_mtu = ETHERMTU; in nge_get_props()
1016 if (ngep->default_mtu > ETHERMTU && in nge_get_props()
1017 ngep->default_mtu <= NGE_MTU_2500) { in nge_get_props()
1023 } else if (ngep->default_mtu > NGE_MTU_2500 && in nge_get_props()
1024 ngep->default_mtu <= NGE_MTU_4500) { in nge_get_props()
1030 } else if (ngep->default_mtu > NGE_MTU_4500 && in nge_get_props()
1031 ngep->default_mtu <= NGE_MAX_MTU) { in nge_get_props()
[all …]
H A Dnge.h727 uint32_t default_mtu; member
/titanic_44/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c277 if (Adapter->default_mtu > ETHERMTU) in e1000g_rx_setup()
321 if (Adapter->default_mtu > ETHERMTU) { in e1000g_rx_setup()
332 (Adapter->default_mtu > ETHERMTU)) { in e1000g_rx_setup()
351 boolean_t enable_jumbo = (Adapter->default_mtu > ETHERMTU ? in e1000g_rx_setup()
H A De1000g_main.c619 mac->m_max_sdu = Adapter->default_mtu; in e1000g_register_mac()
3483 cur_mtu = Adapter->default_mtu; in e1000g_m_setprop()
3502 Adapter->default_mtu = new_mtu; in e1000g_m_setprop()
4781 Adapter->default_mtu = ETHERMTU; in e1000g_get_max_frame_size()
4784 Adapter->default_mtu = FRAME_SIZE_UPTO_4K - in e1000g_get_max_frame_size()
4788 Adapter->default_mtu = FRAME_SIZE_UPTO_8K - in e1000g_get_max_frame_size()
4792 Adapter->default_mtu = FRAME_SIZE_UPTO_16K - in e1000g_get_max_frame_size()
4796 Adapter->default_mtu = ETHERMTU; in e1000g_get_max_frame_size()
4804 if (Adapter->default_mtu > Adapter->max_mtu) in e1000g_get_max_frame_size()
4805 Adapter->default_mtu = Adapter->max_mtu; in e1000g_get_max_frame_size()
[all …]
H A De1000g_sw.h904 uint32_t default_mtu; member
H A DREADME620 …6767201 e1000g default_mtu does not coincide with max_frame_size on some chipsets when set via e10…
/titanic_44/usr/src/uts/common/io/ixgbe/
H A Dixgbe_gld.c439 cur_mtu = ixgbe->default_mtu; in ixgbe_m_setprop()
458 ixgbe->default_mtu = new_mtu; in ixgbe_m_setprop()
459 ixgbe->max_frame_size = ixgbe->default_mtu + in ixgbe_m_setprop()
H A Dixgbe_sw.h640 uint32_t default_mtu; member
H A Dixgbe_main.c934 mac->m_max_sdu = ixgbe->default_mtu; in ixgbe_register_mac()
2516 reg_val |= (ixgbe->default_mtu + sizeof (struct ether_header) in ixgbe_setup_rx()
2524 if (ixgbe->default_mtu > ETHERMTU) in ixgbe_setup_rx()
3320 ixgbe->default_mtu = ixgbe_get_prop(ixgbe, PROP_DEFAULT_MTU, in ixgbe_get_conf()
3323 ixgbe->max_frame_size = ixgbe->default_mtu + in ixgbe_get_conf()
/titanic_44/usr/src/uts/common/io/rge/
H A Drge_chip.c748 if (rgep->default_mtu > ETHERMTU) { in rge_chip_ident()
751 rgep->default_mtu = ETHERMTU; in rge_chip_ident()
762 if (rgep->default_mtu < ETHERMTU || rgep->default_mtu > RGE_JUMBO_MTU) in rge_chip_ident()
763 rgep->default_mtu = ETHERMTU; in rge_chip_ident()
764 if (rgep->default_mtu > ETHERMTU) { in rge_chip_ident()
964 if (rgep->default_mtu > ETHERMTU) { in rge_chip_init()
H A Drge.h397 uint32_t default_mtu; member
H A Drge_main.c1611 rgep->default_mtu = ddi_prop_get_int(DDI_DEV_T_ANY, devinfo, in rge_attach()
1830 macp->m_max_sdu = rgep->default_mtu; in rge_attach()
/titanic_44/usr/src/uts/common/sys/nxge/
H A Dnxge_mac.h249 uint32_t default_mtu; member
/titanic_44/usr/src/uts/common/io/igb/
H A Digb_gld.c1153 cur_mtu = igb->default_mtu; in igb_m_setprop()
1167 igb->default_mtu = new_mtu; in igb_m_setprop()
1168 igb->max_frame_size = igb->default_mtu + in igb_m_setprop()
H A Digb_main.c1322 uint32_t default_mtu; in igb_init_adapter() local
1366 default_mtu = igb_get_prop(igb, PROP_DEFAULT_MTU, in igb_init_adapter()
1368 if ((hw->mac.type == e1000_82575) && (default_mtu > ETHERMTU)) { in igb_init_adapter()
2846 uint32_t default_mtu; in igb_get_conf() local
2898 default_mtu = igb_get_prop(igb, PROP_DEFAULT_MTU, in igb_get_conf()
2901 igb->max_frame_size = default_mtu + in igb_get_conf()
H A Digb_sw.h579 uint32_t default_mtu; member
/titanic_44/usr/src/uts/common/io/bge/
H A Dbge_main2.c65 static char default_mtu[] = "default_mtu"; variable
845 cur_mtu = bgep->chipid.default_mtu;
866 bgep->chipid.default_mtu = new_mtu;
3832 cidp->default_mtu = ddi_prop_get_int(DDI_DEV_T_ANY, devinfo,
3833 DDI_PROP_DONTPASS, default_mtu, BGE_DEFAULT_MTU);
3834 if ((cidp->default_mtu < BGE_DEFAULT_MTU) ||
3835 (cidp->default_mtu > BGE_MAXIMUM_MTU)) {
3836 cidp->default_mtu = BGE_DEFAULT_MTU;
H A Dbge_impl.h649 uint32_t default_mtu; /* from bge.conf */ member
H A Dbge_mii.c626 (bgep->chipid.default_mtu > BGE_DEFAULT_MTU)) { in bge_restart_copper()
H A Dbge_chip2.c3046 (cidp->default_mtu > BGE_DEFAULT_MTU)) { in bge_chip_id_init()
3067 cidp->ethmax_size = cidp->default_mtu + in bge_chip_id_init()
4657 bgep->chipid.default_mtu) in bge_chip_start()
/titanic_44/usr/src/uts/common/io/nxge/
H A Dnxge_main.c786 nxgep->mac.default_mtu = nxgep->mac.maxframesize - in nxge_attach()
4601 cur_mtu = nxgep->mac.default_mtu; in nxge_m_setprop()
4635 nxgep->mac.default_mtu = new_mtu; in nxge_m_setprop()
6558 nxgep->mac.default_mtu = nxgep->mac.maxframesize - in nxge_mac_register()
6560 macp->m_max_sdu = nxgep->mac.default_mtu; in nxge_mac_register()
/titanic_44/usr/src/uts/common/io/e1000api/
H A DREADME620 …6767201 e1000g default_mtu does not coincide with max_frame_size on some chipsets when set via e10…