<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Times New Roman","serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1444307362;
mso-list-type:hybrid;
mso-list-template-ids:-1666839914 -1743242036 -271387034 1937555976 1681026662 -872897694 1774063784 1612487638 -87293136 -1216720806;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l1
{mso-list-id:1557551587;
mso-list-type:hybrid;
mso-list-template-ids:792500036 1922609230 1239998612 716627990 1716695118 580657630 -1733671608 1599760376 800126602 -1875218550;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:•;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Arial","sans-serif";
mso-bidi-font-family:"Times New Roman";}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello Amir,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Why don’t you try the command ibportstate:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Usage <o:p></o:p></p><p class=MsoNormal>ibportstate [options] <dest dr_path|lid|guid> <portnum> [<op>]<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Supported Operations<o:p></o:p></p><p class=MsoNormal>enable, disable, reset, speed, width, query, down, arm, active, vls, <b>mtu</b>, lid, smlid, lmc<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Rupert<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> users-bounces@lists.openfabrics.org [mailto:users-bounces@lists.openfabrics.org] <b>On Behalf Of </b>Amir Shehata<br><b>Sent:</b> Thursday, April 09, 2015 9:01 PM<br><b>To:</b> users@lists.openfabrics.org<br><b>Subject:</b> [Users] ibdump and mtu size<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hello,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I'm trying to use ibdump to capture ib traffic. However it complains that it needs MTU size set to 2K.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>using ibv_devinfo I get<o:p></o:p></p></div><div><div><p class=MsoNormal>[root@eagle-41 ~]# ibv_devinfo<o:p></o:p></p></div><div><p class=MsoNormal>hca_id: mlx4_0<o:p></o:p></p></div><div><p class=MsoNormal> transport: InfiniBand (0)<o:p></o:p></p></div><div><p class=MsoNormal> fw_ver: 2.7.000<o:p></o:p></p></div><div><p class=MsoNormal> node_guid: 0025:90ff:ff1b:9e9c<o:p></o:p></p></div><div><p class=MsoNormal> sys_image_guid: 0025:90ff:ff1b:9e9f<o:p></o:p></p></div><div><p class=MsoNormal> vendor_id: 0x02c9<o:p></o:p></p></div><div><p class=MsoNormal> vendor_part_id: 26428<o:p></o:p></p></div><div><p class=MsoNormal> hw_ver: 0xB0<o:p></o:p></p></div><div><p class=MsoNormal> board_id: SM_2122000001000<o:p></o:p></p></div><div><p class=MsoNormal> phys_port_cnt: 1<o:p></o:p></p></div><div><p class=MsoNormal> port: 1<o:p></o:p></p></div><div><p class=MsoNormal> state: PORT_ACTIVE (4)<o:p></o:p></p></div><div><p class=MsoNormal> max_mtu: 4096 (5)<o:p></o:p></p></div><div><p class=MsoNormal> active_mtu: 4096 (5)<o:p></o:p></p></div><div><p class=MsoNormal> sm_lid: 35<o:p></o:p></p></div><div><p class=MsoNormal> port_lid: 22<o:p></o:p></p></div><div><p class=MsoNormal> port_lmc: 0x00<o:p></o:p></p></div><div><p class=MsoNormal> link_layer: InfiniBand<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>max and active mtu is 4096.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The ifconfig shows mtu to be 2044. However, I believe the ibdump is looking at the port mtu.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>How can I change the port mtu to 2044 so I can get ibdump to work?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Is there a way to get ibdump to accept more than 2044 (IE 4096)? I couldn't find a way to do it.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>any ideas would be much appreciated.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>thanks<o:p></o:p></p></div><div><p class=MsoNormal>amir<o:p></o:p></p></div></div></div></body></html>