summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2016-09-19 03:58:04 -0400
committerDavid S. Miller <davem@davemloft.net>2016-09-19 21:32:25 -0400
commit47f8e8b9bbbbe00740786bd1da0d5097d45ba46b (patch)
tree127d358416b8b4b97d007c27b435778ecd269664 /tools/perf/scripts/python/bin/stackcollapse-report
parent5ac67d8bc753b122175e682274599338b3ee7d42 (diff)
downloadkernel-47f8e8b9bbbbe00740786bd1da0d5097d45ba46b.tar.gz
bnxt_en: Fix ethtool -l|-L inconsistent channel counts.
The existing code is inconsistent in reporting and accepting the combined channel count. bnxt_get_channels() reports maximum combined as the maximum rx count. bnxt_set_channels() accepts combined count that cannot be bigger than max rx or max tx. For example, if max rx = 2 and max tx = 1, we report max supported combined to be 2. But if the user tries to set combined to 2, it will fail because 2 is bigger than max tx which is 1. Fix the code to be consistent. Max allowed combined = max(max_rx, max_tx). We will accept a combined channel count <= max(max_rx, max_tx). Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
ref='/distro/kernel/commit/sound/usb/usbquirks.h?h=linux-6.6.y&id=f1265391ea002a28933dc1a8a55948c0ed64c9d0'>[ALSA] usb-audio: add more Yamaha devicesClemens Ladisch 2006-04-27[ALSA] add another Phase 26 quirkClemens Ladisch 2006-03-22[ALSA] usb-audio: add Casio PL-40R supportClemens Ladisch 2006-03-22[ALSA] usb-audio: add MDP-5/EZ-J24 supportClemens Ladisch 2006-03-22[ALSA] usb-audio: change Casio quirk product nameClemens Ladisch 2006-03-22[ALSA] usb-audio: add Casio AP-80R supportClemens Ladisch 2006-03-22[ALSA] usb-audio: add Miditech Play'n Roll supportClemens Ladisch 2006-03-22[ALSA] usb-audio: rename QUIRK_MIDI_MIDITECH to QUIRK_MIDI_CMEClemens Ladisch 2006-03-22[ALSA] usb-audio: add UM-1EX/UM-2EX informationClemens Ladisch 2006-03-22[ALSA] usb-audio: fix number of G-70 portsClemens Ladisch 2006-03-22[ALSA] usb-audio: add Roland G-70 supportClemens Ladisch 2006-03-22[ALSA] usb-audio: add Edirol PC-50 supportClemens Ladisch 2006-03-22[ALSA] usb-audio: cosmetic changesClemens Ladisch 2006-03-22[ALSA] Add support for EDIROL UM-3exBrent Cook