opnsense-src/sys/dev/sfxge
Andrew Rybchenko eaf3f5c649 sfxge: retry VF vAdaptor allocation if it fails because of no EVB port yet
After an MC reboot, a VF driver may reset before the PF driver has
finished bringing everything back up. This includes the VFs EVB port.
MC_CMD_VADAPTOR_ALLOC is the first MCDI call after an MC reboot to
require the EVB port, so if it fails with MC_CMD_ERR_NO_EVB_PORT,
retry the command a few times after waiting a while.

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D4333
2015-12-01 15:54:46 +00:00
..
common sfxge: retry VF vAdaptor allocation if it fails because of no EVB port yet 2015-12-01 15:54:46 +00:00
sfxge.c sfxge: added setting TSO-related parameters 2015-12-01 06:29:11 +00:00
sfxge.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_dma.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_ev.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_intr.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_ioc.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_mcdi.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_nvram.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_port.c sfxge: mask ifmedia options (pauses) when looking for matching mode 2015-05-27 08:57:48 +00:00
sfxge_rx.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_rx.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_tx.c sfxge: parse packets for TSO early in if_transmit 2015-12-01 14:55:24 +00:00
sfxge_tx.h sfxge: parse packets for TSO early in if_transmit 2015-12-01 14:55:24 +00:00
sfxge_version.h sfxge: do not use DEBUG_FLAGS to enable extra debug checks 2015-05-29 05:44:56 +00:00