zrlio / urdma

Verbs on DPDK
102 stars 24 forks source link

Create QP failed #44

Closed ZiYang-oyxy closed 6 years ago

ZiYang-oyxy commented 6 years ago

client command:

ib_write_lat -d urdma_0 -i 1 -x 0 192.167.1.3 -R -n 5 -s 512

client urdmad log:

HELLO on fd 21
USER1: requesting 1 cores; 30 cores available
USER1: CREATE QP dev_id=0 on fd 21 => qp_id=12
USER1: Got connection event for device 0 queue pair 13525689/12
USER1: ntuple: assign rx queue 12: IP address c0a70104, UDP port 35085
USER1: Post RTR event for queue pair 13525689; tx_queue=12 rx_queue=12
USER1: CREATE QP dev_id=0 on fd 21 => qp_id=13
USER1: CREATE QP dev_id=0 on fd 21 => qp_id=14
USER1: Got connection event for device 0 queue pair 2445370/14
USER1: ntuple: assign rx queue 14: IP address c0a70104, UDP port 52118
USER1: Post RTR event for queue pair 2445370; tx_queue=14 rx_queue=14
USER1: EOF or error on fd 21
USER1: Return QP 12 to pool
USER1: Return QP 13 to pool
USER1: Could not delete 5tuple filter for qp 13: No such file or directory
USER1: Return QP 14 to pool

server urdmad log

HELLO on fd 21
USER1: requesting 1 cores; 30 cores available
USER1: CREATE QP dev_id=0 on fd 21 => qp_id=9
USER1: Got connection event for device 0 queue pair 11563505/9
USER1: ntuple: assign rx queue 9: IP address c0a70103, UDP port 60729
USER1: Post RTR event for queue pair 11563505; tx_queue=9 rx_queue=9
USER1: CREATE QP dev_id=0 on fd 21 => qp_id=10
USER1: Got connection event for device 0 queue pair 11167785/10
USER1: ntuple: assign rx queue 10: IP address c0a70103, UDP port 35407
USER1: Post RTR event for queue pair 11167785; tx_queue=10 rx_queue=10
USER1: EOF or error on fd 21
USER1: Return QP 9 to pool
USER1: Return QP 10 to pool

server pcap file on kni0

image

It seems that the server urdmad has bypassed the packet with udp port 37244 to the kernel stack

ZiYang-oyxy commented 6 years ago

It didn't happen again.