Skip to content

Fix crash with vpmd and mbuf debug

Bruce Richardson dpdk-dev 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ixgbe: add "cold" attribute to setup/teardown fnsdrivers/net/ixgbe/ixgbe_rxtx.c drivers/net/ixgbe/ixgbe_rxtx_vec.c+39 -366 replies
2/2ixgbe: check mbuf refcnt when clearing RX/TX ringdrivers/net/ixgbe/ixgbe_rxtx.c drivers/net/ixgbe/ixgbe_rxtx_vec.c+9 -25 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix crash with vpmd and mbuf debug

When mbuf debug support is turned on in the build time config, crashes will occur when clearing up the RX/TX rings, if the 10G vector PMD is in use. This error can be reproduced using testpmd.
This patchset makes the setup/teardown code easier to debug by marking "cold" code paths as such, and then fixes the errors by checking for already-freed mbufs when clearing the rings.

Bruce Richardson (2):
ixgbe: add "cold" attribute to setup/teardown fns
ixgbe: check mbuf refcnt when clearing RX/TX ring

 drivers/net/ixgbe/ixgbe_rxtx.c     | 62 ++++++++++++++++++++------------------
 drivers/net/ixgbe/ixgbe_rxtx_vec.c | 24 ++++++++++-----
 2 files changed, 48 insertions(+), 38 deletions(-)
Signature · 1 line
2.4.3