commit | 18e4960c18f484ac288f41b43d0e6c4c88e6ea78 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Sun Feb 02 02:41:38 2020 -0500 |
committer | Jakub Kicinski <kuba@kernel.org> | Mon Feb 03 15:06:45 2020 -0800 |
tree | c104211a2e5eac7599272c2c63fde2816fa68ec5 | |
parent | d407302895d3f3ca3a333c711744a95e0b1b0150 [diff] |
bnxt_en: Fix TC queue mapping. The driver currently only calls netdev_set_tc_queue when the number of TCs is greater than 1. Instead, the comparison should be greater than or equal to 1. Even with 1 TC, we need to set the queue mapping. This bug can cause warnings when the number of TCs is changed back to 1. Fixes: 7809592d3e2e ("bnxt_en: Enable MSIX early in bnxt_init_one().") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>