/freebsd/sys/dev/enic/ |
H A D | enic_res.c | 62 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 D | enic.h | 202 u16 max_mtu; member
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | devinfo.c | 112 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 D | ib_uverbs_std_types_device.c | 136 resp->max_mtu = attr->max_mtu; in copy_port_attr_to_resp()
|
/freebsd/usr.sbin/ppp/ |
H A D | lcp.c | 191 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 D | lcp.h | 88 u_short max_mtu; /* Preferred MTU */ member
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_port.c | 339 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/gve/ |
H A D | gve_main.c | 201 if ((new_mtu > priv->max_mtu) || (new_mtu < ETHERMIN)) { in gve_set_mtu() 203 new_mtu, priv->max_mtu, ETHERMIN); in gve_set_mtu() 410 device_printf(priv->dev, "Setting initial MTU to %d\n", priv->max_mtu); in gve_setup_ifnet() 411 if_setmtu(ifp, priv->max_mtu); in gve_setup_ifnet()
|
H A D | gve_adminq.c | 399 be16toh(dev_op_jumbo_frames->max_mtu)); in gve_enable_supported_features() 400 priv->max_mtu = be16toh(dev_op_jumbo_frames->max_mtu); in gve_enable_supported_features() 488 priv->max_mtu = be16toh(desc->mtu); in gve_adminq_describe_device()
|
H A D | gve_adminq.h | 167 __be16 max_mtu; member
|
H A D | gve.h | 537 uint16_t max_mtu; member
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_port.c | 1312 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/mxge/ |
H A D | if_mxge_var.h | 241 int max_mtu; member
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_iwarp.h | 106 u16 max_mtu; member
|
H A D | ecore_iwarp.c | 2876 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 D | ecore_roce_api.h | 292 u16 max_mtu; member
|
/freebsd/sys/dev/mlx5/ |
H A D | port.h | 193 int mlx5_query_port_max_mtu(struct mlx5_core_dev *dev, int *max_mtu);
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_cmd.h | 143 int max_mtu; member
|
/freebsd/sys/dev/ixl/ |
H A D | virtchnl.h | 269 u16 max_mtu; member
|
/freebsd/sys/netinet6/ |
H A D | icmp6.c | 1138 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/qlxgbe/ |
H A D | ql_hw.c | 1931 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 D | virtchnl.h | 292 u16 max_mtu; member
|
/freebsd/sys/dev/ena/ |
H A D | ena.h | 446 uint32_t max_mtu; member
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_hw.c | 1546 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 D | qla_hw.h | 748 uint32_t max_mtu; member
|