Searched refs:sw_mtu (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | trap.c | 52 rq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_init_trap_rq() 127 params->sw_mtu = max_mtu; in mlx5e_build_trap_params()
|
H A D | ptp.c | 338 sq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_ptp_alloc_txqsq() 657 params->sw_mtu = netdev->max_mtu; in mlx5e_ptp_build_rq_param() 670 params->sw_mtu = orig->sw_mtu; in mlx5e_ptp_build_params() 702 rq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_init_ptp_rq()
|
H A D | params.c | 239 u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_rx_get_linear_sz_xsk() 246 u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_rx_get_linear_sz_skb() 428 return order_base_2(DIV_ROUND_UP(resrv_size, params->sw_mtu)); in mlx5e_shampo_get_log_pkt_per_rsrv() 685 u32 byte_count = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_build_rq_frags_info() 725 params->sw_mtu, max_mtu); in mlx5e_build_rq_frags_info()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | setup.c | 80 rq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_init_xsk_rq()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 746 MLX5E_SW2HW_MTU(params, params->sw_mtu) - ETH_FCS_LEN * !params->scatter_fcs_en; in mlx5e_init_rxq_rq() 1457 sq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu) - ETH_FCS_LEN; in mlx5e_alloc_xdpsq() 1627 sq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_alloc_txqsq() 2980 err = mlx5e_set_mtu(mdev, params, params->sw_mtu); in mlx5e_set_dev_port_mtu() 2985 if (mtu != params->sw_mtu) in mlx5e_set_dev_port_mtu() 2987 __func__, mtu, params->sw_mtu); in mlx5e_set_dev_port_mtu() 2989 params->sw_mtu = mtu; in mlx5e_set_dev_port_mtu() 4480 new_params->sw_mtu > max_xdp_mtu) { in mlx5e_xsk_validate_mtu() 4493 new_params->sw_mtu, ix, max_mtu); in mlx5e_xsk_validate_mtu() 4517 params->sw_mtu, in mlx5e_params_validate_xdp() [all …]
|
H A D | en.h | 311 unsigned int sw_mtu; member
|
H A D | en_rep.c | 848 params->sw_mtu = netdev->mtu; in mlx5e_build_rep_params()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.c | 526 new_params.sw_mtu = new_mtu; in mlx5i_change_mtu() 532 WRITE_ONCE(netdev->mtu, new_params.sw_mtu); in mlx5i_change_mtu()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_tx.c | 24 return nfrags + DIV_ROUND_UP(sync_len, MLX5E_SW2HW_MTU(params, params->sw_mtu)); in mlx5e_ktls_dumps_num_wqes()
|