]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
xio: Enable Accelio flow control with msgs and bytes throttlers
authorVu Pham <vu@mellanox.com>
Thu, 11 Dec 2014 14:28:26 +0000 (06:28 -0800)
committerMatt Benjamin <matt@cohortfs.com>
Wed, 14 Jan 2015 21:44:00 +0000 (16:44 -0500)
commit1c2efde84d79e1458d939e4cbe4c24d04ed80eca
treeb2eb4bd80cc606a09dd8f90ca14b83ee4d518458
parent3c7e857b834e2ac303ed82c7f3a786eebaedfa25
xio: Enable Accelio flow control with msgs and bytes throttlers

* Enable Accelio flow control in general
* Read out policy for messages and bytes throttlers from connection's peer_type
* Set Accelio connection flow control with policy throttlers or default values
* Set q_high_mark for xio_connection (80% of queue_depth)
  xio: Correct q_high_mark setting

Signed-off-by: Vu Pham <vu@mellanox.com>
Signed-off-by: Matt Benjamin <matt@cohortfs.com>
src/msg/xio/XioConnection.cc
src/msg/xio/XioConnection.h
src/msg/xio/XioMessenger.cc
src/msg/xio/XioPortal.h