Home
last modified time | relevance | path

Searched refs:MLX5E_SW2HW_MTU (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c68 rq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_init_xsk_rq()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c37 u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_rx_get_min_frag_sz()
374 u32 byte_count = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_build_rq_frags_info()
Dtrap.c46 rq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_init_trap_rq()
Dptp.c210 sq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_ptp_alloc_txqsq()
510 rq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_init_ptp_rq()
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c23 return nfrags + DIV_ROUND_UP(sync_len, MLX5E_SW2HW_MTU(params, params->sw_mtu)); in mlx5e_ktls_dumps_num_wqes()
/drivers/net/ethernet/mellanox/mlx5/core/
Den.h72 #define MLX5E_SW2HW_MTU(params, swmtu) ((swmtu) + ((params)->hard_mtu)) macro
Den_main.c396 MLX5E_SW2HW_MTU(params, params->sw_mtu) - ETH_FCS_LEN * !params->scatter_fcs_en; in mlx5e_init_rxq_rq()
978 sq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu) - ETH_FCS_LEN; in mlx5e_alloc_xdpsq()
1145 sq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_alloc_txqsq()
2215 u16 hw_mtu = MLX5E_SW2HW_MTU(params, mtu); in mlx5e_set_mtu()