Searched refs:MLX5E_SW2HW_MTU (Results 1 – 7 of 7) sorted by relevance
/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/en/ |
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() 685 u32 byte_count = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_build_rq_frags_info()
|
H A D | trap.c | 52 rq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_init_trap_rq()
|
H A D | ptp.c | 338 sq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_ptp_alloc_txqsq() 702 rq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_init_ptp_rq()
|
/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()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en.h | 74 #define MLX5E_SW2HW_MTU(params, swmtu) ((swmtu) + ((params)->hard_mtu)) macro
|
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() 2947 u16 hw_mtu = MLX5E_SW2HW_MTU(params, mtu); in mlx5e_set_mtu()
|