aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/common.h
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2013-08-26 07:59:39 -0400
committerDavid S. Miller <davem@davemloft.net>2013-08-29 01:18:04 -0400
commit7376419a4697657b2e0ab904a592aacc2e485bf1 (patch)
treeafd53204a1c0374d5b85490d7edee7bee1ed72c9 /drivers/net/xen-netback/common.h
parentb3f980bd827e6e81a050c518d60ed7811a83061d (diff)
xen-netback: rename functions
As we move to 1:1 model and melt xen_netbk and xenvif together, it would be better to use single prefix for all functions in xen-netback. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/common.h')
-rw-r--r--drivers/net/xen-netback/common.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h
index 9c1f15872e17..a1977430ddfb 100644
--- a/drivers/net/xen-netback/common.h
+++ b/drivers/net/xen-netback/common.h
@@ -190,21 +190,21 @@ void xenvif_xenbus_fini(void);
190 190
191int xenvif_schedulable(struct xenvif *vif); 191int xenvif_schedulable(struct xenvif *vif);
192 192
193int xen_netbk_rx_ring_full(struct xenvif *vif); 193int xenvif_rx_ring_full(struct xenvif *vif);
194 194
195int xen_netbk_must_stop_queue(struct xenvif *vif); 195int xenvif_must_stop_queue(struct xenvif *vif);
196 196
197/* (Un)Map communication rings. */ 197/* (Un)Map communication rings. */
198void xen_netbk_unmap_frontend_rings(struct xenvif *vif); 198void xenvif_unmap_frontend_rings(struct xenvif *vif);
199int xen_netbk_map_frontend_rings(struct xenvif *vif, 199int xenvif_map_frontend_rings(struct xenvif *vif,
200 grant_ref_t tx_ring_ref, 200 grant_ref_t tx_ring_ref,
201 grant_ref_t rx_ring_ref); 201 grant_ref_t rx_ring_ref);
202 202
203/* Check for SKBs from frontend and schedule backend processing */ 203/* Check for SKBs from frontend and schedule backend processing */
204void xen_netbk_check_rx_xenvif(struct xenvif *vif); 204void xenvif_check_rx_xenvif(struct xenvif *vif);
205 205
206/* Queue an SKB for transmission to the frontend */ 206/* Queue an SKB for transmission to the frontend */
207void xen_netbk_queue_tx_skb(struct xenvif *vif, struct sk_buff *skb); 207void xenvif_queue_tx_skb(struct xenvif *vif, struct sk_buff *skb);
208/* Notify xenvif that ring now has space to send an skb to the frontend */ 208/* Notify xenvif that ring now has space to send an skb to the frontend */
209void xenvif_notify_tx_completion(struct xenvif *vif); 209void xenvif_notify_tx_completion(struct xenvif *vif);
210 210
@@ -212,12 +212,12 @@ void xenvif_notify_tx_completion(struct xenvif *vif);
212void xenvif_carrier_off(struct xenvif *vif); 212void xenvif_carrier_off(struct xenvif *vif);
213 213
214/* Returns number of ring slots required to send an skb to the frontend */ 214/* Returns number of ring slots required to send an skb to the frontend */
215unsigned int xen_netbk_count_skb_slots(struct xenvif *vif, struct sk_buff *skb); 215unsigned int xenvif_count_skb_slots(struct xenvif *vif, struct sk_buff *skb);
216 216
217int xen_netbk_tx_action(struct xenvif *vif, int budget); 217int xenvif_tx_action(struct xenvif *vif, int budget);
218void xen_netbk_rx_action(struct xenvif *vif); 218void xenvif_rx_action(struct xenvif *vif);
219 219
220int xen_netbk_kthread(void *data); 220int xenvif_kthread(void *data);
221 221
222extern bool separate_tx_rx_irq; 222extern bool separate_tx_rx_irq;
223 223