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: NTim Harvey <tharvey@gateworks.com> Reviewed-by: NRamon Fried <rfried.dev@gmail.com>
Showing
想要评论请 注册 或 登录