| /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 c->mtu, enic->max_mtu); in enic_get_vnic_config()
|
| H A D | enic.h | 227 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() 558 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 | 137 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() 1288 if (mru > lcp->cfg.max_mtu) in LcpDecodeConfig() 1289 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 | 408 if ((new_mtu > priv->max_mtu) || (new_mtu < ETHERMIN)) { in gve_set_mtu() 410 new_mtu, priv->max_mtu, ETHERMIN); in gve_set_mtu() 638 device_printf(priv->dev, "Setting initial MTU to %d\n", priv->max_mtu); in gve_setup_ifnet() 639 if_setmtu(ifp, priv->max_mtu); in gve_setup_ifnet() 1090 priv->rx_buf_size_dqo = gve_get_dqo_rx_buf_size(priv, priv->max_mtu); in gve_attach()
|
| H A D | gve_adminq.c | 470 be16toh(dev_op_jumbo_frames->max_mtu)); in gve_enable_supported_features() 471 priv->max_mtu = be16toh(dev_op_jumbo_frames->max_mtu); in gve_enable_supported_features() 565 priv->max_mtu = be16toh(desc->mtu); in gve_adminq_describe_device()
|
| H A D | gve_adminq.h | 175 __be16 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 | 209 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 | 1141 uint32_t max_mtu; in icmp6_mtudisc_update() local 1153 max_mtu = tcp_hc_getmtu(&inc); in icmp6_mtudisc_update() 1154 if (max_mtu == 0) in icmp6_mtudisc_update() 1155 max_mtu = tcp_maxmtu6(&inc, NULL); in icmp6_mtudisc_update() 1157 if (mtu < max_mtu) { in icmp6_mtudisc_update()
|
| /freebsd/sys/dev/qlxgbe/ |
| H A D | ql_hw.c | 1936 q80_set_max_mtu_t *max_mtu; in ql_set_max_mtu() local 1942 max_mtu = (q80_set_max_mtu_t *)ha->hw.mbox; in ql_set_max_mtu() 1943 bzero(max_mtu, (sizeof (q80_set_max_mtu_t))); in ql_set_max_mtu() 1945 max_mtu->opcode = Q8_MBX_SET_MAX_MTU; in ql_set_max_mtu() 1946 max_mtu->count_version = (sizeof (q80_set_max_mtu_t) >> 2); in ql_set_max_mtu() 1947 max_mtu->count_version |= Q8_MBX_CMD_VERSION; in ql_set_max_mtu() 1949 max_mtu->cntxt_id = cntxt_id; in ql_set_max_mtu() 1950 max_mtu->mtu = mtu; in ql_set_max_mtu() 1952 if (qla_mbx_cmd(ha, (uint32_t *)max_mtu, in ql_set_max_mtu()
|
| /freebsd/sys/dev/mana/ |
| H A D | mana.h | 534 uint16_t max_mtu; member
|
| /freebsd/sys/dev/iavf/ |
| H A D | virtchnl.h | 292 u16 max_mtu; member
|
| /freebsd/sys/dev/ena/ |
| H A D | ena.h | 448 uint32_t max_mtu; member
|
| /freebsd/sys/dev/qlxgb/ |
| H A D | qla_hw.c | 1553 ha->hw.max_mtu = cdrp.rsp_arg1; in qla_get_max_mtu() 1555 ha->hw.max_mtu)); in qla_get_max_mtu() 1583 ha->hw.max_mtu = cdrp.rsp_arg1; in qla_set_max_mtu()
|
| /freebsd/sys/dev/ixgbe/ |
| H A D | if_ixv.c | 618 uint32_t max_mtu; in ixv_if_mtu_set() local 622 max_mtu = IXGBE_MAX_FRAME_SIZE - IXGBE_MTU_HDR; in ixv_if_mtu_set() 626 max_mtu = ETHERMTU + ETHER_CRC_LEN; in ixv_if_mtu_set() 627 if (mtu > max_mtu) { in ixv_if_mtu_set()
|