Monday, July 23, 2018 9:00 PM, Yongseok Koh: > Subject: [PATCH] net/mlx5: fix assert for Tx completion queue count > > There should be at least one Tx CQE remained if Tx WQ and txq->elts[] have > available slots to send a packet because the size of Tx CQ is exactly > calculated > from the size of other resources. As it is guaranteed, it is checked by an > assertion. > > max_elts is checked after the assertion for Tx CQ. If no slot is available in > txq- > >elts[], the assertion would be wrong. > > Fixes: 2eefbec531c7 ("net/mlx5: add missing sanity checks for Tx completion > queue") > Fixes: 6ce84bd88919 ("net/mlx5: add enhanced multi-packet send for > ConnectX-5") > Cc: sta...@dpdk.org > > Signed-off-by: Yongseok Koh <ys...@mellanox.com> > Acked-by: Xueming Li <xuemi...@mellanox.com>
Applied to next-net-mlx, thanks.