]> git.karo-electronics.de Git - karo-tx-linux.git/commit
be2net: Add functionality to support RoCE driver
authorParav Pandit <parav.pandit@emulex.com>
Mon, 26 Mar 2012 14:27:13 +0000 (14:27 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 12 Apr 2012 14:48:55 +0000 (07:48 -0700)
commitc72adfd767af57b494a0450eb77d30cea59dfd70
tree22dc802cdf918ca46cb749f1e7c9e3f9e25280b0
parent69ac657cd29f9e11b28c397dc1ffa8f70f9ccf02
be2net: Add functionality to support RoCE driver

- Increase MSI-X vectors by 5 for RoCE traffic.
- Add macro to check roce support on a device.
- Add device-specific doorbell and MSI-X vector fields shared with NIC
  functionality.
- Provide RoCE driver registration and deregistration functions.
- Add support functions which will be invoked on adapter add/remove
  and port up/down events.
- Traverse through the list of adapters to invoke callback functions.

Signed-off-by: Parav Pandit <parav.pandit@emulex.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/emulex/benet/Makefile
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/emulex/benet/be_hw.h
drivers/net/ethernet/emulex/benet/be_main.c
drivers/net/ethernet/emulex/benet/be_roce.c [new file with mode: 0644]
drivers/net/ethernet/emulex/benet/be_roce.h [new file with mode: 0644]