[Users] ibdump and mtu size

Rupert Dance rsdance at soft-forge.com
Thu Apr 9 18:17:42 PDT 2015


Hello Amir,

 

Why don’t you try the command ibportstate:

 

Usage 

ibportstate                   [options] <dest dr_path|lid|guid> <portnum> [<op>]

 

Supported Operations

enable, disable, reset, speed, width, query, down, arm, active, vls, mtu, lid, smlid, lmc

 

Thanks

 

Rupert

 

From: users-bounces at lists.openfabrics.org [mailto:users-bounces at lists.openfabrics.org] On Behalf Of Amir Shehata
Sent: Thursday, April 09, 2015 9:01 PM
To: users at lists.openfabrics.org
Subject: [Users] ibdump and mtu size

 

Hello,

 

I'm trying to use ibdump to capture ib traffic.  However it complains that it needs MTU size set to 2K.

 

using ibv_devinfo I get

[root at eagle-41 ~]# ibv_devinfo

hca_id: mlx4_0

        transport:                      InfiniBand (0)

        fw_ver:                         2.7.000

        node_guid:                      0025:90ff:ff1b:9e9c

        sys_image_guid:                 0025:90ff:ff1b:9e9f

        vendor_id:                      0x02c9

        vendor_part_id:                 26428

        hw_ver:                         0xB0

        board_id:                       SM_2122000001000

        phys_port_cnt:                  1

                port:   1

                        state:                  PORT_ACTIVE (4)

                        max_mtu:                4096 (5)

                        active_mtu:             4096 (5)

                        sm_lid:                 35

                        port_lid:               22

                        port_lmc:               0x00

                        link_layer:             InfiniBand

 

max and active mtu is 4096.

 

The ifconfig shows mtu to be 2044.  However, I believe the ibdump is looking at the port mtu.

 

How can I change the port mtu to 2044 so I can get ibdump to work?

 

Is there a way to get ibdump to accept more than 2044 (IE 4096)?  I couldn't find a way to do it.

 

any ideas would be much appreciated.

 

thanks

amir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/users/attachments/20150409/ab9487f4/attachment.html>


More information about the Users mailing list