]> 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)
commitbdb7c11a70e270cbc57278a3afad201dfdc37686
tree0cd2a30e597dee74e74bd685af593a02f53b77ec
parent33bd643a5ea6a4505ccb31adfd51bf0155b0fa92
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