net: add set_promisc function to enable/disable Promiscuous mode
authorTim Harvey <tharvey@gateworks.com>
Wed, 30 Jun 2021 23:50:05 +0000 (16:50 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 16:12:41 +0000 (18:12 +0200)
commit631f3afbef58a95f39bc46a0f37ce4d96d07d834
treeffc3c9ad3a4843bdf1ce838377ea36f089bb46e9
parent69c81d6546e2fb12acf8ebf0d64790eba193686c
net: add set_promisc function to enable/disable Promiscuous mode

Enabling promiscuous mode can be useful for DSA switches where each port
has its own MAC address.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
include/net.h