This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Registering MC address to socket takes excessively long.

Part Number: TDA4VM

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.