Lines Matching refs:xbdev
162 struct xenbus_device *xbdev; member
328 queue->info->xbdev->otherend_id, in xennet_alloc_rx_buffers()
485 gnttab_grant_foreign_access_ref(ref, queue->info->xbdev->otherend_id, in xennet_tx_setup_grant()
1412 !xenbus_read_unsigned(np->xbdev->otherend, "feature-sg", 0)) in xennet_fix_features()
1416 !xenbus_read_unsigned(np->xbdev->otherend, in xennet_fix_features()
1421 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv4", 0)) in xennet_fix_features()
1425 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv6", 0)) in xennet_fix_features()
1543 err = xenbus_printf(XBT_NIL, np->xbdev->nodename, in talk_to_netback_xdp()
1568 xenbus_switch_state(np->xbdev, XenbusStateReconfiguring); in xennet_xdp_set()
1577 xenbus_read_driver_state(np->xbdev->otherend) == in xennet_xdp_set()
1593 xenbus_switch_state(np->xbdev, XenbusStateConnected); in xennet_xdp_set()
1651 np->xbdev = dev; in xennet_create_dev()
1828 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->tx_evtchn); in setup_netfront_single()
1844 xenbus_free_evtchn(queue->info->xbdev, queue->tx_evtchn); in setup_netfront_single()
1854 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->tx_evtchn); in setup_netfront_split()
1857 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->rx_evtchn); in setup_netfront_split()
1885 xenbus_free_evtchn(queue->info->xbdev, queue->rx_evtchn); in setup_netfront_split()
1888 xenbus_free_evtchn(queue->info->xbdev, queue->tx_evtchn); in setup_netfront_split()
1980 devid = strrchr(queue->info->xbdev->nodename, '/') + 1; in xennet_init_queue()
2031 struct xenbus_device *dev = queue->info->xbdev; in write_queue_xenstore_keys()
2186 dev_warn(&info->xbdev->dev, in xennet_create_queues()
2195 dev_err(&info->xbdev->dev, "can't allocate page pool\n"); in xennet_create_queues()
2209 dev_err(&info->xbdev->dev, "no queues\n"); in xennet_create_queues()
2232 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
2237 feature_split_evtchn = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
2248 info->netback_has_xdp_headroom = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
2291 info->xbdev->otherend, "multi-queue-max-queues")) { in talk_to_netback()
2387 if (!xenbus_read_unsigned(np->xbdev->otherend, "feature-rx-copy", 0)) { in xennet_connect()
2393 err = talk_to_netback(np->xbdev, np); in xennet_connect()
2406 device_unregister(&np->xbdev->dev); in xennet_connect()