]> git.openfabrics.org - ~ardavis/dapl.git/commit
openib_common: set providers mtu to active_mtu instead of 2048
authorArlin Davis <arlin.r.davis@intel.com>
Wed, 10 Feb 2016 22:45:12 +0000 (14:45 -0800)
committerArlin Davis <arlin.r.davis@intel.com>
Wed, 10 Feb 2016 22:45:12 +0000 (14:45 -0800)
commitab67173b8024e14009c266d76ab9ec0bdd0c5d1f
tree9cffd2134e66634e01e2cf42a5f978783f663ea3
parentc399977f71d02e4c37d71d9b8ed5ba3e2b0ac33b
openib_common: set providers mtu to active_mtu instead of 2048

Better out of the box performance when setting mtu to active_mtu
instead of default settings of 2K. The new mtu settings are applied
on a per QP basis and negotiated via CM mtu 8-bit field. One of the
reserved 8 bit CM message fields is used to insure compatibility
with older versions.

If older endpoints are mixed with newer versions it will fallback to
the pre-existing 2K MTU settings, unless overriden by DAPL_IB_MTU.

The change has been made across all providers including ucm, scm, mcm,
and cma (rdma_cm). The mcm provider on a MIC will notify the CCL Proxy
service of a DAPL_IB_MTU override via a new MIX_OP_FLAGS bit
MIX_OP_MTU during the open call.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
16 files changed:
dapl/openib_cma/device.c
dapl/openib_common/dapl_ib_common.h
dapl/openib_common/dapl_mic_common.h
dapl/openib_common/qp.c
dapl/openib_common/util.c
dapl/openib_mcm/cm.c
dapl/openib_mcm/mix.c
dapl/openib_scm/cm.c
dapl/openib_scm/dapl_ib_util.h
dapl/openib_scm/device.c
dapl/openib_ucm/cm.c
dapl/openib_ucm/device.c
dapl/svc/mcm.c
dapl/svc/mix.c
dapl/svc/mpxyd.c
dapl/svc/mpxyd.h