Searched hist:a91c772fa0275163508e1078ff6d474d423244fb (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | cmd.c | diff a91c772fa0275163508e1078ff6d474d423244fb Wed Sep 10 08:41:53 CDT 2014 Matan Barak <matanb@mellanox.com> net/mlx4: Correctly configure single ported VFs from the host
Single port VFs are seen PCI wise on both ports of the PF (we don't have single port PFs with ConnectX). With this in mind, it's possible for virtualization tools to try and configure a single ported VF through the "wrong" PF port.
To handle that, we use the PF driver mapping of single port VFs to NIC ports and adjust the port value before calling into the low level code that does the actual VF configuration
Fixes: 449fc48 ('net/mlx4: Adapt code for N-Port VF') 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>
|