Normally we need to care only about packets with not local MAC address destination. It is needed to support HW setups with multiple MAC addresses forwarded over one MAC. For example systems using DSA switch as port multiplexer. In this case one single MAC should handle packets with different MAC address destinations. This functionality is provided by the EQOS_MAC_PACKET_FILTER_PR. EQOS_MAC_PACKET_FILTER_PCF on other hand allow to capture ethernet control frames like pause frames which are not handled by barebox. Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- drivers/net/designware_eqos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/designware_eqos.c b/drivers/net/designware_eqos.c index 825c8e0140..ccce51b6af 100644 --- a/drivers/net/designware_eqos.c +++ b/drivers/net/designware_eqos.c @@ -377,7 +377,7 @@ static int eqos_set_promisc(struct eth_device *edev, bool enable) if (!eqos->is_started) return 0; - mask = EQOS_MAC_PACKET_FILTER_PR | EQOS_MAC_PACKET_FILTER_PCF; + mask = EQOS_MAC_PACKET_FILTER_PR; if (enable) setbits_le32(&eqos->mac_regs->packet_filter, mask); -- 2.39.2