Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[platform/kernel/linux-starfive.git] / drivers / net / ethernet / sfc / ptp.c
index 3eab180..f54200f 100644 (file)
@@ -1359,7 +1359,9 @@ static int efx_ptp_insert_multicast_filters(struct efx_nic *efx)
                        goto fail;
 
                rc = efx_ptp_insert_eth_multicast_filter(efx);
-               if (rc < 0)
+
+               /* Not all firmware variants support this filter */
+               if (rc < 0 && rc != -EPROTONOSUPPORT)
                        goto fail;
        }