summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.co.il>2010-10-22 14:32:05 +0200
committerRoland Dreier <rolandd@cisco.com>2010-10-25 10:20:39 -0700
commit8ad330a002ffbc422f32a77398666832f0df8a3d (patch)
treef2748218f63365a60d39f843dd21a052cba70a7d /include/linux
parent4c3eb3ca13966508bcb64f39dcdef48be22f1731 (diff)
downloadlinux-stable-8ad330a002ffbc422f32a77398666832f0df8a3d.tar.gz
linux-stable-8ad330a002ffbc422f32a77398666832f0df8a3d.tar.bz2
linux-stable-8ad330a002ffbc422f32a77398666832f0df8a3d.zip
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions