Bug 755746

Summary: libibverbs lacks IBoE support
Product: [Fedora] Fedora Reporter: Shawn Bohrer <shawn.bohrer>
Component: libibverbsAssignee: Deji Akingunola <dakingun>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dakingun, dledford
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-17 15:33:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 756072    
Attachments:
Description Flags
Upstream Patch for link_layer field
none
Upstream patch to update kernel API header for link_layer
none
Upstream patch to handle GID change events for IBoE
none
Upstream patch to update examples for IBoE
none
Updated spec file to apply IBoE patches none

Description Shawn Bohrer 2011-11-21 22:42:21 UTC
Description of problem:

The libibverbs 1.1.5 package in Fedora 16 is missing support for IBoE.  This support was added upstream (git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git) in the following four commits:

e5df8c64df6877facc045608a25f4d4fecd5f2b0 Add link_layer field port attribute
38b617f43e1d3097cd38d3979967a5c02cb5ecf0 Update kernel API header to include link_layer
92f8139ba2fe0d44a3364ab0bed0ca1676a5ac6e Add GID change event
577818b50990853bf112ba2a2c336020dd278622 Update examples for IBoE


Version-Release number of selected component (if applicable):
libibverbs-1.1.5-5.fc16.x86_64

How reproducible:

Very

Steps to Reproduce:
1. ibv_devinfo
2. ibv_ud_pingpong -d mlx4_0 -i 2
  
Actual results:

$ ibv_devinfo 
hca_id:	cxgb3_0
	transport:			iWARP (1)
	fw_ver:				7.10.0
	node_guid:			0007:4305:eaa9:0000
	sys_image_guid:			0007:4305:eaa9:0000
	vendor_id:			0x1425
	vendor_part_id:			53
	hw_ver:				0x2
	board_id:			1425.35
	phys_port_cnt:			1
		port:	1
			state:			PORT_INIT (2)
			max_mtu:		4096 (5)
			active_mtu:		1024 (3)
			sm_lid:			0
			port_lid:		0
			port_lmc:		0x00

hca_id:	mlx4_0
	transport:			InfiniBand (0)
	fw_ver:				2.9.1000
	node_guid:			0002:c903:004b:e332
	sys_image_guid:			0002:c903:004b:e335
	vendor_id:			0x02c9
	vendor_part_id:			26428
	hw_ver:				0xB0
	board_id:			MT_0DD0120009
	phys_port_cnt:			2
		port:	1
			state:			PORT_DOWN (1)
			max_mtu:		2048 (4)
			active_mtu:		2048 (4)
			sm_lid:			0
			port_lid:		0
			port_lmc:		0x00

		port:	2
			state:			PORT_ACTIVE (4)
			max_mtu:		2048 (4)
			active_mtu:		1024 (3)
			sm_lid:			0
			port_lid:		0
			port_lmc:		0x00

$ ibv_ud_pingpong -d mlx4_0 -i 2
Couldn't get local LID


Expected results:

$ ibv_devinfo 
hca_id:	cxgb3_0
	transport:			iWARP (1)
	fw_ver:				7.10.0
	node_guid:			0007:4305:eaa9:0000
	sys_image_guid:			0007:4305:eaa9:0000
	vendor_id:			0x1425
	vendor_part_id:			53
	hw_ver:				0x2
	board_id:			1425.35
	phys_port_cnt:			1
		port:	1
			state:			PORT_INIT (2)
			max_mtu:		4096 (5)
			active_mtu:		1024 (3)
			sm_lid:			0
			port_lid:		0
			port_lmc:		0x00
			link_layer:		Ethernet

hca_id:	mlx4_0
	transport:			InfiniBand (0)
	fw_ver:				2.9.1000
	node_guid:			0002:c903:004b:e332
	sys_image_guid:			0002:c903:004b:e335
	vendor_id:			0x02c9
	vendor_part_id:			26428
	hw_ver:				0xB0
	board_id:			MT_0DD0120009
	phys_port_cnt:			2
		port:	1
			state:			PORT_DOWN (1)
			max_mtu:		2048 (4)
			active_mtu:		2048 (4)
			sm_lid:			0
			port_lid:		0
			port_lmc:		0x00
			link_layer:		InfiniBand

		port:	2
			state:			PORT_ACTIVE (4)
			max_mtu:		2048 (4)
			active_mtu:		1024 (3)
			sm_lid:			0
			port_lid:		0
			port_lmc:		0x00
			link_layer:		Ethernet

$ ibv_ud_pingpong -d mlx4_0 -i 2
  local address:  LID 0x0000, QPN 0x0c004a, PSN 0xee514e: GID ::

Additional info:

This also requires support in libmlx4.

Comment 1 Shawn Bohrer 2011-11-21 22:44:16 UTC
Created attachment 534874 [details]
Upstream Patch for link_layer field

Comment 2 Shawn Bohrer 2011-11-21 22:45:59 UTC
Created attachment 534876 [details]
Upstream patch to update kernel API header for link_layer

Comment 3 Shawn Bohrer 2011-11-21 22:47:23 UTC
Created attachment 534877 [details]
Upstream patch to handle GID change events for IBoE

Comment 4 Shawn Bohrer 2011-11-21 22:48:08 UTC
Created attachment 534878 [details]
Upstream patch to update examples for IBoE

Comment 5 Shawn Bohrer 2011-11-21 22:49:32 UTC
Created attachment 534879 [details]
Updated spec file to apply IBoE patches

Comment 6 Fedora End Of Life 2013-01-16 12:52:06 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Shawn Bohrer 2013-01-17 15:33:44 UTC
This is fixed as of:

libibverbs-1.1.6-1.fc16.x86_64