|
@@ -59,8 +59,6 @@ static int bna_rxf_allmulti_cfg_reset(struct bna_rxf *rxf,
|
|
|
|
|
|
bfa_fsm_state_decl(bna_rxf, stopped, struct bna_rxf,
|
|
|
enum bna_rxf_event);
|
|
|
-bfa_fsm_state_decl(bna_rxf, paused, struct bna_rxf,
|
|
|
- enum bna_rxf_event);
|
|
|
bfa_fsm_state_decl(bna_rxf, cfg_wait, struct bna_rxf,
|
|
|
enum bna_rxf_event);
|
|
|
bfa_fsm_state_decl(bna_rxf, started, struct bna_rxf,
|
|
@@ -79,11 +77,7 @@ bna_rxf_sm_stopped(struct bna_rxf *rxf, enum bna_rxf_event event)
|
|
|
{
|
|
|
switch (event) {
|
|
|
case RXF_E_START:
|
|
|
- if (rxf->flags & BNA_RXF_F_PAUSED) {
|
|
|
- bfa_fsm_set_state(rxf, bna_rxf_sm_paused);
|
|
|
- call_rxf_start_cbfn(rxf);
|
|
|
- } else
|
|
|
- bfa_fsm_set_state(rxf, bna_rxf_sm_cfg_wait);
|
|
|
+ bfa_fsm_set_state(rxf, bna_rxf_sm_cfg_wait);
|
|
|
break;
|
|
|
|
|
|
case RXF_E_STOP:
|
|
@@ -103,29 +97,6 @@ bna_rxf_sm_stopped(struct bna_rxf *rxf, enum bna_rxf_event event)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-static void
|
|
|
-bna_rxf_sm_paused_entry(struct bna_rxf *rxf)
|
|
|
-{
|
|
|
-}
|
|
|
-
|
|
|
-static void
|
|
|
-bna_rxf_sm_paused(struct bna_rxf *rxf, enum bna_rxf_event event)
|
|
|
-{
|
|
|
- switch (event) {
|
|
|
- case RXF_E_STOP:
|
|
|
- case RXF_E_FAIL:
|
|
|
- bfa_fsm_set_state(rxf, bna_rxf_sm_stopped);
|
|
|
- break;
|
|
|
-
|
|
|
- case RXF_E_CONFIG:
|
|
|
- call_rxf_cam_fltr_cbfn(rxf);
|
|
|
- break;
|
|
|
-
|
|
|
- default:
|
|
|
- bfa_sm_fault(event);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
static void
|
|
|
bna_rxf_sm_cfg_wait_entry(struct bna_rxf *rxf)
|
|
|
{
|
|
@@ -679,9 +650,6 @@ bna_rxf_init(struct bna_rxf *rxf,
|
|
|
INIT_LIST_HEAD(&rxf->mcast_active_q);
|
|
|
INIT_LIST_HEAD(&rxf->mcast_handle_q);
|
|
|
|
|
|
- if (q_config->paused)
|
|
|
- rxf->flags |= BNA_RXF_F_PAUSED;
|
|
|
-
|
|
|
rxf->rit = (u8 *)
|
|
|
res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva;
|
|
|
bna_rit_init(rxf, q_config->num_paths);
|
|
@@ -742,8 +710,6 @@ bna_rxf_uninit(struct bna_rxf *rxf)
|
|
|
rxf->rss_pending = 0;
|
|
|
rxf->vlan_strip_pending = false;
|
|
|
|
|
|
- rxf->flags = 0;
|
|
|
-
|
|
|
rxf->rx = NULL;
|
|
|
}
|
|
|
|