diff options
author | Wei Liu <wei.liu2@citrix.com> | 2013-08-26 07:59:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-29 01:18:04 -0400 |
commit | 7376419a4697657b2e0ab904a592aacc2e485bf1 (patch) | |
tree | afd53204a1c0374d5b85490d7edee7bee1ed72c9 /drivers/net/xen-netback/common.h | |
parent | b3f980bd827e6e81a050c518d60ed7811a83061d (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.h | 24 |
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 | ||
191 | int xenvif_schedulable(struct xenvif *vif); | 191 | int xenvif_schedulable(struct xenvif *vif); |
192 | 192 | ||
193 | int xen_netbk_rx_ring_full(struct xenvif *vif); | 193 | int xenvif_rx_ring_full(struct xenvif *vif); |
194 | 194 | ||
195 | int xen_netbk_must_stop_queue(struct xenvif *vif); | 195 | int xenvif_must_stop_queue(struct xenvif *vif); |
196 | 196 | ||
197 | /* (Un)Map communication rings. */ | 197 | /* (Un)Map communication rings. */ |
198 | void xen_netbk_unmap_frontend_rings(struct xenvif *vif); | 198 | void xenvif_unmap_frontend_rings(struct xenvif *vif); |
199 | int xen_netbk_map_frontend_rings(struct xenvif *vif, | 199 | int 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 */ |
204 | void xen_netbk_check_rx_xenvif(struct xenvif *vif); | 204 | void 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 */ |
207 | void xen_netbk_queue_tx_skb(struct xenvif *vif, struct sk_buff *skb); | 207 | void 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 */ |
209 | void xenvif_notify_tx_completion(struct xenvif *vif); | 209 | void xenvif_notify_tx_completion(struct xenvif *vif); |
210 | 210 | ||
@@ -212,12 +212,12 @@ void xenvif_notify_tx_completion(struct xenvif *vif); | |||
212 | void xenvif_carrier_off(struct xenvif *vif); | 212 | void 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 */ |
215 | unsigned int xen_netbk_count_skb_slots(struct xenvif *vif, struct sk_buff *skb); | 215 | unsigned int xenvif_count_skb_slots(struct xenvif *vif, struct sk_buff *skb); |
216 | 216 | ||
217 | int xen_netbk_tx_action(struct xenvif *vif, int budget); | 217 | int xenvif_tx_action(struct xenvif *vif, int budget); |
218 | void xen_netbk_rx_action(struct xenvif *vif); | 218 | void xenvif_rx_action(struct xenvif *vif); |
219 | 219 | ||
220 | int xen_netbk_kthread(void *data); | 220 | int xenvif_kthread(void *data); |
221 | 221 | ||
222 | extern bool separate_tx_rx_irq; | 222 | extern bool separate_tx_rx_irq; |
223 | 223 | ||