summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
diff options
context:
space:
mode:
authorEdwin Peer <edwin.peer@broadcom.com>2021-07-18 15:36:26 -0400
committerDavid S. Miller <davem@davemloft.net>2021-07-19 08:25:43 -0700
commitc08c59653415201ac46ab791c936ae804c45a11b (patch)
tree35232479d9325c60686a7b3d6699e67a1727d698 /drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
parentc81cfb6256d90ea5ba4a6fb280ea3b171be4e05c (diff)
bnxt_en: reject ETS settings that will starve a TC
ETS proportions are presented to HWRM_QUEUE_COS2BW_CFG as minimum bandwidth constraints. Thus, zero is a legal value for a given TC. However, if all the other TCs sum up to 100%, then at least one hardware queue will starve, resulting in guaranteed TX timeouts. Reject such nonsensical configurations. Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c')
0 files changed, 0 insertions, 0 deletions