Home
last modified time | relevance | path

Searched refs:max_frame_size (Results 1 – 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c289 if ((Adapter->max_frame_size > FRAME_SIZE_UPTO_2K) && in e1000g_rx_setup()
290 (Adapter->max_frame_size <= FRAME_SIZE_UPTO_4K)) in e1000g_rx_setup()
292 else if ((Adapter->max_frame_size > FRAME_SIZE_UPTO_4K) && in e1000g_rx_setup()
293 (Adapter->max_frame_size <= FRAME_SIZE_UPTO_8K)) in e1000g_rx_setup()
295 else if ((Adapter->max_frame_size > FRAME_SIZE_UPTO_8K) && in e1000g_rx_setup()
296 (Adapter->max_frame_size <= FRAME_SIZE_UPTO_16K)) in e1000g_rx_setup()
487 max_size = Adapter->max_frame_size - ETHERFCSL - VLAN_TAGSZ; in e1000g_receive()
564 Adapter->min_frame_size, Adapter->max_frame_size)) { in e1000g_receive()
782 max_size = Adapter->max_frame_size - ETHERFCSL; in e1000g_receive()
H A DREADME55 < if (Adapter->Shared.max_frame_size == FRAME_SIZE_UPTO_16K)
57 > if (Adapter->Shared.max_frame_size == ETHERMTU) {
59 > else if (Adapter->Shared.max_frame_size == FRAME_SIZE_UPTO_16K) {
82 < Adapter->Shared.max_frame_size = FRAME_SIZE_UPTO_2K;
84 > Adapter->Shared.max_frame_size = ETHERMTU;
86 < Adapter->Shared.max_frame_size = FRAME_SIZE_UPTO_2K;
88 > Adapter->Shared.max_frame_size = ETHERMTU;
620 …6767201 e1000g default_mtu does not coincide with max_frame_size on some chipsets when set via e10…
H A De1000g_main.c983 Adapter->dvma_page_num = Adapter->max_frame_size / in e1000g_set_bufsize()
997 rx_size = Adapter->max_frame_size; in e1000g_set_bufsize()
1012 tx_size = Adapter->max_frame_size; in e1000g_set_bufsize()
1475 if (Adapter->max_frame_size > FRAME_SIZE_UPTO_8K) in e1000g_init()
1485 if (Adapter->max_frame_size > FRAME_SIZE_UPTO_8K) in e1000g_init()
1530 if (Adapter->max_frame_size > FRAME_SIZE_UPTO_8K) in e1000g_init()
1555 ((pba << 10) - Adapter->max_frame_size))); in e1000g_init()
3540 Adapter->max_frame_size = in e1000g_m_setprop()
3555 if (Adapter->max_frame_size >= in e1000g_m_setprop()
4152 if (Adapter->max_frame_size >= FRAME_SIZE_UPTO_4K) { in e1000g_get_conf()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_dds.c83 uint32_t max_frame_size; member
98 uint64_t macaddr, uint32_t max_frame_size);
422 uint32_t max_frame_size; in vdds_process_dds_msg_task() local
437 max_frame_size = vnetp->mtu + in vdds_process_dds_msg_task()
440 dmsg->msg.share_msg.macaddr, max_frame_size); in vdds_process_dds_msg_task()
579 vdds_create_niu_node(uint64_t cookie, uint64_t macaddr, uint32_t max_frame_size) in vdds_create_niu_node() argument
601 cba.max_frame_size = max_frame_size; in vdds_create_niu_node()
618 cba.max_frame_size = max_frame_size; in vdds_create_niu_node()
1038 cba->max_frame_size) != DDI_SUCCESS) { in vdds_new_niu_node()
H A Dvnet_gen.c1364 vgenp->max_frame_size = vnetp->mtu + in vgen_read_mdprops()
1664 mblk_sz = (VIO_PKT_DATA_HDRSIZE + vgenp->max_frame_size + 7) & ~7; in vgen_read_pri_eth_types()
2071 vgenp->max_frame_size = mtu + in vgen_update_md_prop()
2515 ldcp->msglen = VIO_PKT_DATA_HDRSIZE + vgenp->max_frame_size; in vgen_ldc_attach()
3694 lp->mtu = vgenp->max_frame_size; in vgen_set_vnet_proto_ops()
3845 ldcp->local_hparams.mtu = vgenp->max_frame_size; in vgen_setup_handshake_params()
4661 mtu = MIN(msg->mtu, vgenp->max_frame_size); in vgen_handle_attr_info()
5771 dblk_sz = RXDRING_DBLK_SZ(vgenp->max_frame_size); in vgen_mapin_avail()
H A Dvsw_txdring.c247 data_sz = vswp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN; in vsw_setup_tx_dring()
529 data_sz = vswp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN; in vsw_init_multipools()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_api.h155 min_frame_size, max_frame_size) \ argument
161 ((length) <= ((max_frame_size) + 1))) : \
163 ((length) <= ((max_frame_size) + VLAN_TAG_SIZE + 1)))))
H A De1000_82543.h52 u32 max_frame_size);
H A DREADME55 < if (Adapter->Shared.max_frame_size == FRAME_SIZE_UPTO_16K)
57 > if (Adapter->Shared.max_frame_size == ETHERMTU) {
59 > else if (Adapter->Shared.max_frame_size == FRAME_SIZE_UPTO_16K) {
82 < Adapter->Shared.max_frame_size = FRAME_SIZE_UPTO_2K;
84 > Adapter->Shared.max_frame_size = ETHERMTU;
86 < Adapter->Shared.max_frame_size = FRAME_SIZE_UPTO_2K;
88 > Adapter->Shared.max_frame_size = ETHERMTU;
620 …6767201 e1000g default_mtu does not coincide with max_frame_size on some chipsets when set via e10…
H A De1000_82543.c413 u8 *mac_addr, u32 max_frame_size) in e1000_tbi_adjust_stats_82543() argument
449 if ((frame_len == max_frame_size) && (stats->roc > 0)) in e1000_tbi_adjust_stats_82543()
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb.c54 int max_frame_size) in ixgbe_dcb_calculate_tc_credits() argument
60 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits()
97 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument
116 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits_cee()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dmac_drv_info.h142 u32 max_frame_size; /* Max Frame Size. bytes */ member
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvsw.h141 uint32_t max_frame_size; /* max frame size supported */ member
H A Dvnet_gen.h434 uint32_t max_frame_size; /* max frame size supported */ member
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_gld.c527 ixgbe->max_frame_size = ixgbe->default_mtu + in ixgbe_m_setprop()
533 rx_size = ixgbe->max_frame_size + IPHDR_ALIGN_ROOM; in ixgbe_m_setprop()
540 tx_size = ixgbe->max_frame_size; in ixgbe_m_setprop()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_hw_eth.h446 uint16_t max_frame_size; member
449 uint16_t max_frame_size; member
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfctl.h262 uint32_t max_frame_size; member
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A De1000_hw.h923 uint32_t max_frame_size;
1626 ((length) <= ((adapter)->max_frame_size + 1))) : \
1628 ((length) <= ((adapter)->max_frame_size + VLAN_TAG_SIZE + 1)))))
/illumos-gate/usr/src/uts/common/sys/
H A Dfct.h181 uint32_t max_frame_size; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c323 attrs->max_frame_size = ha->loginparams.common_service.rx_bufsize; in ql_populate_hba_fru_details()
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_gld.c1153 igb->max_frame_size = igb->default_mtu + in igb_m_setprop()
1159 rx_size = igb->max_frame_size + IPHDR_ALIGN_ROOM; in igb_m_setprop()
1166 tx_size = igb->max_frame_size; in igb_m_setprop()
H A Digb_main.c914 mac->m_max_sdu = igb->max_frame_size - in igb_register_mac()
1074 rx_size = igb->max_frame_size + IPHDR_ALIGN_ROOM; in igb_init_driver_settings()
1081 tx_size = igb->max_frame_size; in igb_init_driver_settings()
1418 min_tx = (igb->max_frame_size + in igb_init_adapter()
1422 min_rx = igb->max_frame_size; in igb_init_adapter()
1450 ((pba << 10) - 2 * igb->max_frame_size)); in igb_init_adapter()
2259 E1000_WRITE_REG(hw, E1000_RLPML, igb->max_frame_size); in igb_setup_rx()
2946 igb->max_frame_size = default_mtu + in igb_get_conf()
H A Digb_tx.c147 (mbsize > (igb->max_frame_size - ETHERFCSL)))) { in igb_tx()
154 if (mbsize > (igb->max_frame_size - ETHERFCSL)) { in igb_tx()
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_hw.h449 u32 max_frame_size; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_mpi.c933 mbx_cmds.mb[2] = new_cfg.max_frame_size; in ql_set_mpi_port_config()
1015 qlge->port_cfg_info.max_frame_size = mbx_cmds.mb[2]; in ql_get_port_cfg()

123