* [PATCH] net/i40e: fix wrong definition of TC bandwidth
@ 2017-02-10 5:25 Wenzhuo Lu
2017-02-10 11:35 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Wenzhuo Lu @ 2017-02-10 5:25 UTC (permalink / raw)
To: dev; +Cc: Wenzhuo Lu, stable
The range of TC bandwidth is 0 ~ 800, it's 16bits not 8bits.
Fixes: c8b9a3e3fe1b ("i40e: support DCB mode")
CC: stable@dpdk.org
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
---
drivers/net/i40e/i40e_ethdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.h b/drivers/net/i40e/i40e_ethdev.h
index b19a36d..9e5ad64 100644
--- a/drivers/net/i40e/i40e_ethdev.h
+++ b/drivers/net/i40e/i40e_ethdev.h
@@ -290,7 +290,7 @@ struct i40e_bw_info {
/* Relative credits within same TC with respect to other VSIs or Comps */
uint8_t bw_ets_share_credits[I40E_MAX_TRAFFIC_CLASS];
/* Bandwidth limit per TC */
- uint8_t bw_ets_credits[I40E_MAX_TRAFFIC_CLASS];
+ uint16_t bw_ets_credits[I40E_MAX_TRAFFIC_CLASS];
/* Max bandwidth limit per TC */
uint8_t bw_ets_max[I40E_MAX_TRAFFIC_CLASS];
};
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net/i40e: fix wrong definition of TC bandwidth
2017-02-10 5:25 [PATCH] net/i40e: fix wrong definition of TC bandwidth Wenzhuo Lu
@ 2017-02-10 11:35 ` Ferruh Yigit
0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-02-10 11:35 UTC (permalink / raw)
To: Wenzhuo Lu, dev; +Cc: stable
On 2/10/2017 5:25 AM, Wenzhuo Lu wrote:
> The range of TC bandwidth is 0 ~ 800, it's 16bits not 8bits.
>
> Fixes: c8b9a3e3fe1b ("i40e: support DCB mode")
> 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-10 11:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-10 5:25 [PATCH] net/i40e: fix wrong definition of TC bandwidth Wenzhuo Lu
2017-02-10 11:35 ` Ferruh Yigit
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.