HomeFreeBSD

ixgbe: fix mailbox ack handling

Description

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)

Details

Provenance
Norbert Ciosek <norbertx.ciosek@intel.com>Authored on Mar 29 2025, 12:02 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sat, Apr 5, 3:43 AM
Parents
rG6f7ee9ac036e: contrib/expat: import expat 2.7.1
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rG6e510d8fbaf8: ixgbe: fix mailbox ack handling (authored by Norbert Ciosek <norbertx.ciosek@intel.com>).Sat, Apr 5, 3:43 AM