Configuring iSER target using Mellanox MT26448 (ConnectX2) card

Can you please help me with following?

I am trying to use Mellanox ConnectX2 card as target and I am getting following error when running tgtd there.

tgtd

(null): iser_ib_init(3397) rdma_bind_addr -1: Cannot assign requested address

(null): iscsi_tcp_init_portal(227) unable to bind server socket, Address already in use

(null): iscsi_tcp_init_portal(227) unable to bind server socket, Address already in use

(null): iscsi_add_portal(276) failed to create/bind to portal (null):3260

Hi Anil,

Do you have the RoCE layer working?

Try the command examples in here: HowTo Setup RDMA Connection using Inbox Driver (RHEL, Ubuntu) https://community.mellanox.com/s/article/howto-setup-rdma-connection-using-inbox-driver--rhel--ubuntu-x

ib_send_bw is script that is part of testperf package (you should have it with the installation of MLNX_OFED).

When using this script, you can test the bandwidth of the link between the servers.

there are similar other script that check latency and throughput.

In general, you need to run server on one host, and the client on another host.

on the server run:

#ib_send_bw -d mlx4_0 -i 1 -F --report_gbits

on the client run

#ib_send_bw -d mlx4_0 -i 1 -F --report_gbits 192.168.100.189

Try running ib_send_bw -h to see additional parameters of this command and some help.

#ib_send_bw -h

More tuning info can be found here:

http://www.mellanox.com/related-docs/prod_software/Performance_Tuning_Guide_for_Mellanox_Network_Adapters.pdf http://www.mellanox.com/related-docs/prod_software/Performance_Tuning_Guide_for_Mellanox_Network_Adapters.pdf

Thanks,

Ophir

Ophir,

Yes, I got it going, thanks for the help, though I see following issues and not sure how to proceed about these issues.

  1. With ib_send_bw

ib_send_bw -d mlx4_0 -i 1 -F --report_gbits 192.168.100.189