Do I have to check the link status before sending a packet

If you have a simple question and just want an answer.
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Do I have to check the link status before sending a packet

Post by gerrykurz »

Do I have to make sure the link is up before I try and send packets to the ethernet port?Or does the ethernet server handle this?In other words, what would happen if I try and transmit a packet on a port where the link is down?If I do need to know the link status, is the only way to get that is from the smi interface?
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post by gerrykurz »

The answer is no. The link status is not relevant for the transmit packet server. It will "transmit" the packet and return a timestamp regardless of whether the link is up or down. It does not block on a down link.