Lines Matching refs:qops
28 const struct netdev_queue_mgmt_ops *qops = dev->queue_mgmt_ops; in netdev_rx_queue_reconfig() local
32 if (!qops || !qops->ndo_queue_stop || !qops->ndo_queue_mem_free || in netdev_rx_queue_reconfig()
33 !qops->ndo_queue_mem_alloc || !qops->ndo_queue_start) in netdev_rx_queue_reconfig()
38 new_mem = kvzalloc(qops->ndo_queue_mem_size, GFP_KERNEL); in netdev_rx_queue_reconfig()
42 old_mem = kvzalloc(qops->ndo_queue_mem_size, GFP_KERNEL); in netdev_rx_queue_reconfig()
48 err = qops->ndo_queue_mem_alloc(dev, qcfg_new, new_mem, rxq_idx); in netdev_rx_queue_reconfig()
57 err = qops->ndo_queue_stop(dev, old_mem, rxq_idx); in netdev_rx_queue_reconfig()
61 err = qops->ndo_queue_start(dev, qcfg_new, new_mem, rxq_idx); in netdev_rx_queue_reconfig()
68 qops->ndo_queue_mem_free(dev, old_mem); in netdev_rx_queue_reconfig()
83 if (qops->ndo_queue_start(dev, qcfg_old, old_mem, rxq_idx)) { in netdev_rx_queue_reconfig()
87 qops->ndo_queue_mem_free(dev, old_mem); in netdev_rx_queue_reconfig()
91 qops->ndo_queue_mem_free(dev, new_mem); in netdev_rx_queue_reconfig()
115 const struct netdev_queue_mgmt_ops *qops = dev->queue_mgmt_ops; in __net_mp_open_rxq() local
141 if (p->rx_page_size && !(qops->supported_params & QCFG_RX_PAGE_SIZE)) { in __net_mp_open_rxq()