opnsense-src/sys/dev/ixgbe
Norbert Ciosek 1580f8d9c1 ixgbe: fix mailbox ack handling
Check if CTS bit is set in the mailbox message before waiting for ACK.
Otherwise ACK will never be received causing the function to timeout. Add
a note for ixgbe_write_mbx that it should be called while holding a lock.

Fixes: 6d243d2 ("net/ixgbe/base: introduce new mailbox API")
Cc: stable@dpdk.org

Signed-off-by: Norbert Ciosek <norbertx.ciosek@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Obtained from:	DPDK (1f119e4)
MFC after:	1 week
2025-03-28 17:02:37 -07:00
..
if_bypass.c ixgbe: Style pass on FreeBSD part of driver 2024-11-24 00:21:37 -07:00
if_fdir.c ixgbe: Style pass on FreeBSD part of driver 2024-11-24 00:21:37 -07:00
if_ix.c ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-08 17:06:33 -07:00
if_ixv.c ixgbe: Style pass on FreeBSD part of driver 2024-11-24 00:21:37 -07:00
if_sriov.c ixgbe: Style pass on FreeBSD part of driver 2024-11-24 00:21:37 -07:00
ix_txrx.c ixgbe: Style pass on FreeBSD part of driver 2024-11-24 00:21:37 -07:00
ixgbe.h ixgbe: Style pass on FreeBSD part of driver 2024-11-24 00:21:37 -07:00
ixgbe_82598.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_82598.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_82599.c ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-08 17:06:33 -07:00
ixgbe_82599.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_api.c ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-21 02:52:21 -07:00
ixgbe_api.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-21 02:52:21 -07:00
ixgbe_bypass.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_common.c ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-21 02:52:21 -07:00
ixgbe_common.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-21 02:52:21 -07:00
ixgbe_dcb.c ixgbe: improve function comments 2024-09-19 19:50:23 -07:00
ixgbe_dcb.h ixgbe: increase DCB BW calculation for MTU 2024-09-19 19:42:39 -07:00
ixgbe_dcb_82598.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_dcb_82598.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_dcb_82599.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_dcb_82599.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_fdir.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_features.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-21 02:52:21 -07:00
ixgbe_mbx.c ixgbe: fix mailbox ack handling 2025-03-28 17:02:37 -07:00
ixgbe_mbx.h ixgbe: update ixgbe_mbx with ix-3.3.38 changes 2024-09-21 02:47:11 -07:00
ixgbe_osdep.c ixgbe: Add ixgbe_dev_from_hw() back 2025-02-10 20:41:51 -07:00
ixgbe_osdep.h ixgbe: Add ixgbe_dev_from_hw() back 2025-02-10 20:41:51 -07:00
ixgbe_phy.c ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-08 17:06:33 -07:00
ixgbe_phy.h ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-08 17:06:33 -07:00
ixgbe_rss.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-21 02:52:21 -07:00
ixgbe_sriov.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_type.h ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-08 17:06:33 -07:00
ixgbe_vf.c ixgbe: introduce new mailbox API 2024-09-19 19:38:59 -07:00
ixgbe_vf.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_x540.c ixgbe: introduce new mailbox API 2024-09-19 19:38:59 -07:00
ixgbe_x540.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_x550.c ixgbe: x550 support for 1000BASE-BX SFP modules 2025-02-10 17:44:28 -07:00
ixgbe_x550.h ixgbe: remove unused function prototypes 2024-09-19 20:37:07 -07:00