net/af_packet: support promiscuous
authorChas Williams <ciwillia@brocade.com>
Thu, 5 Jan 2017 13:53:43 +0000 (08:53 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:41:43 +0000 (19:41 +0100)
commit218259590ea4cdef53ff4d42fdf517e26a5e7c49
tree5dc8f00702bba0f26a7541d6515b9d7b9479f1b3
parentcc68ac4847bc98364f87f502d83fbef92431db23
net/af_packet: support promiscuous

Add promiscuous support to the AF_PACKET PMD.  The underlying Linux
device's IF_PROMISC flag is toggled to enable or disable.

Signed-off-by: Chas Williams <ciwillia@brocade.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/af_packet/rte_eth_af_packet.c