linux-stable/drivers/infiniband/hw/i40iw
Sindhu, Devale 4b34e23f4e i40iw: Report correct firmware version
The driver uses a hard-coded value for FW version and reports an
inconsistent FW version between ibv_devinfo and
/sys/class/infiniband/i40iw/fw_ver.

Retrieve the FW version via a Control QP (CQP) operation and report it
consistently across sysfs and query device.

Fixes: d374984179 ("i40iw: add files for iwarp interface")
Link: https://lore.kernel.org/r/20200313214406.2159-1-shiraz.saleem@intel.com
Reported-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Sindhu, Devale <sindhu.devale@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-03-18 13:53:44 -03:00
..
i40iw.h i40iw: Report correct firmware version 2020-03-18 13:53:44 -03:00
i40iw_cm.c RDMA/i40iw: Fix potential use after free 2019-11-14 11:47:18 -04:00
i40iw_cm.h RDMA: Replace zero-length array with flexible-array member 2020-02-20 13:33:51 -04:00
i40iw_ctrl.c i40iw: Report correct firmware version 2020-03-18 13:53:44 -03:00
i40iw_d.h i40iw: Report correct firmware version 2020-03-18 13:53:44 -03:00
i40iw_hmc.c
i40iw_hmc.h
i40iw_hw.c i40iw: Reorganize acquire/release of locks in i40iw_manage_apbvt 2018-06-18 11:09:05 -06:00
i40iw_main.c i40iw: Report correct firmware version 2020-03-18 13:53:44 -03:00
i40iw_osdep.h i40iw: Redefine i40iw_mmiowb() to do nothing 2019-04-08 12:09:15 +01:00
i40iw_p.h i40iw: Report correct firmware version 2020-03-18 13:53:44 -03:00
i40iw_pble.c
i40iw_pble.h
i40iw_puda.c i40iw: Refactor handling of txpend list 2018-03-06 16:00:51 -07:00
i40iw_puda.h i40iw: Free IEQ resources 2018-01-16 20:38:18 -07:00
i40iw_register.h
i40iw_status.h i40iw: Report correct firmware version 2020-03-18 13:53:44 -03:00
i40iw_type.h i40iw: Report correct firmware version 2020-03-18 13:53:44 -03:00
i40iw_uk.c i40iw: Use utility function roundup_pow_of_two() 2017-12-22 13:37:51 -07:00
i40iw_user.h i40iw: Remove limit on re-posting AEQ entries to HW 2018-01-16 20:38:18 -07:00
i40iw_utils.c net: ipv4: provide __rcu annotation for ifa_list 2019-06-02 18:08:36 -07:00
i40iw_verbs.c i40iw: Report correct firmware version 2020-03-18 13:53:44 -03:00
i40iw_verbs.h RDMA/i40iw: Use core helpers to get aligned DMA address within a supported page size 2019-05-06 13:08:11 -03:00
i40iw_vf.c
i40iw_vf.h
i40iw_virtchnl.c
i40iw_virtchnl.h
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00