DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/e1000: fix return value of eth_igb_rx_queue_count()
@ 2016-07-27 13:11 Ali Volkan ATLI
  2016-09-14 13:56 ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Ali Volkan ATLI @ 2016-07-27 13:11 UTC (permalink / raw)
  To: wenzhuo.lu; +Cc: dev, Ali Volkan ATLI

Signed-off-by: Ali Volkan ATLI <volkan.atli@argela.com.tr>
---
 drivers/net/e1000/igb_rxtx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c
index 9d80a0b..c5db727 100644
--- a/drivers/net/e1000/igb_rxtx.c
+++ b/drivers/net/e1000/igb_rxtx.c
@@ -1528,7 +1528,7 @@ eth_igb_rx_queue_count(struct rte_eth_dev *dev, uint16_t rx_queue_id)
 				desc - rxq->nb_rx_desc]);
 	}
 
-	return 0;
+	return desc;
 }
 
 int
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/e1000: fix return value of eth_igb_rx_queue_count()
  2016-07-27 13:11 [dpdk-dev] [PATCH] net/e1000: fix return value of eth_igb_rx_queue_count() Ali Volkan ATLI
@ 2016-09-14 13:56 ` Ferruh Yigit
  2016-09-19 16:26   ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2016-09-14 13:56 UTC (permalink / raw)
  To: Ali Volkan ATLI, Lu, Wenzhuo; +Cc: dev

On 7/27/2016 2:11 PM, Ali Volkan ATLI wrote:
> Signed-off-by: Ali Volkan ATLI <volkan.atli@argela.com.tr>
> ---

Fixes: 0f6b7c7f7a37 ("igb: use DD bit to count RX available descriptors")

function names not desired in patch subject, what about something like
following:
net/e1000: fix number of available Rx descriptors

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/e1000: fix return value of eth_igb_rx_queue_count()
  2016-09-14 13:56 ` Ferruh Yigit
@ 2016-09-19 16:26   ` Bruce Richardson
  0 siblings, 0 replies; 3+ messages in thread
From: Bruce Richardson @ 2016-09-19 16:26 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: Ali Volkan ATLI, Lu, Wenzhuo, dev

On Wed, Sep 14, 2016 at 02:56:47PM +0100, Ferruh Yigit wrote:
> On 7/27/2016 2:11 PM, Ali Volkan ATLI wrote:
> > Signed-off-by: Ali Volkan ATLI <volkan.atli@argela.com.tr>
> > ---
> 
> Fixes: 0f6b7c7f7a37 ("igb: use DD bit to count RX available descriptors")
> 
> function names not desired in patch subject, what about something like
> following:
> net/e1000: fix number of available Rx descriptors
> 
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to rel_16_11 with updated title from Ferruh, and fixes line.

/Bruce

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-19 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-27 13:11 [dpdk-dev] [PATCH] net/e1000: fix return value of eth_igb_rx_queue_count() Ali Volkan ATLI
2016-09-14 13:56 ` Ferruh Yigit
2016-09-19 16:26   ` Bruce Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).