]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Set 128B as the only supported RQ WQE size
authorChien Tin Tung <chien.tin.tung@intel.com>
Wed, 21 Dec 2016 14:53:46 +0000 (08:53 -0600)
committerDoug Ledford <dledford@redhat.com>
Thu, 22 Dec 2016 16:36:12 +0000 (11:36 -0500)
commitda31faeabed93ab36b38a58c45597ee37521c1f4
tree0cd2a30e597dee74e74bd685af593a02f53b77ec
parent4aacb8a9a11f4ebb3aaf00c0ade7d157ac2f4661
i40iw: Set 128B as the only supported RQ WQE size

RQ WQE size other than 128B is not supported.  Correct
RQ size calculation to use 128B only.

Since this breaks ABI, add additional code to
provide compatibility with v4 user provider, libi40iw.

Signed-off-by: Chien Tin Tung <chien.tin.tung@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c
drivers/infiniband/hw/i40iw/i40iw_puda.c
drivers/infiniband/hw/i40iw/i40iw_type.h
drivers/infiniband/hw/i40iw/i40iw_ucontext.h
drivers/infiniband/hw/i40iw/i40iw_uk.c
drivers/infiniband/hw/i40iw/i40iw_user.h
drivers/infiniband/hw/i40iw/i40iw_verbs.c
drivers/infiniband/hw/i40iw/i40iw_verbs.h