Lines Matching refs:lif

27 	return netdev_get_tx_queue(q->lif->netdev, q->index);  in q_to_ndq()
33 struct net_device *netdev = q->lif->netdev; in ionic_rx_page_alloc()
74 struct net_device *netdev = q->lif->netdev; in ionic_rx_page_free()
118 struct net_device *netdev = q->lif->netdev; in ionic_rx_frags()
178 struct net_device *netdev = q->lif->netdev; in ionic_rx_copybreak()
210 skb->protocol = eth_type_trans(skb, q->lif->netdev); in ionic_rx_copybreak()
220 struct net_device *netdev = q->lif->netdev; in ionic_rx_clean()
238 if (le16_to_cpu(comp->len) <= q->lif->rx_copybreak) in ionic_rx_clean()
301 skb_hwtstamps(skb)->hwtstamp = ionic_lif_phc_ktime(q->lif, hwstamp); in ionic_rx_clean()
308 if (le16_to_cpu(comp->len) <= q->lif->rx_copybreak) in ionic_rx_clean()
346 struct net_device *netdev = q->lif->netdev; in ionic_rx_fill()
416 ionic_dbell_ring(q->lif->kern_dbpage, q->hw_type, in ionic_rx_fill()
446 struct ionic_lif *lif; in ionic_dim_update() local
453 lif = qcq->q.lif; in ionic_dim_update()
458 pkts = lif->txqstats[qi].pkts; in ionic_dim_update()
459 bytes = lif->txqstats[qi].bytes; in ionic_dim_update()
462 pkts = lif->rxqstats[qi].pkts; in ionic_dim_update()
463 bytes = lif->rxqstats[qi].bytes; in ionic_dim_update()
466 pkts = lif->txqstats[qi].pkts + lif->rxqstats[qi].pkts; in ionic_dim_update()
467 bytes = lif->txqstats[qi].bytes + lif->rxqstats[qi].bytes; in ionic_dim_update()
482 struct ionic_lif *lif; in ionic_tx_napi() local
486 lif = cq->bound_q->lif; in ionic_tx_napi()
487 idev = &lif->ionic->idev; in ionic_tx_napi()
513 struct ionic_lif *lif; in ionic_rx_napi() local
518 lif = cq->bound_q->lif; in ionic_rx_napi()
519 idev = &lif->ionic->idev; in ionic_rx_napi()
551 struct ionic_lif *lif; in ionic_txrx_napi() local
558 lif = rxcq->bound_q->lif; in ionic_txrx_napi()
559 idev = &lif->ionic->idev; in ionic_txrx_napi()
560 txcq = &lif->txqcqs[qi]->cq; in ionic_txrx_napi()
598 q->lif->netdev->name, q->name); in ionic_tx_map_single()
616 q->lif->netdev->name, q->name); in ionic_tx_map_frag()
723 hwts.hwtstamp = ionic_lif_phc_ktime(q->lif, hwstamp); in ionic_tx_clean()
734 } else if (unlikely(__netif_subqueue_stopped(q->lif->netdev, qi))) { in ionic_tx_clean()
735 netif_wake_subqueue(q->lif->netdev, qi); in ionic_tx_clean()
783 struct ionic_dev *idev = &cq->lif->ionic->idev; in ionic_tx_flush()
1164 netif_stop_subqueue(q->lif->netdev, q->index); in ionic_maybe_stop_tx()
1170 netif_wake_subqueue(q->lif->netdev, q->index); in ionic_maybe_stop_tx()
1181 struct ionic_lif *lif = netdev_priv(netdev); in ionic_start_hwstamp_xmit() local
1182 struct ionic_queue *q = &lif->hwstamp_txq->q; in ionic_start_hwstamp_xmit()
1217 struct ionic_lif *lif = netdev_priv(netdev); in ionic_start_xmit() local
1222 if (unlikely(!test_bit(IONIC_LIF_F_UP, lif->state))) { in ionic_start_xmit()
1228 if (lif->hwstamp_txq && lif->phc->ts_config_tx_mode) in ionic_start_xmit()
1231 if (unlikely(queue_index >= lif->nxqs)) in ionic_start_xmit()
1233 q = &lif->txqcqs[queue_index]->q; in ionic_start_xmit()