opnsense-src/sys/dev/ixgbe
Guinan Sun dc11ba4eb3 ixgbe: move increments after evaluations
The retry variable was being incremented before it was evaluated by the
subsequent conditional against the maximum retries to figure out which
message to print.  So we'll move the increment op to the end.

Signed-off-by: Jeb Cramer <jeb.j.cramer@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>

Approved by:	imp
Obtained from:	DPDK (390445ec30b4c52a3d2887c3d2a202d9cf37ea8e)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31621
2021-09-06 21:17:18 -07:00
..
if_bypass.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (15 of many) 2020-02-24 10:51:26 +00:00
if_fdir.c ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
if_ix.c ixgbe: Use C99 bool types 2021-09-06 19:54:22 -07:00
if_ixv.c ixgbe: Use C99 bool types 2021-09-06 19:54:22 -07:00
if_sriov.c ixgbe: Use C99 bool types 2021-09-06 19:54:22 -07:00
ix_txrx.c ixgbe: Use C99 bool types 2021-09-06 19:54:22 -07:00
ixgbe.h ixgbe: Use C99 bool types 2021-09-06 19:54:22 -07:00
ixgbe_82598.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_82598.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_82599.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_82599.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_api.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_api.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_bypass.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_common.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_common.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_dcb.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_dcb.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_dcb_82598.c ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_dcb_82598.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_dcb_82599.c ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_dcb_82599.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_fdir.h ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_features.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_mbx.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_mbx.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_osdep.c ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_osdep.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_phy.c ixgbe: move increments after evaluations 2021-09-06 21:17:18 -07:00
ixgbe_phy.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_rss.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_sriov.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_type.h ixgbe: support DCB registers dump 2021-09-06 21:17:18 -07:00
ixgbe_vf.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_vf.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_x540.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_x540.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_x550.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_x550.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00