From: Ido Shamay Date: Thu, 2 Apr 2015 13:31:11 +0000 (+0300) Subject: net/mlx4: Add mlx4_ALLOCATE_VPP implementation X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~83^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e95bb99a8f969d4534867452793e44cc4731ca9;p=pandora-kernel.git net/mlx4: Add mlx4_ALLOCATE_VPP implementation Implements device ALLOCATE_VPP command, to be used for granular QoS configuration of VFs by the PF device. Defines and queries the amount of VPPs assigned to each port, and the amount of VPPs assigned to each priority of each port. Once the total VPPs are split between the priorities of a port, they may be assigned with a share of the BW or a rate limit. Split into two functions (get/set) whoch are supplied with mlx4_alloc_vpp_context and physical port number. Signed-off-by: Ido Shamay Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed