aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_rq.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/net/enic/vnic_rq.h
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'drivers/net/enic/vnic_rq.h')
-rw-r--r--drivers/net/enic/vnic_rq.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/enic/vnic_rq.h b/drivers/net/enic/vnic_rq.h
index 2dc48f91abf7..2056586f4d4b 100644
--- a/drivers/net/enic/vnic_rq.h
+++ b/drivers/net/enic/vnic_rq.h
@@ -141,11 +141,6 @@ static inline void vnic_rq_post(struct vnic_rq *rq,
141 } 141 }
142} 142}
143 143
144static inline int vnic_rq_posting_soon(struct vnic_rq *rq)
145{
146 return ((rq->to_use->index & VNIC_RQ_RETURN_RATE) == 0);
147}
148
149static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count) 144static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count)
150{ 145{
151 rq->ring.desc_avail += count; 146 rq->ring.desc_avail += count;
@@ -202,10 +197,6 @@ static inline int vnic_rq_fill(struct vnic_rq *rq,
202void vnic_rq_free(struct vnic_rq *rq); 197void vnic_rq_free(struct vnic_rq *rq);
203int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, 198int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
204 unsigned int desc_count, unsigned int desc_size); 199 unsigned int desc_count, unsigned int desc_size);
205void vnic_rq_init_start(struct vnic_rq *rq, unsigned int cq_index,
206 unsigned int fetch_index, unsigned int posted_index,
207 unsigned int error_interrupt_enable,
208 unsigned int error_interrupt_offset);
209void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, 200void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
210 unsigned int error_interrupt_enable, 201 unsigned int error_interrupt_enable,
211 unsigned int error_interrupt_offset); 202 unsigned int error_interrupt_offset);