numam-dpdk/drivers/net/ice
Leyi Rong e4b73bee79 net/ice/base: fix rate limit burst size calculation
When the MSB is not set, the lower 11 bits do not represent bytes, but
chunks of 64 bytes. Adjust the rate limit burst size calculation
accordingly, and update the comments to indicate the way the hardware
actually works.

Fixes: 93e84b1bfc ("net/ice/base: add basic Tx scheduler")
Cc: stable@dpdk.org

Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2019-06-28 20:31:48 +02:00
..
base net/ice/base: fix rate limit burst size calculation 2019-06-28 20:31:48 +02:00
ice_ethdev.c net/ice/base: implement LLDP persistent settings 2019-06-28 20:31:48 +02:00
ice_ethdev.h net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
ice_logs.h net/ice: support device initialization 2018-12-21 16:22:41 +01:00
ice_rxtx_vec_avx2.c net/ice: support vector AVX2 in Tx 2019-03-29 17:25:31 +01:00
ice_rxtx_vec_common.h net/ice: support Tx SSE vector 2019-03-29 17:25:31 +01:00
ice_rxtx_vec_sse.c net/ice: support Tx SSE vector 2019-03-29 17:25:31 +01:00
ice_rxtx.c net/ice: support Tx checksum offload for tunnel 2019-06-20 23:42:04 +02:00
ice_rxtx.h net/ice: fix Tx function selection 2019-04-19 14:51:55 +02:00
Makefile net/ice/base: support FDIR 2019-03-29 17:25:31 +01:00
meson.build net/ice: support Rx AVX2 vector 2019-03-29 17:25:31 +01:00
rte_pmd_ice_version.map net/ice: support device initialization 2018-12-21 16:22:41 +01:00