commit | 8ad330a002ffbc422f32a77398666832f0df8a3d | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@mellanox.co.il> | Fri Oct 22 14:32:05 2010 +0200 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Oct 25 10:20:39 2010 -0700 |
tree | f2748218f63365a60d39f843dd21a052cba70a7d | |
parent | 4c3eb3ca13966508bcb64f39dcdef48be22f1731 [diff] |
IB/core: Add link layer type information to sysfs Since an IB transport port may use either IB or Ethernet as its link layer, add the file /sys/class/infiniband/<device>/ports/<port_num>/link_layer to show the link layer for the port. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>