]> git.baikalelectronics.ru Git - kernel.git/commit
IB/IPoIB: Introduce RDMA netdev interface and IPoIB structs
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Mon, 10 Apr 2017 08:22:25 +0000 (11:22 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Apr 2017 19:19:41 +0000 (15:19 -0400)
commit5f2c2ac3bed5868055f7291209e3b2d5f3499587
treeaacd59f4263a83996cba05627ac21f823ba57693
parent29bee6ba5bc3f96dc43e43e51d645884c9681440
IB/IPoIB: Introduce RDMA netdev interface and IPoIB structs

Add RDMA netdev interface to ib device structure allowing RDMA
netdev devices to be allocated by ib clients.

The idea is to allow to providers to optimize IPoIB data path.
New struct that includes functions and data member is exposed.
It exposes set of callback functions for handling data path flows
in IPoIB driver.

Each provider can support these set of functions in order
to optimize its specific data path, and let IPoIB to leverage
its data path.

There is an assumption, that providers should give the full set
of functions and not only part of them, in order to work properly.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/ib_verbs.h