Lines Matching full:queues

46 	struct ntb_netdev_queue *queues;  member
61 if (ntb_transport_link_query(dev->queues[i].qp)) { in ntb_netdev_update_carrier()
276 q = &dev->queues[qid]; in ntb_netdev_start_xmit()
336 queue = &dev->queues[q]; in ntb_netdev_open()
349 ntb_transport_link_up(dev->queues[q].qp); in ntb_netdev_open()
355 queue = &dev->queues[q]; in ntb_netdev_open()
371 queue = &dev->queues[q]; in ntb_netdev_close()
389 if (new_mtu > ntb_transport_max_size(dev->queues[0].qp) - ETH_HLEN) in ntb_netdev_change_mtu()
399 ntb_transport_link_down(dev->queues[q].qp); in ntb_netdev_change_mtu()
403 queue = &dev->queues[q]; in ntb_netdev_change_mtu()
433 ntb_transport_link_up(dev->queues[q].qp); in ntb_netdev_change_mtu()
439 struct ntb_netdev_queue *queue = &dev->queues[q]; in ntb_netdev_change_mtu()
505 queue = &dev->queues[q]; in ntb_inc_channels()
541 ntb_transport_link_up(dev->queues[q].qp); in ntb_inc_channels()
550 queue = &dev->queues[rollback]; in ntb_inc_channels()
557 queue = &dev->queues[created]; in ntb_inc_channels()
585 queue = &dev->queues[q]; in ntb_dec_channels()
598 * It might be the case that the removed queues are the only queues that in ntb_dec_channels()
662 dev->queues = kzalloc_objs(*dev->queues, NTB_NETDEV_MAX_QUEUES); in ntb_netdev_probe()
663 if (!dev->queues) { in ntb_netdev_probe()
686 struct ntb_netdev_queue *queue = &dev->queues[q]; in ntb_netdev_probe()
707 ndev->mtu = ntb_transport_max_size(dev->queues[0].qp) - ETH_HLEN; in ntb_netdev_probe()
720 ntb_transport_free_queue(dev->queues[q].qp); in ntb_netdev_probe()
723 kfree(dev->queues); in ntb_netdev_probe()
738 ntb_transport_free_queue(dev->queues[q].qp); in ntb_netdev_remove()
740 kfree(dev->queues); in ntb_netdev_remove()