]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/i40e/i40e_ethdev.h
net/i40e: fix TC bandwidth definition
[dpdk.git] / drivers / net / i40e / i40e_ethdev.h
index b19a36de4caa0a1401885fa77d33419eeb4abfe7..f545850625daaa5e215e404a8d8789348e09e2c2 100644 (file)
@@ -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];
 };