My application is running under linux SDK on TDA4EVM.
It registers quite a couple of multicast addresses (450 addresses) to a socket on ETH0 and we observe that the call to setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) takes increasingly long. When at first call it takes about 1ms it finally takes 75ms.
As a consequence registering all 450 addresses takes more than 16 seconds. I am not sure is this expected behaviour under linux or is this a peculiarity of the CPSW2G driver implementation.
Pls. comment.