Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efb6d7a2 authored by Tariq Toukan's avatar Tariq Toukan Committed by Saeed Mahameed
Browse files

net/mlx5e: Use bool as return type for mlx5e_xdp_handle



Function returns boolean values, use bool instead of int.

Signed-off-by: default avatarTariq Toukan <tariqt@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent bd206fd5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -807,7 +807,7 @@ static inline bool mlx5e_xmit_xdp_frame(struct mlx5e_rq *rq,
}

/* returns true if packet was consumed by xdp */
static inline int mlx5e_xdp_handle(struct mlx5e_rq *rq,
static inline bool mlx5e_xdp_handle(struct mlx5e_rq *rq,
				    struct mlx5e_dma_info *di,
				    void *va, u16 *rx_headroom, u32 *len)
{