diff options
author | Shani Michaeli <shanim@mellanox.com> | 2013-02-06 16:19:10 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-02-25 18:44:31 (GMT) |
commit | cc1ade94eeaa235b28fb139d4ba20b697be36768 (patch) | |
tree | eec68d01eacf570003af591581b8445d2bfde66d /drivers/net/ethernet/mellanox/mlx4/en_rx.c | |
parent | c89d127128dba62458e956388fef7e5d728e1ded (diff) | |
download | linux-fsl-qoriq-cc1ade94eeaa235b28fb139d4ba20b697be36768.tar.xz |
mlx4_core: Disable memory windows for virtual functions
Do not enable memory windows allocation for virtual functions.
In addition, add a few safety checks, such as:
* Verifying the PD of a new MPT matches the VF.
* Making sure binding memory window isn't enabled for FMRs, and
that new memory windows are not FMR themselves.
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Shani Michaeli <shanim@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_rx.c')
0 files changed, 0 insertions, 0 deletions