aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGuilherme G Piccoli <gpiccoli@linux.vnet.ibm.com>2016-09-22 10:03:58 -0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-10-27 14:10:49 -0700
commit4c95aa5d8fc34be18fcab01b1c6251c8c2b61520 (patch)
tree5d8381b39bbec0ac0e044e7d31bd90819bb55408 /tools/perf/scripts/python/bin
parenti40e: Fix configure TCs after initial DCB disable (diff)
downloadlinux-4c95aa5d8fc34be18fcab01b1c6251c8c2b61520.tar.gz
linux-4c95aa5d8fc34be18fcab01b1c6251c8c2b61520.zip
i40e: disable MSI-X interrupts if we cannot reserve enough vectors
If we fail on allocating enough MSI-X interrupts, we should disable them since they were previously enabled in this point of code. Not disabling them can lead to WARN_ON() being triggered and subsequent failure in enabling MSI as a fallback; the below message was shown without this patch while we played with interrupt allocation in i40e driver: [ 21.461346] sysfs: cannot create duplicate filename '/devices/pci0007:00/0007:00:00.0/0007:01:00.3/msi_irqs' [ 21.461459] ------------[ cut here ]------------ [ 21.461514] WARNING: CPU: 64 PID: 1155 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x88/0xc0 Also, we noticed that without this patch, if we modprobe the module without enough MSI-X interrupts (triggering the above warning), unload the module and re-load it again, we got a crash on the system. Signed-off-by: Guilherme G Piccoli <gpiccoli@linux.vnet.ibm.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
ed-deco' href='/linux/tag/?h=v5.0-rc3'>v5.0-rc3Linus Torvalds1-1/+1 2019-01-20pstore/ram: Avoid allocation and leak of platform dataKees Cook1-6/+3 2019-01-20gcc-plugins: arm_ssp_per_task_plugin: fix for GCC 9+Ard Biesheuvel1-0/+18 2019-01-20gcc-plugins: arm_ssp_per_task_plugin: sign extend the SP maskArd Biesheuvel1-2/+3 2019-01-21fix int_sqrt64() for very large numbersFlorian La Roche1-1/+1 2019-01-20x86: uaccess: Inhibit speculation past access_ok() in user_access_begin()Will Deacon1-1/+1 2019-01-20bpf: in __bpf_redirect_no_mac pull mac only if presentWillem de Bruijn2-10/+12 2019-01-19virtio_net: bulk free tx skbsMichael S. Tsirkin1-6/+6 2019-01-19clang-format: Update .clang-format with the latest for_each macro listJason Gunthorpe1-1/+42 2019-01-19net: phy: phy driver features are mandatoryCamelia Groza2-2/+7 2019-01-19isdn: avm: Fix string plus integer warning from ClangNathan Chancellor1-1/+1 2019-01-19powerpc: chrp: Use of_node_is_type to access device_typeRob Herring1-2/+1 2019-01-18net/mlx5e: Fix cb_ident duplicate in indirect block registerEli Britstein1-13/+16 2019-01-18net/mlx5e: Fix wrong (zero) TX drop counter indication for representorTariq Toukan1-0/+1 2019-01-18net/mlx5e: Fix wrong error code return on FEC query failureShay Agroskin1-1/+4 2019-01-18net/mlx5e: Force CHECKSUM_UNNECESSARY for short ethernet framesCong Wang1-0/+13 2019-01-18tools: bpftool: Cleanup license messThomas Gleixner2-11/+1 2019-01-18bpf: fix inner map masking to prevent oob under speculationDaniel Borkmann1-2/+15