Thursday, January 25, 2018 6:04 PM, Shahaf Shuler: > Following commit c7bf62255edf ("net/mlx5: fix handling link status event") > the link state must be up in order for the burst function to be set on the > device ops. > > As the link may take time to move between down and up state it is possible > the rte_eth_dev_start call will return with wrong burst function (either null > or the empty burst function). > > Fixing it by forcing the link to be up before returning from device start. In > case the link is still not up after 5 seconds fail the function. > In addition initialize the burst function on device probe to prevent crashes > before the link is up. > > Fixes: c7bf62255edf ("net/mlx5: fix handling link status event") > Cc: ys...@mellanox.com > > Signed-off-by: Shahaf Shuler <shah...@mellanox.com> > Acked-by: Nelio Laranjeiro <nelio.laranje...@6wind.com> > ---
Applied to next-net-mlx, thanks