]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dsa: enable master promisc mode if available and needed
authorTim Harvey <tharvey@gateworks.com>
Wed, 30 Jun 2021 23:50:07 +0000 (16:50 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 16:12:41 +0000 (18:12 +0200)
commit431f9d72ffa76031808cb2ed9c90d1da3621c8de
tree3cb774f89a76e1358fe533fd93d9e4ab9ed80775
parent87550a814e0f136c24c025371d96cf1303185569
net: dsa: enable master promisc mode if available and needed

If ports have their own unique MAC addrs and master has a set_promisc
function, call it so that packets will be received for ports.

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