Searched refs:mgtvnic (Results 1 – 2 of 2) sorted by relevance
46 static void nes_replenish_mgt_rq(struct nes_vnic_mgt *mgtvnic) in nes_replenish_mgt_rq() argument57 nesmgt = &mgtvnic->mgt; in nes_replenish_mgt_rq()58 nesdev = mgtvnic->nesvnic->nesdev; in nes_replenish_mgt_rq()61 if (((nesmgt->rq_size - 1) == atomic_read(&mgtvnic->rx_skbs_needed)) && in nes_replenish_mgt_rq()62 (atomic_read(&mgtvnic->rx_skb_timer_running) == 0)) { in nes_replenish_mgt_rq()63 atomic_set(&mgtvnic->rx_skb_timer_running, 1); in nes_replenish_mgt_rq()65 mgtvnic->rq_wqes_timer.expires = jiffies + (HZ / 2); /* 1/2 second */ in nes_replenish_mgt_rq()66 add_timer(&mgtvnic->rq_wqes_timer); in nes_replenish_mgt_rq()75 skb = dev_alloc_skb(mgtvnic->nesvnic->max_frame_size); in nes_replenish_mgt_rq()77 skb->dev = mgtvnic->nesvnic->netdev; in nes_replenish_mgt_rq()[all …]
1282 struct nes_vnic_mgt *mgtvnic[NES_MGT_QP_COUNT]; member