opnsense-src/sys/dev/ixgbe
Norbert Ciosek 6e510d8fba 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)

(cherry picked from commit 1580f8d9c1740e0c54554e6c185573d34f2dcf76)
2025-04-04 20:43:39 -07:00
..
if_bypass.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
if_fdir.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
if_ix.c ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-15 17:25:04 -07:00
if_ixv.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
if_sriov.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
ix_txrx.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
ixgbe.h ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -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-15 17:25:04 -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-28 02:22:15 -07:00
ixgbe_api.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-28 02:22:15 -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-28 02:22:15 -07:00
ixgbe_common.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-28 02:22:15 -07:00
ixgbe_dcb.c ixgbe: improve function comments 2024-09-26 20:32:39 -07:00
ixgbe_dcb.h ixgbe: increase DCB BW calculation for MTU 2024-09-26 20:32:25 -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-28 02:22:15 -07:00
ixgbe_mbx.c ixgbe: fix mailbox ack handling 2025-04-04 20:43:39 -07:00
ixgbe_mbx.h ixgbe: update ixgbe_mbx with ix-3.3.38 changes 2024-09-28 02:22:01 -07:00
ixgbe_osdep.c ixgbe: Add ixgbe_dev_from_hw() back 2025-02-13 18:24:31 -07:00
ixgbe_osdep.h ixgbe: Add ixgbe_dev_from_hw() back 2025-02-13 18:24:31 -07:00
ixgbe_phy.c ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-15 17:25:04 -07:00
ixgbe_phy.h ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-15 17:25:04 -07:00
ixgbe_rss.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-28 02:22:15 -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-15 17:25:04 -07:00
ixgbe_vf.c ixgbe: introduce new mailbox API 2024-09-26 20:32:06 -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-26 20:32:06 -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-17 20:02:49 -07:00
ixgbe_x550.h ixgbe: remove unused function prototypes 2024-09-26 20:34:51 -07:00