DevTech101

DevTech101

Solaris 11 SR-IOV support

Below are notes on how to turn on SR-IOV on a Solaris Vnic – to be used in an LDOM or zone.

  SR-IOV VNICs Support

	SR-IOV was introduced by PCI-SIG as an industry-standard for IO
	virtualization. Support for SR-IOV was added to Solaris 11 on SPARC
	LDOMs platforms.
	
	Oracle Solaris 11.2 now introduces a support for managing SR-IOV VNICs
	through dladm(1M) on both SPARC and x86 platforms. On SPARC (LDOMs)
	platforms, the existing LDOMs commands for managing VFs will continue to
	function as before. Due to differences between dladm's and LDOMs'
	management model, the LDOMs commands may not be used at the same time as
	the new dladm(1M) commands.

	The following commands show how to enable SR-IOV mode and create a VF
	VNIC:

	    # dladm set-linkprop -p iov=on net0
	    # dladm create-vnic -lnet0 v1
	
	Displaying SR-IOV information:

	    # dladm show-phys -V
	    # dladm show-vnic -V
	
	To create a regular VNIC on a link with iov=on, the user can run:

	    # dladm create-vnic -lnet0 -piov=off v2
	
	See dladm(1M) for additional information and examples.

    SR-IOV Fiber Channel (FC) Support

	Oracle Solaris 11.2 now allows to configure SR-IOV FC devices on SPARC
	platforms.

	FC SRIOV PF devices can be identified using the "ldm list-io" command.
	The TYPE column contains the value "PF", and the NAME column contains
	the string "IOVFC". The "ldm create-vf" command can be used to create
	a VF.

	Example: ldm create-vf [port-wwn= node-wwn=]
	    [bw_percent=[]] 
	
	The "port-wwn" and "node-wwn" arguments must both be present or both be
	omitted. If they are omitted, the LDoms Manager will generate valid
	values which do not collide with other existing WWN values. The
	"bw_percent" (bandwidth percent allocated to the new vf) has a default
	value of 0. If "port-wwn" and "node-wwn" values are supplied in the
	"create-vf" command, the format is similar to the colon-separted list of
	hex bytes used for mac addresses, except there must be 8 bytes rather
	than 6.

	The "ldm set-io" can be used to modify the properties. This has the same
	syntax as the "create-vf" command except that the target device is an
	existing VF, rather than a PF.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: