Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixl/if_iavf.c
Show First 20 Lines • Show All 699 Lines • ▼ Show 20 Lines | iavf_if_init(if_ctx_t ctx) | ||||
/* Enable queues */ | /* Enable queues */ | ||||
iavf_send_vc_msg_sleep(sc, IAVF_FLAG_AQ_ENABLE_QUEUES); | iavf_send_vc_msg_sleep(sc, IAVF_FLAG_AQ_ENABLE_QUEUES); | ||||
sc->init_state = IAVF_RUNNING; | sc->init_state = IAVF_RUNNING; | ||||
} | } | ||||
/* | /* | ||||
* iavf_attach() helper function; initalizes the admin queue | * iavf_attach() helper function; initializes the admin queue | ||||
* and attempts to establish contact with the PF by | * and attempts to establish contact with the PF by | ||||
* retrying the initial "API version" message several times | * retrying the initial "API version" message several times | ||||
* or until the PF responds. | * or until the PF responds. | ||||
*/ | */ | ||||
static int | static int | ||||
iavf_setup_vc(struct iavf_sc *sc) | iavf_setup_vc(struct iavf_sc *sc) | ||||
{ | { | ||||
struct i40e_hw *hw = &sc->hw; | struct i40e_hw *hw = &sc->hw; | ||||
▲ Show 20 Lines • Show All 1,708 Lines • Show Last 20 Lines |