cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
364
Views
0
Helpful
1
Replies

Exanic-X25 retransmission issue

shailendrakumar
Level 1
Level 1

Respected Members,

I am using dual Exanic X-25 cards one for two interactive[TCP] connections on individual port and one for Multicast data only. 
I have attached hardware ,firmaware report and pcap file of both the ports in zip file.

I am facing retransmission issue while sending data towards remote end using exanic0 Interface: enp23s0 and Interface: enp23s0d1. 

Development process followed is as suggested by ExaNIC Library (libexanic) Usage - ExaNIC User Guide (exablaze.com).

Below is small sample of my code :

Code to write data to socket :

do
{
hdrlen = exasock_tcp_build_header(fd,pktbuf,sizeof(pktbuf),0,0);
}while (hdrlen == -1 && errno == EAGAIN);
 
if (hdrlen == -1)
{
std::cout<< "exasock_tcp_build_header: "<< strerror(errno)<<std::endl;
return EXIT_FAILURE;
}

exasock_tcp_set_length(pktbuf,hdrlen,TPK->_size);
exasock_tcp_calc_checksum(pktbuf,hdrlen,pktbuf+hdrlen,TPK->_size);
if(exanic_transmit_frame(exBase[fd].tx,pktbuf,hdrlen+TPK->_size)==0)
{
if(exasock_tcp_send_advance(fd,TPK->buffer,TPK->_size)==-1)
{
std::cout << " Failed to instruct about send advance "<< exanic_get_last_error()<<std::endl;
}
}

Can someone please guide if there is any setup or programmatical 
error?

Thanks & Regards

Update :1 

If this not the right place to post this question can someone please help me with the correct location ?

Thanks & Regards


1 Reply 1

rajeshchoudary
Level 1
Level 1

Hi @shailendrakumar , 

          I am also facing same issue. did u find any solution?

i am facing retransmit while sending tcp data tx.