From: Or Gerlitz Date: Wed, 18 Mar 2015 12:57:34 +0000 (+0200) Subject: net/mlx4_core: Add basic support for QP max-rate limiting X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~216^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc31e2560a2443410fe45c27116fae736541a7b5;p=pandora-kernel.git net/mlx4_core: Add basic support for QP max-rate limiting Add the low-level device commands and definitions used for QP max-rate limiting. This is done through the following elements: - read rate-limit device caps in QUERY_DEV_CAP: number of different rates and the min/max rates in Kbs/Mbs/Gbs units - enhance the QP context struct to contain rate limit units and value - allow to do run time rate-limit setting to QPs through the update-qp firmware command - QP rate-limiting is disallowed for VFs Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed