Home
last modified time | relevance | path

Searched refs:max_mtu (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/sys/dev/enic/
H A Denic_res.c62 enic->max_mtu = c->max_pkt_size - (ETHER_HDR_LEN + 4); in enic_get_vnic_config()
64 enic->max_mtu = ENIC_DEFAULT_RX_MAX_PKT_SIZE in enic_get_vnic_config()
102 /* enic->rte_dev->data->mtu, */ enic->max_mtu); in enic_get_vnic_config()
H A Denic.h202 u16 max_mtu; member
/freebsd/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c112 static const char *mtu_str(enum ibv_mtu max_mtu) in mtu_str() argument
114 switch (max_mtu) { in mtu_str()
540 mtu_str(port_attr.max_mtu), port_attr.max_mtu); in print_hca_cap()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_device.c136 resp->max_mtu = attr->max_mtu; in copy_port_attr_to_resp()
/freebsd/usr.sbin/ppp/
H A Dlcp.c191 lcp->cfg.mtu, lcp->cfg.max_mtu); in lcp_ReportStatus()
193 prompt_Printf(arg->prompt, "MTU = any (max %d), ", lcp->cfg.max_mtu); in lcp_ReportStatus()
261 lcp->cfg.max_mtu = MAX_MTU; in lcp_Init()
751 if (lcp->cfg.max_mtu && (!maxmtu || maxmtu > lcp->cfg.max_mtu)) in LcpDecodeConfig()
752 maxmtu = lcp->cfg.max_mtu; in LcpDecodeConfig()
1282 if (mru > lcp->cfg.max_mtu) in LcpDecodeConfig()
1283 mru = lcp->cfg.max_mtu; in LcpDecodeConfig()
H A Dlcp.h88 u_short max_mtu; /* Preferred MTU */ member
/freebsd/sys/dev/gve/
H A Dgve_adminq.c329 be16toh(dev_op_jumbo_frames->max_mtu)); in gve_enable_supported_features()
330 priv->max_mtu = be16toh(dev_op_jumbo_frames->max_mtu); in gve_enable_supported_features()
393 priv->max_mtu = be16toh(desc->mtu); in gve_adminq_describe_device()
H A Dgve_main.c195 if ((new_mtu > priv->max_mtu) || (new_mtu < ETHERMIN)) { in gve_set_mtu()
197 new_mtu, priv->max_mtu, ETHERMIN); in gve_set_mtu()
397 device_printf(priv->dev, "Setting initial MTU to %d\n", priv->max_mtu); in gve_setup_ifnet()
398 if_setmtu(ifp, priv->max_mtu); in gve_setup_ifnet()
H A Dgve_adminq.h156 __be16 max_mtu; member
H A Dgve.h334 uint16_t max_mtu; member
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_port.c339 int *admin_mtu, int *max_mtu, int *oper_mtu) in mlx5_query_port_mtu() argument
352 if (max_mtu) in mlx5_query_port_mtu()
353 *max_mtu = MLX5_GET(pmtu_reg, out, max_mtu); in mlx5_query_port_mtu()
375 int mlx5_query_port_max_mtu(struct mlx5_core_dev *dev, int *max_mtu) in mlx5_query_port_max_mtu() argument
377 return mlx5_query_port_mtu(dev, NULL, max_mtu, NULL); in mlx5_query_port_max_mtu()
665 pmtu->max_mtu = mtu_to_ib_mtu(dev, MLX5_GET(pmtu_reg, out, in mlx5_core_access_pmtu()
666 max_mtu)); in mlx5_core_access_pmtu()
/freebsd/sys/dev/mxge/
H A Dif_mxge_var.h241 int max_mtu; member
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_port.c1312 if (mtu > master->max_mtu[port]) in mlx4_common_set_port()
1313 master->max_mtu[port] = mtu; in mlx4_common_set_port()
1315 master->max_mtu[port]) { in mlx4_common_set_port()
1317 master->max_mtu[port] = mtu; in mlx4_common_set_port()
1319 master->max_mtu[port] = in mlx4_common_set_port()
1320 max(master->max_mtu[port], in mlx4_common_set_port()
1325 gen_context->mtu = cpu_to_be16(master->max_mtu[port]); in mlx4_common_set_port()
/freebsd/sys/dev/mlx5/
H A Dport.h193 int mlx5_query_port_max_mtu(struct mlx5_core_dev *dev, int *max_mtu);
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_iwarp.h106 u16 max_mtu; member
H A Decore_iwarp.c2876 ep->mss = p_hwfn->p_rdma_info->iwarp.max_mtu - hdr_size; in ecore_iwarp_ll2_comp_syn_pkt()
3125 iwarp_info->max_mtu = params->max_mtu; in ecore_iwarp_ll2_start()
3175 data.input.mtu = params->max_mtu; in ecore_iwarp_ll2_start()
3205 data.input.mtu = params->max_mtu; in ecore_iwarp_ll2_start()
3224 mpa_buff_size = ECORE_IWARP_MAX_BUF_SIZE(params->max_mtu); in ecore_iwarp_ll2_start()
3313 params->max_mtu); in ecore_iwarp_set_defaults()
H A Decore_roce_api.h292 u16 max_mtu; member
/freebsd/sys/dev/mthca/
H A Dmthca_cmd.h143 int max_mtu; member
/freebsd/sys/dev/ixl/
H A Dvirtchnl.h269 u16 max_mtu; member
/freebsd/sys/netinet6/
H A Dicmp6.c1138 uint32_t max_mtu; in icmp6_mtudisc_update() local
1179 max_mtu = tcp_hc_getmtu(&inc); in icmp6_mtudisc_update()
1180 if (max_mtu == 0) in icmp6_mtudisc_update()
1181 max_mtu = tcp_maxmtu6(&inc, NULL); in icmp6_mtudisc_update()
1183 if (mtu < max_mtu) { in icmp6_mtudisc_update()
/freebsd/sys/dev/ena/
H A Dena.h421 uint32_t max_mtu; member
/freebsd/sys/dev/qlxgbe/
H A Dql_hw.c1931 q80_set_max_mtu_t *max_mtu; in ql_set_max_mtu() local
1937 max_mtu = (q80_set_max_mtu_t *)ha->hw.mbox; in ql_set_max_mtu()
1938 bzero(max_mtu, (sizeof (q80_set_max_mtu_t))); in ql_set_max_mtu()
1940 max_mtu->opcode = Q8_MBX_SET_MAX_MTU; in ql_set_max_mtu()
1941 max_mtu->count_version = (sizeof (q80_set_max_mtu_t) >> 2); in ql_set_max_mtu()
1942 max_mtu->count_version |= Q8_MBX_CMD_VERSION; in ql_set_max_mtu()
1944 max_mtu->cntxt_id = cntxt_id; in ql_set_max_mtu()
1945 max_mtu->mtu = mtu; in ql_set_max_mtu()
1947 if (qla_mbx_cmd(ha, (uint32_t *)max_mtu, in ql_set_max_mtu()
/freebsd/sys/dev/iavf/
H A Dvirtchnl.h292 u16 max_mtu; member
/freebsd/sys/dev/qlxgb/
H A Dqla_hw.c1546 ha->hw.max_mtu = cdrp.rsp_arg1; in qla_get_max_mtu()
1548 ha->hw.max_mtu)); in qla_get_max_mtu()
1576 ha->hw.max_mtu = cdrp.rsp_arg1; in qla_set_max_mtu()
H A Dqla_hw.h748 uint32_t max_mtu; member

123