Lines Matching refs:xbdev
159 struct xenbus_device *xbdev; member
325 queue->info->xbdev->otherend_id, in xennet_alloc_rx_buffers()
477 gnttab_grant_foreign_access_ref(ref, queue->info->xbdev->otherend_id, in xennet_tx_setup_grant()
1390 !xenbus_read_unsigned(np->xbdev->otherend, "feature-sg", 0)) in xennet_fix_features()
1394 !xenbus_read_unsigned(np->xbdev->otherend, in xennet_fix_features()
1399 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv4", 0)) in xennet_fix_features()
1403 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv6", 0)) in xennet_fix_features()
1482 err = xenbus_printf(XBT_NIL, np->xbdev->nodename, in talk_to_netback_xdp()
1507 xenbus_switch_state(np->xbdev, XenbusStateReconfiguring); in xennet_xdp_set()
1516 xenbus_read_driver_state(np->xbdev->otherend) == in xennet_xdp_set()
1532 xenbus_switch_state(np->xbdev, XenbusStateConnected); in xennet_xdp_set()
1590 np->xbdev = dev; in xennet_create_dev()
1767 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->tx_evtchn); in setup_netfront_single()
1782 xenbus_free_evtchn(queue->info->xbdev, queue->tx_evtchn); in setup_netfront_single()
1792 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->tx_evtchn); in setup_netfront_split()
1795 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->rx_evtchn); in setup_netfront_split()
1823 xenbus_free_evtchn(queue->info->xbdev, queue->rx_evtchn); in setup_netfront_split()
1826 xenbus_free_evtchn(queue->info->xbdev, queue->tx_evtchn); in setup_netfront_split()
1917 devid = strrchr(queue->info->xbdev->nodename, '/') + 1; in xennet_init_queue()
1968 struct xenbus_device *dev = queue->info->xbdev; in write_queue_xenstore_keys()
2123 dev_warn(&info->xbdev->dev, in xennet_create_queues()
2132 dev_err(&info->xbdev->dev, "can't allocate page pool\n"); in xennet_create_queues()
2146 dev_err(&info->xbdev->dev, "no queues\n"); in xennet_create_queues()
2168 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
2173 feature_split_evtchn = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
2183 info->netback_has_xdp_headroom = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
2226 info->xbdev->otherend, "multi-queue-max-queues")) { in talk_to_netback()
2322 if (!xenbus_read_unsigned(np->xbdev->otherend, "feature-rx-copy", 0)) { in xennet_connect()
2328 err = talk_to_netback(np->xbdev, np); in xennet_connect()
2341 device_unregister(&np->xbdev->dev); in xennet_connect()