From: Matan Barak Date: Wed, 19 Mar 2014 16:11:51 +0000 (+0200) Subject: net/mlx4: Add utils for N-Port VFs X-Git-Tag: v3.15-rc1~113^2~116^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f74462acf8f390528c8b7937f227c6c90d017f3b;p=pandora-kernel.git net/mlx4: Add utils for N-Port VFs This patch adds the following utils: 1. Convert slave_id -> VF 2. Get the active ports by slave_id 3. Convert slave's port to real port 4. Get the slave's port from real port 5. Get all slaves that uses the i'th real port 6. Get all slaves that uses the i'th real port exclusively Signed-off-by: Matan Barak Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed