net/e1000: fix returned number of available Rx descriptors
Fixes: 0f6b7c7f7a37 ("igb: use DD bit to count RX available descriptors") Signed-off-by: Ali Volkan Atli <volkan.atli@argela.com.tr> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
0e8679fcdd
commit
9e9a5b08e7
@ -1527,7 +1527,7 @@ eth_igb_rx_queue_count(struct rte_eth_dev *dev, uint16_t rx_queue_id)
|
|||||||
desc - rxq->nb_rx_desc]);
|
desc - rxq->nb_rx_desc]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return desc;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user