X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fenic%2Fenic_rxtx.c;h=6a8718c086719790c0b162216eb2e4685cd7aaec;hb=5ad753cec8095fe66d3f66a591546e1d13a8abe7;hp=8fa864737352a79d6373befa310a276c5c7c5eda;hpb=ad8473ef0a155ee385caf5f3109abccc73b7728f;p=dpdk.git diff --git a/drivers/net/enic/enic_rxtx.c b/drivers/net/enic/enic_rxtx.c index 8fa8647373..6a8718c086 100644 --- a/drivers/net/enic/enic_rxtx.c +++ b/drivers/net/enic/enic_rxtx.c @@ -329,7 +329,8 @@ enic_noscatter_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, return rx - rx_pkts; } -static inline void enic_free_wq_bufs(struct vnic_wq *wq, u16 completed_index) +static inline void enic_free_wq_bufs(struct vnic_wq *wq, + uint16_t completed_index) { struct rte_mbuf *buf; struct rte_mbuf *m, *free[ENIC_MAX_WQ_DESCS]; @@ -371,7 +372,7 @@ static inline void enic_free_wq_bufs(struct vnic_wq *wq, u16 completed_index) unsigned int enic_cleanup_wq(__rte_unused struct enic *enic, struct vnic_wq *wq) { - u16 completed_index; + uint16_t completed_index; completed_index = *((uint32_t *)wq->cqmsg_rz->addr) & 0xffff;