<br><font size=2 face="Courier New">Steve, Below is the verbose version
I got as an example for a Chelsio card on a Dell machine. I REALLY
like that an RNIC can show its settings via ibv_devinfo. But an RNIC
is different from an IB card and perhaps ibv_devinfo should have an indicator
[by port?] that differentiates an RNIC from an IB HCA and do the output
differently. I doubt 1.4.1 can change this short term but 1.5 could
incorporate a meaningful change. Developing a "readme"
to cover it would recover separate maintenance and be challenging to keep
updated and RNIC meaningful output would be more useful.</font>
<br>
<br><font size=2 face="Courier New">It appears that the node_guid and sys_image_guid
incorporate the MAC addresses into the format. Are these fields really
useful as GUIDs? This also assumes a single port RNIC and I could
see a two-port RNIC coming along or an IO card with an IB port and Ethernet
(RNIC) port.</font>
<br><font size=2 face="Courier New">I could see MAC address(es) being shown
in the port subsection based on a port indicator enum of IB HCA, Ethernet,
etc.</font>
<br>
<br><font size=2 face="Courier New">The max_raw_ipv6_qp and max_raw_eth_qp
seem superfluous on a plain RNIC but perhaps make sense on a combined RNIC
and HCA adapter. So I think it can stay.</font>
<br>
<br><font size=2 face="Courier New">Under the port subsection, the use
of the enum values for mtu size are good for an IB HCA but seem not applicable
to an RNIC. Perhaps these should move from an enum to a range of
values for RNIC.</font>
<br>
<br><font size=2 face="Courier New">I can live with some of the other IB
artifacts under the port subsection such as pkey and the table lengths
but these could be suppressed on an RNIC port indicator in the future.
The active width, speed, and physical state need to change to address
an RNIC port.</font>
<br>
<br><font size=2 face="Courier New">Mike Aho</font>
<br>
<br><font size=2 face="Courier New">hca_id: cxgb3_0</font>
<br><font size=2 face="Courier New"> fw_ver:
7.0.0</font>
<br><font size=2 face="Courier New"> <b>node_guid</b>:
0007:4305:6009:0000</font>
<br><font size=2 face="Courier New"> <b>sys_image_guid</b>:
0007:4305:6009:0000</font>
<br><font size=2 face="Courier New"> vendor_id:
0x1425</font>
<br><font size=2 face="Courier New"> vendor_part_id:
48</font>
<br><font size=2 face="Courier New"> hw_ver:
0x1</font>
<br><font size=2 face="Courier New"> board_id:
1425.30</font>
<br><font size=2 face="Courier New"> phys_port_cnt:
1</font>
<br><font size=2 face="Courier New"> max_mr_size:
0x100000000</font>
<br><font size=2 face="Courier New"> page_size_cap:
0xffff000</font>
<br><font size=2 face="Courier New"> max_qp:
32736</font>
<br><font size=2 face="Courier New"> max_qp_wr:
1023</font>
<br><font size=2 face="Courier New"> device_cap_flags:
0x00228000</font>
<br><font size=2 face="Courier New"> max_sge:
4</font>
<br><font size=2 face="Courier New"> max_sge_rd:
1</font>
<br><font size=2 face="Courier New"> max_cq:
32767</font>
<br><font size=2 face="Courier New"> max_cqe:
8192</font>
<br><font size=2 face="Courier New"> max_mr:
32768</font>
<br><font size=2 face="Courier New"> max_pd:
32767</font>
<br><font size=2 face="Courier New"> max_qp_rd_atom:
8</font>
<br><font size=2 face="Courier New"> max_ee_rd_atom:
0</font>
<br><font size=2 face="Courier New"> max_res_rd_atom:
0</font>
<br><font size=2 face="Courier New"> max_qp_init_rd_atom:
8</font>
<br><font size=2 face="Courier New"> max_ee_init_rd_atom:
0</font>
<br><font size=2 face="Courier New"> atomic_cap:
ATOMIC_NONE (0)</font>
<br><font size=2 face="Courier New"> max_ee:
0</font>
<br><font size=2 face="Courier New"> max_rdd:
0</font>
<br><font size=2 face="Courier New"> max_mw:
0</font>
<br><font size=2 face="Courier New"> max_raw_ipv6_qp:
0</font>
<br><font size=2 face="Courier New"> max_raw_ethy_qp:
0</font>
<br><font size=2 face="Courier New"> max_mcast_grp:
0</font>
<br><font size=2 face="Courier New"> max_mcast_qp_attach:
0</font>
<br><font size=2 face="Courier New"> max_total_mcast_qp_attach:
0</font>
<br><font size=2 face="Courier New"> max_ah:
0</font>
<br><font size=2 face="Courier New"> max_fmr:
0</font>
<br><font size=2 face="Courier New"> max_srq:
0</font>
<br><font size=2 face="Courier New"> max_pkeys:
0</font>
<br><font size=2 face="Courier New"> local_ca_ack_delay:
0</font>
<br><font size=2 face="Courier New">
port: 1</font>
<br><font size=2 face="Courier New">
state:
PORT_ACTIVE (4)</font>
<br><font size=2 face="Courier New">
max_mtu:
4096
(5)</font>
<br><font size=2 face="Courier New">
active_mtu:
2048
(4)</font>
<br><font size=2 face="Courier New">
sm_lid:
0</font>
<br><font size=2 face="Courier New">
port_lid:
0</font>
<br><font size=2 face="Courier New">
port_lmc:
0x00</font>
<br><font size=2 face="Courier New">
max_msg_sz:
0xffffffff</font>
<br><font size=2 face="Courier New">
port_cap_flags:
0x009f0000</font>
<br><font size=2 face="Courier New">
max_vl_num:
invalid
value (0)</font>
<br><font size=2 face="Courier New">
bad_pkey_cntr:
0x0</font>
<br><font size=2 face="Courier New">
qkey_viol_cntr:
0x0</font>
<br><font size=2 face="Courier New">
sm_sl:
0</font>
<br><font size=2 face="Courier New">
pkey_tbl_len:
1</font>
<br><font size=2 face="Courier New">
gid_tbl_len:
1</font>
<br><font size=2 face="Courier New">
subnet_timeout:
0</font>
<br><font size=2 face="Courier New">
init_type_reply:
0</font>
<br><font size=2 face="Courier New">
active_width:
4X
(2)</font>
<br><font size=2 face="Courier New">
active_speed:
5.0
Gbps (2)</font>
<br><font size=2 face="Courier New">
phys_state:
invalid
physical state (0)</font><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif">Mike Aho<br>
<br>
<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Steve Wise <swise@opengridcomputing.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Mike Aho/Rochester/IBM@IBMUS</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">general@lists.openfabrics.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">05/20/2009 08:47 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [ofa-general] ibv_devinfo -v conventions
for RNIC in 1.4.1-X</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Mike Aho wrote:<br>
<br>
> I ran ibv_devinfo -v for 1.4.1-rc4 and got all the information dumped
<br>
> for an RNIC (Ethernet RDMA card). Is there doc somewhere to
explain <br>
> how the fields are addressed differently than an IB HCA? Is
there a <br>
> set of conventions? <br>
><br>
> Mike Aho<br>
<br>
Hey Mike,<br>
<br>
Unfortunately, no doc. What fields are not clear?<br>
<br>
Steve.<br>
</font></tt>
<br>
<br>