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)
MFC after: 1 week

Details

Provenance
Norbert Ciosek <norbertx.ciosek@intel.com>Authored on Sat, Mar 29, 12:02 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sat, Mar 29, 12:02 AM
Parents
rG5fa093b6efcb: mount_nfs: make temporary DNS failure non-fatal with background mode
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rG1580f8d9c174: ixgbe: fix mailbox ack handling (authored by Norbert Ciosek <norbertx.ciosek@intel.com>).Sat, Mar 29, 12:02 AM