rdma: add support for promiscuous mode 94/19794/2
authorBenoît Ganne <bganne@cisco.com>
Wed, 22 May 2019 16:09:19 +0000 (18:09 +0200)
committerDamjan Marion <dmarion@me.com>
Fri, 24 May 2019 08:24:17 +0000 (08:24 +0000)
commitf2d5cdbfa674a2ac9e81fd49d69594f0cdbcffd3
treead54d865325c51b4ca29b109c4015885b0fa8f69
parent34716fae918750e4fc7a7da4b06e0dfbdef2d1c5
rdma: add support for promiscuous mode

rdma interfaces filter packets per MAC by default to share the physical
interface between multiple users (eg. VPP and Linux).
When configured in promiscuous mode, all packets will go to this
interface, regardless of the MAC. All other interface will not receive
anymore packet while it is in promiscuous mode.
Promiscuous mode is needed (and automatically turned on) for L2 path
(l2patch, xconnect, bridge...).

Change-Id: I4c0eb4421f51d116e635e7828d00f202f4a97ded
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/rdma/device.c
src/plugins/rdma/rdma.h