Revision 958c696f5a7274d9447a458ad7aa70719b29a50a authored by Jack Morgenstein on 24 July 2018, 11:27:55 UTC, committed by David S. Miller on 24 July 2018, 23:30:48 UTC
Function mlx4_RST2INIT_QP_wrapper saved the qp number passed in the qp context, rather than the one passed in the input modifier. However, the qp number in the qp context is not defined as a required parameter by the FW. Therefore, drivers may choose to not specify the qp number in the qp context for the reset-to-init transition. Thus, we must save the qp number passed in the command input modifier -- which is always present. (This saved qp number is used as the input modifier for command 2RST_QP when a slave's qp's are destroyed). Fixes: c82e9aa0a8bc ("mlx4_core: resource tracking for HCA resources used by guests") Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 18041b5
File | Mode | Size |
---|---|---|
kasan | ||
Kconfig | -rw-r--r-- | 24.7 KB |
Kconfig.debug | -rw-r--r-- | 3.7 KB |
Makefile | -rw-r--r-- | 3.6 KB |
backing-dev.c | -rw-r--r-- | 26.8 KB |
balloon_compaction.c | -rw-r--r-- | 5.5 KB |
bootmem.c | -rw-r--r-- | 20.8 KB |
cleancache.c | -rw-r--r-- | 9.9 KB |
cma.c | -rw-r--r-- | 13.8 KB |
cma.h | -rw-r--r-- | 573 bytes |
cma_debug.c | -rw-r--r-- | 4.5 KB |
compaction.c | -rw-r--r-- | 58.7 KB |
debug.c | -rw-r--r-- | 4.5 KB |
debug_page_ref.c | -rw-r--r-- | 1.4 KB |
dmapool.c | -rw-r--r-- | 13.7 KB |
early_ioremap.c | -rw-r--r-- | 6.8 KB |
fadvise.c | -rw-r--r-- | 4.9 KB |
failslab.c | -rw-r--r-- | 1.4 KB |
filemap.c | -rw-r--r-- | 89.3 KB |
frame_vector.c | -rw-r--r-- | 6.4 KB |
frontswap.c | -rw-r--r-- | 14.2 KB |
gup.c | -rw-r--r-- | 50.6 KB |
gup_benchmark.c | -rw-r--r-- | 2.1 KB |
highmem.c | -rw-r--r-- | 11.7 KB |
hmm.c | -rw-r--r-- | 37.9 KB |
huge_memory.c | -rw-r--r-- | 80.8 KB |
hugetlb.c | -rw-r--r-- | 130.0 KB |
hugetlb_cgroup.c | -rw-r--r-- | 10.9 KB |
hwpoison-inject.c | -rw-r--r-- | 3.2 KB |
init-mm.c | -rw-r--r-- | 770 bytes |
internal.h | -rw-r--r-- | 16.8 KB |
interval_tree.c | -rw-r--r-- | 3.1 KB |
khugepaged.c | -rw-r--r-- | 48.8 KB |
kmemleak-test.c | -rw-r--r-- | 3.2 KB |
kmemleak.c | -rw-r--r-- | 59.0 KB |
ksm.c | -rw-r--r-- | 88.2 KB |
list_lru.c | -rw-r--r-- | 13.4 KB |
maccess.c | -rw-r--r-- | 3.1 KB |
madvise.c | -rw-r--r-- | 22.6 KB |
memblock.c | -rw-r--r-- | 50.7 KB |
memcontrol.c | -rw-r--r-- | 162.0 KB |
memfd.c | -rw-r--r-- | 8.4 KB |
memory-failure.c | -rw-r--r-- | 47.9 KB |
memory.c | -rw-r--r-- | 126.7 KB |
memory_hotplug.c | -rw-r--r-- | 49.4 KB |
mempolicy.c | -rw-r--r-- | 71.4 KB |
mempool.c | -rw-r--r-- | 15.5 KB |
memtest.c | -rw-r--r-- | 2.8 KB |
migrate.c | -rw-r--r-- | 77.8 KB |
mincore.c | -rw-r--r-- | 6.7 KB |
mlock.c | -rw-r--r-- | 22.6 KB |
mm_init.c | -rw-r--r-- | 4.8 KB |
mmap.c | -rw-r--r-- | 99.4 KB |
mmu_context.c | -rw-r--r-- | 1.3 KB |
mmu_notifier.c | -rw-r--r-- | 12.2 KB |
mmzone.c | -rw-r--r-- | 2.4 KB |
mprotect.c | -rw-r--r-- | 14.2 KB |
mremap.c | -rw-r--r-- | 17.0 KB |
msync.c | -rw-r--r-- | 2.6 KB |
nobootmem.c | -rw-r--r-- | 10.7 KB |
nommu.c | -rw-r--r-- | 47.8 KB |
oom_kill.c | -rw-r--r-- | 29.7 KB |
page-writeback.c | -rw-r--r-- | 84.3 KB |
page_alloc.c | -rw-r--r-- | 219.5 KB |
page_counter.c | -rw-r--r-- | 6.6 KB |
page_ext.c | -rw-r--r-- | 11.1 KB |
page_idle.c | -rw-r--r-- | 5.5 KB |
page_io.c | -rw-r--r-- | 10.4 KB |
page_isolation.c | -rw-r--r-- | 8.7 KB |
page_owner.c | -rw-r--r-- | 15.1 KB |
page_poison.c | -rw-r--r-- | 2.7 KB |
page_vma_mapped.c | -rw-r--r-- | 6.9 KB |
pagewalk.c | -rw-r--r-- | 8.7 KB |
percpu-internal.h | -rw-r--r-- | 5.9 KB |
percpu-km.c | -rw-r--r-- | 2.9 KB |
percpu-stats.c | -rw-r--r-- | 5.7 KB |
percpu-vm.c | -rw-r--r-- | 10.3 KB |
percpu.c | -rw-r--r-- | 83.5 KB |
pgtable-generic.c | -rw-r--r-- | 5.3 KB |
process_vm_access.c | -rw-r--r-- | 10.0 KB |
quicklist.c | -rw-r--r-- | 2.4 KB |
readahead.c | -rw-r--r-- | 16.4 KB |
rmap.c | -rw-r--r-- | 53.1 KB |
rodata_test.c | -rw-r--r-- | 1.4 KB |
shmem.c | -rw-r--r-- | 104.8 KB |
slab.c | -rw-r--r-- | 110.8 KB |
slab.h | -rw-r--r-- | 14.6 KB |
slab_common.c | -rw-r--r-- | 37.6 KB |
slob.c | -rw-r--r-- | 16.2 KB |
slub.c | -rw-r--r-- | 141.4 KB |
sparse-vmemmap.c | -rw-r--r-- | 8.0 KB |
sparse.c | -rw-r--r-- | 22.7 KB |
swap.c | -rw-r--r-- | 28.7 KB |
swap_cgroup.c | -rw-r--r-- | 5.2 KB |
swap_slots.c | -rw-r--r-- | 9.4 KB |
swap_state.c | -rw-r--r-- | 22.4 KB |
swapfile.c | -rw-r--r-- | 94.9 KB |
truncate.c | -rw-r--r-- | 26.4 KB |
usercopy.c | -rw-r--r-- | 8.8 KB |
userfaultfd.c | -rw-r--r-- | 15.0 KB |
util.c | -rw-r--r-- | 19.4 KB |
vmacache.c | -rw-r--r-- | 3.2 KB |
vmalloc.c | -rw-r--r-- | 69.7 KB |
vmpressure.c | -rw-r--r-- | 13.9 KB |
vmscan.c | -rw-r--r-- | 116.0 KB |
vmstat.c | -rw-r--r-- | 51.6 KB |
workingset.c | -rw-r--r-- | 18.1 KB |
z3fold.c | -rw-r--r-- | 30.0 KB |
zbud.c | -rw-r--r-- | 18.2 KB |
zpool.c | -rw-r--r-- | 10.7 KB |
zsmalloc.c | -rw-r--r-- | 60.3 KB |
zswap.c | -rw-r--r-- | 34.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...