Home
last modified time | relevance | path

Searched refs:mps (Results 1 – 11 of 11) sorted by relevance

/dpdk/drivers/net/mlx5/
H A Dmlx5.c2206 config->mps = !!tmp; in mlx5_port_args_check_handler()
2280 config->mps = MLX5_ARG_UNSET; in mlx5_port_args_config()
2314 if (config->mps == MLX5_ARG_UNSET) in mlx5_port_args_config()
2315 config->mps = (dev_cap->mps == MLX5_MPW_ENHANCED) ? in mlx5_port_args_config()
2318 config->mps = config->mps ? dev_cap->mps : MLX5_MPW_DISABLED; in mlx5_port_args_config()
2320 config->mps == MLX5_MPW_ENHANCED ? "enhanced " : in mlx5_port_args_config()
2321 config->mps == MLX5_MPW ? "legacy " : "", in mlx5_port_args_config()
2322 config->mps != MLX5_MPW_DISABLED ? "enabled" : "disabled"); in mlx5_port_args_config()
2391 DRV_LOG(DEBUG, "\"txq_mpw_en\" is %d.", config->mps); in mlx5_port_args_config()
H A Dmlx5_tx.c553 if (config->mps == MLX5_MPW_ENHANCED && in mlx5_select_tx_function()
565 if (config->mps == MLX5_MPW) { in mlx5_select_tx_function()
H A Dmlx5_txq.c782 if (config->mps != MLX5_MPW_ENHANCED && config->mps != MLX5_MPW) in txq_set_params()
H A Dmlx5.h137 int mps; /* Multi-packet send supported mode. */ member
280 int mps; /* Multi-packet send supported mode. */ member
H A Dmlx5_devx.c1219 .allow_multi_pkt_send_wqe = !!priv->config.mps, in mlx5_txq_create_devx_sq_resources()
/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.c2073 hns3_config_mtu(struct hns3_hw *hw, uint16_t mps) in hns3_config_mtu() argument
2079 ret = hns3_set_mac_mtu(hw, mps); in hns3_config_mtu()
2091 hns->pf.mps = mps; in hns3_config_mtu()
2096 err = hns3_set_mac_mtu(hw, hns->pf.mps); in hns3_config_mtu()
3158 aligned_mps = roundup(pf->mps, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()
3226 aligned_mps = roundup(pf->mps, HNS3_BUF_SIZE_UNIT); in hns3_rx_buf_calc_all()
3338 uint32_t half_mps = pf->mps >> 1; in hns3_only_alloc_priv_buff()
3666 return hns3_config_mtu(hw, pf->mps); in hns3_mac_init()
6618 hns->pf.mps = hw->data->mtu + HNS3_ETH_OVERHEAD; in hns3_dev_init()
H A Dhns3_ethdev.h803 uint16_t mps; /* Max packet size */ member
/dpdk/drivers/net/mlx5/windows/
H A Dmlx5_os.c176 sh->dev_cap.mps = MLX5_MPW_DISABLED; in mlx5_os_capabilities_prepare()
/dpdk/drivers/net/cxgbe/base/
H A Dt4_hw.c3555 unsigned int mps, mps_log; in t4_fixup_host_params_compat() local
3565 mps = 1 << mps_log; in t4_fixup_host_params_compat()
3566 if (mps > pack_align) in t4_fixup_host_params_compat()
3567 pack_align = mps; in t4_fixup_host_params_compat()
H A Dt4fw_interface.h472 } mps; member
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c195 sh->dev_cap.mps = MLX5_MPW_ENHANCED; in mlx5_os_capabilities_prepare()
198 sh->dev_cap.mps = MLX5_MPW; in mlx5_os_capabilities_prepare()
202 sh->dev_cap.mps = MLX5_MPW_DISABLED; in mlx5_os_capabilities_prepare()