aboutsummaryrefslogtreecommitdiff
path: root/hw/net
diff options
context:
space:
mode:
authorEmil Condrea <emilcondrea@gmail.com>2016-10-25 08:50:16 +0300
committerStefano Stabellini <sstabellini@kernel.org>2016-10-28 17:54:21 -0700
commitba18fa2a8c9e1746f8229322be8e8893d9a3b192 (patch)
treef0c276fac3395c60fbce6a5dea9131447cbc1052 /hw/net
parent65807f4b6c6c922644be5cffae2ceb9694217bb1 (diff)
downloadqemu-ba18fa2a8c9e1746f8229322be8e8893d9a3b192.zip
qemu-ba18fa2a8c9e1746f8229322be8e8893d9a3b192.tar.gz
qemu-ba18fa2a8c9e1746f8229322be8e8893d9a3b192.tar.bz2
xen: Rename xen_be_send_notify
Prepare xen_be_send_notify to be shared with frontends: * xen_be_send_notify -> xen_pv_send_notify Signed-off-by: Emil Condrea <emilcondrea@gmail.com> Signed-off-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Quan Xu <xuquan8@huawei.com> Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'hw/net')
-rw-r--r--hw/net/xen_nic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/net/xen_nic.c b/hw/net/xen_nic.c
index c996684..20c43a6 100644
--- a/hw/net/xen_nic.c
+++ b/hw/net/xen_nic.c
@@ -69,7 +69,7 @@ static void net_tx_response(struct XenNetDev *netdev, netif_tx_request_t *txp, i
netdev->tx_ring.rsp_prod_pvt = ++i;
RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(&netdev->tx_ring, notify);
if (notify) {
- xen_be_send_notify(&netdev->xendev);
+ xen_pv_send_notify(&netdev->xendev);
}
if (i == netdev->tx_ring.req_cons) {
@@ -221,7 +221,7 @@ static void net_rx_response(struct XenNetDev *netdev,
netdev->rx_ring.rsp_prod_pvt = ++i;
RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(&netdev->rx_ring, notify);
if (notify) {
- xen_be_send_notify(&netdev->xendev);
+ xen_pv_send_notify(&netdev->xendev);
}
}