desc->skb =NULL;if(netif_subqueue_stopped(dev,queue)) netif_wake_subqueue(dev,queue); }else{if(netif_msg_tx_err(priv) && net_ratelimit()) printk(KERN_WARNING"%s: end_xmit: spurious interrupt\n", dev->name);if(netif_subqueue_stopped(dev,queue)) netif_wake_subqueue(dev,queue); }...
!test_bit (EVENT_RX_HALT, &dev->flags)) {inttemp = dev->rxq.qlen;intqlen = RX_QLEN (dev);if(temp < qlen) {structurb*urb;inti;// don't refill the queue all at oncefor(i =0; i <10&& dev->rxq.qlen < qlen; i++) { urb = usb_alloc_urb (0, GFP_ATOMIC);if(urb !=...
netif_carrier_on(priv->netdev);if(netif_queue_stopped(priv->netdev)) netif_wake_queue(priv->netdev); mwifiex_save_curr_bcn(priv); done:/* Need to indicate IOCTL complete */if(adapter->curr_cmd->wait_q_enabled) {if(ret) adapter->cmd_wait_q.status =-1;elseadapter->cmd_wait_q....
netif_tx_wake_queue(txq); __netif_tx_unlock(txq); }#endif} 开发者ID:andy-padavan,项目名称:rt-n56u,代码行数:96,代码来源:raether_qdma.c 示例8: xenvif_read_io_ring ▲点赞 1▼ staticintxenvif_read_io_ring(struct seq_file *m,void*v){structxenvif_queue*queue=m->private;structxe...