linux/drivers/infiniband/hw
Grzegorz Andrejczuk 4730f4a6c6 IB/hfi1: Activate the dummy netdev
As described in earlier patches, ipoib netdev will share receive
contexts with existing VNIC netdev through a dummy netdev. The
following changes are made to achieve that:
- Set up netdev receive contexts after user contexts. A function is
  added to count the available netdev receive contexts.
- Add functions to set/get receive map table free index.
- Rename NUM_VNIC_MAP_ENTRIES as NUM_NETDEV_MAP_ENTRIES.
- Let the dummy netdev own the receive contexts instead of VNIC.
- Allocate the dummy netdev when the hfi1 device is added and free it
  when the device is removed.
- Initialize AIP RSM rules when the IpoIb rxq is initialized and
  remove the rules when it is de-initialized.
- Convert VNIC to use the dummy netdev.

Link: https://lore.kernel.org/r/20200511160649.173205.4626.stgit@awfm-01.aw.intel.com
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Sadanand Warrier <sadanand.warrier@intel.com>
Signed-off-by: Grzegorz Andrejczuk <grzegorz.andrejczuk@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-05-21 11:23:56 -03:00
..
bnxt_re RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
cxgb4 Linux 5.6-rc4 2020-03-04 13:11:06 -04:00
efa RDMA/efa: Report host information to the device 2020-05-21 10:05:00 -03:00
hfi1 IB/hfi1: Activate the dummy netdev 2020-05-21 11:23:56 -03:00
hns RDMA/hns: Reserve one sge in order to avoid local length error 2020-05-19 20:54:59 -03:00
i40iw i40iw: Report correct firmware version 2020-03-18 13:53:44 -03:00
mlx4 RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
mlx5 RDMA/mlx5: Add init2init as a modify command 2020-05-19 21:02:12 -03:00
mthca RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
ocrdma RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
qedr RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
qib IB/qib: Remove unused variable ret 2020-04-14 16:34:17 -03:00
usnic RDMA/providers: Fix return value when QP type isn't supported 2020-03-04 12:13:42 -04:00
vmw_pvrdma RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00