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: 93e84b1bfc92 ("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
..
2019-03-29 17:25:31 +01:00
2019-03-29 17:25:31 +01:00
2019-06-28 20:31:48 +02:00
2019-06-28 20:31:48 +02:00
2019-06-28 20:31:48 +02:00
2019-03-29 17:25:31 +01:00
2019-06-04 00:22:50 +02:00

/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2018 Intel Corporation
 */

Intel® ICE driver
==================

This directory contains source code of FreeBSD ice driver of version
2018.12.11 released by the team which develops
basic drivers for any ice NIC. The directory of base/ contains the
original source package.
This driver is valid for the product(s) listed below

* Intel® Ethernet Network Adapters E810

Updating the driver
===================

NOTE: The source code in this directory should not be modified apart from
the following file(s):

    ice_osdep.h