/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | ib_user_sa.h | 56 uint32_t mtu; member in struct:ib_user_path_rec
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_ua_common.c | 182 size_t mtu; local 192 mtu = slp_get_mtu(); 193 if (len > mtu)
|
H A D | slp_net.c | 198 size_t mtu; local 209 mtu = slp_get_mtu(); 230 if (!reply && !(reply = malloc(mtu))) { 263 if (recvfrom(sockfd, reply, mtu, 0, NULL, NULL) < 0) { 642 size_t mtu; local 645 mtu = slp_get_mtu(); 659 if ((err = slp_add_header(hp->locale, header, mtu, 1017 size_t mtu = slp_get_mtu(); local 1041 if (!reply && !(reply = malloc(mtu))) { 1045 if (recvfrom(pfd[i].fd, reply, mtu, 1218 size_t mtu; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | demand.c | 78 int mtu; local 93 if ((mtu = lcp_allowoptions[0].mru) == 0) 94 mtu = PPP_MTU; 95 ppp_send_config(0, mtu, (u_int32_t) 0, 0, 0);
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vnet_mailbox.h | 93 uint64_t mtu; /* maximum data xfer unit */ member in struct:vnet_attr_msg
|
H A D | vldc_impl.h | 43 #define VLDC_DEFAULT_MTU 0x1000 /* default mtu size 4K */ 100 uint32_t mtu; /* port mtu */ member in struct:vldc_port
|
H A D | ldc.h | 110 uint64_t mtu; /* channel mtu */ member in struct:ldc_attr
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_mac.c | 165 __in uint32_t mtu) 180 MCDI_IN_SET_DWORD(req, SET_MAC_EXT_IN_MTU, mtu); 163 efx_mcdi_mtu_set( __in efx_nic_t *enp, __in uint32_t mtu) argument
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | vsc7321.c | 364 static int mac_set_mtu(struct cmac *mac, int mtu) argument
|
H A D | ch_mac.c | 304 static int mac_set_mtu(struct cmac *mac, int mtu) argument 306 if (mtu > 9600) 310 mtu + 14 + 4);
|
H A D | vsc7326.c | 476 static int mac_set_mtu(struct cmac *mac, int mtu) argument 480 if (mtu > MAX_MTU) 484 vsc_write(mac->adapter, REG_MAX_LEN(port), mtu + 14 + 4);
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_qpmod.c | 76 static int hermon_qp_validate_mtu(hermon_state_t *state, uint_t mtu); 935 qpc->mtu = HERMON_MAX_MTU; 1327 uint_t mtu; local 1351 qpc->mtu = HERMON_MAX_MTU; 1362 qp->qp_save_mtu = qpc->mtu; 1434 mtu = rc->rc_path_mtu; 1436 if (hermon_qp_validate_mtu(state, mtu) != DDI_SUCCESS) { 1439 qpc->mtu = mtu; 1446 qp->qp_save_mtu = qpc->mtu; 3429 hermon_qp_validate_mtu(hermon_state_t *state, uint_t mtu) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_qpmod.c | 74 static int tavor_qp_validate_mtu(tavor_state_t *state, uint_t mtu); 1269 uint_t mtu; local 1300 qpc->mtu = 4; 1302 qpc->mtu = state->ts_cfg_profile->cp_max_mtu; 1304 qpc->msg_max = qpc->mtu + 7; /* must equal MTU plus seven */ 1311 qp->qp_save_mtu = qpc->mtu; 1385 mtu = rc->rc_path_mtu; 1386 if (tavor_qp_validate_mtu(state, mtu) != DDI_SUCCESS) { 1388 TAVOR_TNF_ERROR, "", tnf_uint, mtu, mtu); 3492 tavor_qp_validate_mtu(tavor_state_t *state, uint_t mtu) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_saa.c | 893 * mtu - preferred MTU of the path. This argument may be 919 ib_gid_t dgid, ib_pkey_t p_key, ib_mtu_t mtu, boolean_t reversible, 985 * records can only do strictly greater. Set the mtu value to one 986 * less than the mtu parameter. If it's the lowest value possible (256) 987 * don't do anything and any path mtu will be allowed. 989 if ((mtu != IBMF_SAA_MTU_WC) && (mtu > IB_MTU_256)) { 992 path_record.Mtu = (mtu - 1); 918 ibmf_saa_gid_to_pathrecords(ibmf_saa_handle_t ibmf_saa_handle, ib_gid_t sgid, ib_gid_t dgid, ib_pkey_t p_key, ib_mtu_t mtu, boolean_t reversible, uint8_t *num_paths, uint_t flags, size_t *length, sa_path_record_t **result) argument
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/ |
H A D | ofed_kernel.h | 182 uint8_t mtu; member in struct:ib_sa_path_rec
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_gld.c | 357 uint32_t mtu; local 359 bcopy(val, &mtu, sizeof (uint32_t)); 361 if (dev->mtu == mtu) { 366 if (mtu != OCE_MIN_MTU && mtu != OCE_MAX_MTU) { 371 ret = mac_maxsdu_update(dev->mac_handle, mtu); 373 dev->mtu = mtu;
|
H A D | oce_queue.c | 58 uint32_t frag_size, uint32_t mtu, 695 uint32_t frag_size, uint32_t mtu, 718 rq->cfg.mtu = mtu; 853 fwcmd->params.req.max_frame_size = (uint16_t)rq->cfg.mtu; 694 oce_rq_init(struct oce_dev *dev, uint32_t q_len, uint32_t frag_size, uint32_t mtu, boolean_t rss) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_rsrc.c | 476 uint_t mtu = ss->ei_props->ep_mtu; local 490 * If we keep the tx buffers as mtu-sized, then potentially every 501 tx_bufsz = ((lso_enabled) && (EIB_TX_COPY_THRESH > mtu)) ? 502 EIB_TX_COPY_THRESH : mtu; 645 uint_t mtu = ss->ei_props->ep_mtu; local 673 mtu + EIB_GRH_SZ + EIB_IPHDR_ALIGN_ROOM, EIB_WP_TYPE_RX); 713 wqe->qe_bufsz = mtu + EIB_GRH_SZ + EIB_IPHDR_ALIGN_ROOM; 741 buf += (mtu + EIB_GRH_SZ + EIB_IPHDR_ALIGN_ROOM);
|
H A D | enx_ibt.c | 230 * Make sure the multicast mtu isn't bigger than the port mtu 234 ENX_DPRINTF_WARN("solicit mcg (gid=%llx.%llx) mtu too big, " 267 * Verify the multicast group's mtu and qkey as before 270 ENX_DPRINTF_WARN("advertise mcg (gid=%llx.%llx) mtu too big, " 436 uint_t mtu = (128 << info->ti_pi->p_mtu); local 442 tx_bufsz = ENX_NUM_SWQE * mtu; 489 swqe->qe_bufsz = mtu; 504 buf += mtu; 523 uint_t mtu local 970 uint_t mtu = (128 << info->ti_pi->p_mtu); local 1030 uint_t mtu = (128 << info->ti_pi->p_mtu); local [all...] |
/illumos-gate/usr/src/uts/common/io/ppp/sppp/ |
H A D | sppp.c | 981 int mru, mtu; local 1252 mtu = *(uint32_t *)mp->b_cont->b_rptr; 1253 if ((mtu <= 0) || (mtu > PPP_MAXMTU)) { 1257 ppa->ppa_mtu = (uint16_t)mtu; 1265 mtu);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_io.c | 342 /* if vnet/vswitch, probe and add mac-address and mtu properties */ 346 uint64_t mtu, macaddr; local 367 if (md_get_prop_val(cba->mdp, cba->node, "mtu", &mtu)) { 369 "'mtu' prop from MD\n", __func__); 373 if (ndi_prop_update_int64(DDI_DEV_T_NONE, new_node, "mtu", 374 mtu) != DDI_SUCCESS) { 376 "create 'mtu' prop\n", __func__); 381 "mac=%ld, mtu=%ld\n", __func__, devnm, devid, macaddr, mtu); [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_gld_v3.c | 1056 size_t mtu = (size_t)(*((uint32_t *)valp)); local 1058 if (mtu > EFX_MAC_SDU_MAX) { 1063 sp->s_mtu = mtu; 1067 "MTU changing", (uint32_t)mtu); 1156 sp->s_dip, DDI_PROP_DONTPASS, "mtu", ETHERMTU);
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | packet.c | 160 uint_t mtu = lif->lif_max; local 185 if (mtu != dpkt->pkt_max_len && 186 (v6 = realloc(dpkt->pkt, mtu)) != NULL) { 189 dpkt->pkt_max_len = mtu; 194 mtu); 221 if (mtu != dpkt->pkt_max_len && 222 (v4 = realloc(dpkt->pkt, mtu)) != NULL) { 224 dpkt->pkt_max_len = mtu; 229 mtu); 1318 recv_pkt(int fd, int mtu, boolean_ argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_input.c | 837 uint32_t mtu, iremtu; local 1059 mtu = dst_ill->ill_mtu; 1060 if ((iremtu = ire->ire_metrics.iulp_mtu) != 0 && iremtu < mtu) 1061 mtu = iremtu; 1062 ip_forward_xmit_v6(nce, mp, ip6h, ira, mtu, added_tx_len); 1074 uint32_t mtu, uint32_t added_tx_len) 1105 if (pkt_len > mtu) { 1116 mtu = tsol_pmtu_adjust(mp, mtu, added_tx_len, AF_INET6); 1118 icmp_pkt2big_v6(mp, mtu, B_TRU 1073 ip_forward_xmit_v6(nce_t *nce, mblk_t *mp, ip6_t *ip6h, ip_recv_attr_t *ira, uint32_t mtu, uint32_t added_tx_len) argument [all...] |
H A D | ip_input.c | 846 uint32_t mtu, iremtu; local 1103 mtu = dst_ill->ill_mtu; 1104 if ((iremtu = ire->ire_metrics.iulp_mtu) != 0 && iremtu < mtu) 1105 mtu = iremtu; 1106 ip_forward_xmit_v4(nce, ill, mp, ipha, ira, mtu, added_tx_len); 1116 ip_recv_attr_t *ira, uint32_t mtu, uint32_t added_tx_len) 1176 if (pkt_len > mtu) { 1201 mtu = tsol_pmtu_adjust(mp, mtu, added_tx_len, 1205 icmp_frag_needed(mp, mtu, ir 1115 ip_forward_xmit_v4(nce_t *nce, ill_t *ill, mblk_t *mp, ipha_t *ipha, ip_recv_attr_t *ira, uint32_t mtu, uint32_t added_tx_len) argument [all...] |