Lines Matching refs:lif

17 	struct ionic_lif *lif = ionic->lif;  in ionic_watchdog_cb()  local
24 if (!lif) in ionic_watchdog_cb()
29 __func__, hb, netif_running(lif->netdev), in ionic_watchdog_cb()
30 test_bit(IONIC_LIF_F_UP, lif->state)); in ionic_watchdog_cb()
33 !test_bit(IONIC_LIF_F_FW_RESET, lif->state)) in ionic_watchdog_cb()
34 ionic_link_status_check_request(lif, CAN_NOT_SLEEP); in ionic_watchdog_cb()
36 if (test_bit(IONIC_LIF_F_FILTER_SYNC_NEEDED, lif->state)) { in ionic_watchdog_cb()
39 netdev_err(lif->netdev, "rxmode change dropped\n"); in ionic_watchdog_cb()
44 netdev_dbg(lif->netdev, "deferred: rx_mode\n"); in ionic_watchdog_cb()
45 ionic_lif_deferred_enqueue(&lif->deferred, work); in ionic_watchdog_cb()
186 struct ionic_lif *lif = ionic->lif; in ionic_heartbeat_check() local
193 if (lif && !test_bit(IONIC_LIF_F_FW_RESET, lif->state)) in ionic_heartbeat_check()
197 if (lif && test_bit(IONIC_LIF_F_FW_RESET, lif->state)) in ionic_heartbeat_check()
208 ionic_lif_deferred_enqueue(&lif->deferred, work); in ionic_heartbeat_check()
509 .q_init.ver = qcq->q.lif->qtype_info[q->type].version, in ionic_dev_cmd_adminq_init()
523 int ionic_db_page_num(struct ionic_lif *lif, int pid) in ionic_db_page_num() argument
525 return (lif->hw_index * lif->dbid_count) + pid; in ionic_db_page_num()
528 int ionic_cq_init(struct ionic_lif *lif, struct ionic_cq *cq, in ionic_cq_init() argument
541 cq->lif = lif; in ionic_cq_init()
595 int ionic_q_init(struct ionic_lif *lif, struct ionic_dev *idev, in ionic_q_init() argument
609 q->lif = lif; in ionic_q_init()
619 snprintf(q->name, sizeof(q->name), "L%d-%s%u", lif->index, name, index); in ionic_q_init()
652 struct ionic_lif *lif = q->lif; in ionic_q_post() local
662 q->lif->index, q->name, q->hw_type, q->hw_index, in ionic_q_post()
666 ionic_dbell_ring(lif->kern_dbpage, q->hw_type, in ionic_q_post()