HomeFreeBSD

ixgbe: increase DCB BW calculation for MTU

Description

ixgbe: increase DCB BW calculation for MTU

Change max credit and credit refill to a maximum possible value, 9128.
Too small values cause the incorrect calculation of the bandwidth limits
to each traffic class for frames larger than 4088 bytes.

Signed-off-by: Radoslaw Tyl <radoslawx.tyl@intel.com>
Reviewed-by: Piotr Skajewski <piotrx.skajewski@intel.com>
Reviewed-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Reviewed-by: Alice Michael <alice.michael@intel.com>
Tested-by: Piotr Skajewski <piotrx.skajewski@intel.com>

Obtained from: DPDK (440823f)

(cherry picked from commit 1b80ac6fa64eaa575b99521cbd71a3780bf5139b)

Details

Provenance
Radoslaw Tyl <radoslawx.tyl@intel.com>Authored on Sep 20 2024, 2:42 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 27 2024, 3:38 AM
Parents
rG1b7b58a07a65: ixgbe: introduce new mailbox API
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rG980e6b7fd537: ixgbe: increase DCB BW calculation for MTU (authored by Radoslaw Tyl <radoslawx.tyl@intel.com>).Sep 27 2024, 3:38 AM