Re: [net-next 11/16] net/mlx5e: Report and recover from rx timeout

2019-08-17 Thread David Miller
From: Saeed Mahameed Date: Thu, 15 Aug 2019 19:10:07 + > +static int mlx5e_rx_reporter_timeout_recover(void *ctx) > +{ > + struct mlx5e_rq *rq = ctx; > + struct mlx5e_icosq *icosq = &rq->channel->icosq; > + struct mlx5_eq_comp *eq = rq->cq.mcq.eq; > + int err; In this and sev

[net-next 11/16] net/mlx5e: Report and recover from rx timeout

2019-08-15 Thread Saeed Mahameed
From: Aya Levin Add support for report and recovery from rx timeout. On driver open we post NOP work request on the rx channels to trigger napi in order to fillup the rx rings. In case napi wasn't scheduled due to a lost interrupt, perform EQ recovery. Signed-off-by: Aya Levin Reviewed-by: Tari