diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2011-03-22 23:37:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-23 20:24:18 +0100 |
commit | 0b7ca5a928e2271bbc225e9e1ac1f22e9fbee54f (patch) | |
tree | 8a24efdb4ceb6f28a8d49e942f80d397c06f4a5f /drivers/net/mlx4/en_cq.c | |
parent | mlx4_en: bringing link up when registering netdevice (diff) | |
download | linux-0b7ca5a928e2271bbc225e9e1ac1f22e9fbee54f.tar.xz linux-0b7ca5a928e2271bbc225e9e1ac1f22e9fbee54f.zip |
mlx4: Changing interrupt scheme
Adding a pool of MSI-X vectors and EQs that can be used explicitly by mlx4_core
customers (mlx4_ib, mlx4_en). The consumers will assign their own names to the
interrupt vectors. Those vectors are not opened at mlx4 device initialization,
opened by demand.
Changed the max number of possible EQs according to the new scheme, no longer relies on
on number of cores.
The new functionality is exposed through mlx4_assign_eq() and mlx4_release_eq().
Customers that do not use the new API will get completion vectors as before.
Signed-off-by: Markuze Alex <markuze@mellanox.co.il>
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/en_cq.c')
0 files changed, 0 insertions, 0 deletions