DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40e: fix wrong TC bitmap of VEB
@ 2017-02-16  3:29 Wenzhuo Lu
  2017-02-20 14:36 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Wenzhuo Lu @ 2017-02-16  3:29 UTC (permalink / raw)
  To: dev; +Cc: Wenzhuo Lu, stable

When setting up the VEB, default TC bitmap is used.
But after setting the default TC bitmap, it's not
stored. So when we're trying to get the enabled TCs
on the VEB, it's always wrong.

Fixes: 5135f3ca49a7 ("i40e: enable DCB in VMDQ VSIs")
CC: stable@dpdk.org

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
---
 drivers/net/i40e/i40e_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 3ecf14d..82c1fd2 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -4348,6 +4348,7 @@ enum i40e_status_code
 			    hw->aq.asq_last_status);
 		goto fail;
 	}
+	veb->enabled_tc = I40E_DEFAULT_TCMAP;
 
 	/* get statistics index */
 	ret = i40e_aq_get_veb_parameters(hw, veb->seid, NULL, NULL,
-- 
1.9.3

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

* Re: [dpdk-dev] [PATCH] net/i40e: fix wrong TC bitmap of VEB
  2017-02-16  3:29 [dpdk-dev] [PATCH] net/i40e: fix wrong TC bitmap of VEB Wenzhuo Lu
@ 2017-02-20 14:36 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-02-20 14:36 UTC (permalink / raw)
  To: Wenzhuo Lu, dev; +Cc: stable

On 2/16/2017 3:29 AM, Wenzhuo Lu wrote:
> When setting up the VEB, default TC bitmap is used.
> But after setting the default TC bitmap, it's not
> stored. So when we're trying to get the enabled TCs
> on the VEB, it's always wrong.
> 
> Fixes: 5135f3ca49a7 ("i40e: enable DCB in VMDQ VSIs")
> CC: stable@dpdk.org
> 
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>

Applied to dpdk-next-net/master, thanks.

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

end of thread, other threads:[~2017-02-20 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-16  3:29 [dpdk-dev] [PATCH] net/i40e: fix wrong TC bitmap of VEB Wenzhuo Lu
2017-02-20 14:36 ` Ferruh Yigit

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