net: cadence_gem: Fix RX address filtering
commitfbc14a098d945dfa9c141423771db0122defa38c
authorTong Ho <tong.ho@xilinx.com>
Tue, 12 May 2020 14:54:54 +0000 (12 20:24 +0530)
committerJason Wang <jasowang@redhat.com>
Thu, 18 Jun 2020 13:05:52 +0000 (18 21:05 +0800)
treea7066553d2421506ce8fe8ac5e65b6aa58e08753
parentfdd35195c5ed57162b080a20df588773768b589c
net: cadence_gem: Fix RX address filtering

Two defects are fixed:

1/ Detection of multicast frames
2/ Treating drop of mis-addressed frames as non-error

Signed-off-by: Tong Ho <tong.ho@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/cadence_gem.c