commit | f74462acf8f390528c8b7937f227c6c90d017f3b | [log] [tgz] |
---|---|---|
author | Matan Barak <matanb@mellanox.com> | Wed Mar 19 18:11:51 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 20 16:18:29 2014 -0400 |
tree | 5214afc5585cf140693664224dc58ab276af0e0c | |
parent | 1ab95d37bcc3ff2d69e3871e4f056bab7aed0b85 [diff] |
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 <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>