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()
257 q = &dev->queues[qid]; in ntb_netdev_start_xmit()
308 queue = &dev->queues[q]; in ntb_netdev_open()
321 ntb_transport_link_up(dev->queues[q].qp); in ntb_netdev_open()
327 queue = &dev->queues[q]; in ntb_netdev_open()
343 queue = &dev->queues[q]; in ntb_netdev_close()
361 if (new_mtu > ntb_transport_max_size(dev->queues[0].qp) - ETH_HLEN) in ntb_netdev_change_mtu()
371 ntb_transport_link_down(dev->queues[q].qp); in ntb_netdev_change_mtu()
375 queue = &dev->queues[q]; in ntb_netdev_change_mtu()
405 ntb_transport_link_up(dev->queues[q].qp); in ntb_netdev_change_mtu()
411 struct ntb_netdev_queue *queue = &dev->queues[q]; in ntb_netdev_change_mtu()
477 queue = &dev->queues[q]; in ntb_inc_channels()
513 ntb_transport_link_up(dev->queues[q].qp); in ntb_inc_channels()
522 queue = &dev->queues[rollback]; in ntb_inc_channels()
529 queue = &dev->queues[created]; in ntb_inc_channels()
557 queue = &dev->queues[q]; in ntb_dec_channels()
570 * It might be the case that the removed queues are the only queues that in ntb_dec_channels()
634 dev->queues = kzalloc_objs(*dev->queues, NTB_NETDEV_MAX_QUEUES, in ntb_netdev_probe()
636 if (!dev->queues) { in ntb_netdev_probe()
658 struct ntb_netdev_queue *queue = &dev->queues[q]; in ntb_netdev_probe()
679 ndev->mtu = ntb_transport_max_size(dev->queues[0].qp) - ETH_HLEN; in ntb_netdev_probe()
692 ntb_transport_free_queue(dev->queues[q].qp); in ntb_netdev_probe()
695 kfree(dev->queues); in ntb_netdev_probe()
710 ntb_transport_free_queue(dev->queues[q].qp); in ntb_netdev_remove()
712 kfree(dev->queues); in ntb_netdev_remove()