DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] ixgbe/base: fix VF multi-queue failure
@ 2016-03-30  2:46 Wenzhuo Lu
  2016-03-30 17:54 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Wenzhuo Lu @ 2016-03-30  2:46 UTC (permalink / raw)
  To: dev; +Cc: Wenzhuo Lu

When starting testpmd with multiple queues on a ixgbe VF
port, it failed with this printing, "nb_rxq(4) is greater
than max_rx_queues(1)".

The root cause is the VF doesn't get the right max rx queue
number from PF and it uses the default value 1.
VF max rx queue number is set by PF through mailbox messages.
The message for this setting only supports version 1.1. As
message version is updated to 1.2, VF cannot parse the rx queue
number setting message correctly.

This patch raise a specific base code update for this issue.

Fixes: 72dec9e37a84 ("ixgbe: support multicast promiscuous mode on VF")
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
---
 drivers/net/ixgbe/base/ixgbe_vf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ixgbe/base/ixgbe_vf.c b/drivers/net/ixgbe/base/ixgbe_vf.c
index dbb5194..40dc1c8 100644
--- a/drivers/net/ixgbe/base/ixgbe_vf.c
+++ b/drivers/net/ixgbe/base/ixgbe_vf.c
@@ -675,6 +675,7 @@ int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,
 	/* do nothing if API doesn't support ixgbevf_get_queues */
 	switch (hw->api_version) {
 	case ixgbe_mbox_api_11:
+	case ixgbe_mbox_api_12:
 		break;
 	default:
 		return 0;
-- 
1.9.3

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

* Re: [dpdk-dev] [PATCH] ixgbe/base: fix VF multi-queue failure
  2016-03-30  2:46 [dpdk-dev] [PATCH] ixgbe/base: fix VF multi-queue failure Wenzhuo Lu
@ 2016-03-30 17:54 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2016-03-30 17:54 UTC (permalink / raw)
  To: Wenzhuo Lu; +Cc: dev

2016-03-30 10:46, Wenzhuo Lu:
> When starting testpmd with multiple queues on a ixgbe VF
> port, it failed with this printing, "nb_rxq(4) is greater
> than max_rx_queues(1)".
> 
> The root cause is the VF doesn't get the right max rx queue
> number from PF and it uses the default value 1.
> VF max rx queue number is set by PF through mailbox messages.
> The message for this setting only supports version 1.1. As
> message version is updated to 1.2, VF cannot parse the rx queue
> number setting message correctly.
> 
> This patch raise a specific base code update for this issue.
> 
> Fixes: 72dec9e37a84 ("ixgbe: support multicast promiscuous mode on VF")
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>

Applied, thanks

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

end of thread, other threads:[~2016-03-30 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-30  2:46 [dpdk-dev] [PATCH] ixgbe/base: fix VF multi-queue failure Wenzhuo Lu
2016-03-30 17:54 ` Thomas Monjalon

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).