You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took a look at the recvfrom() and sendto() function in ans_module.c, and the function directly return hardcoded -1.
I filled in these two functions according to the format of other tasks in ans_module.c
However, new problems:
`-----------------------------------------------------------
Server listening on 5201
epoll create start, EPOLL_CTL_ADD 1 ,EPOLL_CTL_DEL 2, EPOLLOUT 0x4, EPOLLIN:0x1
ans epoll fd 2036
epoll ctl start, epfd 2036 ,op 1, fd 2035, event:0x1
ans accept fd 37
epoll ctl start, epfd 2036 ,op 1, fd 2037, event:0x1
fcntl(F_GETFL): Bad file descriptor
ans write: fd 37 , len 1, return value:1, errno:0, strerror = Success
socket create start , domain 2, type 2, protocol 0
ans socket fd 2038
USER8: LCORE[0] setsockopt: not support optname 2
sockfd: 2038, bind ip: 200000a , port 5201, family:2
bind successepoll ctl start, epfd 2036 ,op 1, fd 2038, event:0x1
ans write: fd 37 , len 1, return value:1, errno:0, strerror = Success
Accepted connection from ::, port 60192
An unknown state was sent by the client, ignoring it.
ans fd 38 recv data len 4
fd(2038) start to connect
socket create start , domain 2, type 2, protocol 0
ans socket fd 2039
USER8: LCORE[0] setsockopt: not support optname 2
sockfd: 2039, bind ip: 200000a , port 5201, family:2
bind return error, errno: 87
ans close fd 39, pid 8139
ans close fd 37, pid 8139
ans close fd 35, pid 8139
iperf3: error - unable to start stream listener:
socket create start , domain 2, type 1, protocol 0
ans socket fd 2040
USER8: LCORE[0] setsockopt: not support optname 2
sockfd: 2040, bind ip: 200000a , port 5201, family:2
bind successans listen fd 40, pid 8139
Server listening on 5201
-----------------------------------------------------------`
The error is from ANS side. "Too many users" error.
I am not sure if the author simply forgot this part when he claimed that "UDP did work"
[https://github.com//issues/1]
The text was updated successfully, but these errors were encountered:
UDP of dpdk_iperf is not working:
I took a look at the recvfrom() and sendto() function in ans_module.c, and the function directly return hardcoded -1.
I filled in these two functions according to the format of other tasks in ans_module.c
However, new problems:
`-----------------------------------------------------------
Server listening on 5201
epoll create start, EPOLL_CTL_ADD 1 ,EPOLL_CTL_DEL 2, EPOLLOUT 0x4, EPOLLIN:0x1
ans epoll fd 2036
epoll ctl start, epfd 2036 ,op 1, fd 2035, event:0x1
ans accept fd 37
epoll ctl start, epfd 2036 ,op 1, fd 2037, event:0x1
fcntl(F_GETFL): Bad file descriptor
ans write: fd 37 , len 1, return value:1, errno:0, strerror = Success
socket create start , domain 2, type 2, protocol 0
ans socket fd 2038
USER8: LCORE[0] setsockopt: not support optname 2
sockfd: 2038, bind ip: 200000a , port 5201, family:2
bind successepoll ctl start, epfd 2036 ,op 1, fd 2038, event:0x1
ans write: fd 37 , len 1, return value:1, errno:0, strerror = Success
Accepted connection from ::, port 60192
An unknown state was sent by the client, ignoring it.
ans fd 38 recv data len 4
fd(2038) start to connect
socket create start , domain 2, type 2, protocol 0
ans socket fd 2039
USER8: LCORE[0] setsockopt: not support optname 2
sockfd: 2039, bind ip: 200000a , port 5201, family:2
bind return error, errno: 87
ans close fd 39, pid 8139
ans close fd 37, pid 8139
ans close fd 35, pid 8139
iperf3: error - unable to start stream listener:
socket create start , domain 2, type 1, protocol 0
ans socket fd 2040
USER8: LCORE[0] setsockopt: not support optname 2
sockfd: 2040, bind ip: 200000a , port 5201, family:2
bind successans listen fd 40, pid 8139
Server listening on 5201
-----------------------------------------------------------`
The error is from ANS side. "Too many users" error.
I am not sure if the author simply forgot this part when he claimed that "UDP did work"
[https://github.com//issues/1]
The text was updated successfully, but these errors were encountered: