Hide Forgot
+++ This bug was initially created as a clone of Bug #756392 +++ More fixes from upstream: b477ba628a283ba93e631d66907f91df80e82267 35fb9afbdeef9d5859d9a878d0372907baf119e1 93ece0c1a7ace88f10411dbb5643d2aa2fe00ebf eb41049f2f5eee1525fe1c699e6b1f03c8c51532 9fd7a1e147bd41fb999a58da8a8826b9f3415384 803143fbda719106017309d551d082e4b4e7c8c3
These are additional patches for SRIOV support that came in after my primary patch set was submitted for review.
The final set of patches I'm submitting are done.
Patch(es) available on kernel-2.6.32-255.el6
Hi Vladimir, Could you help testing this bug on latest snapshot please? Thank you!
It seems there is no num_vfs option for mlx4_en module. Can SR-IOV support for mlx4_en be tested via mlx4_core? [root@rdma4 ~]# modprobe -r mlx4_en [root@rdma4 ~]# modinfo mlx4_en filename: /lib/modules/2.6.32-272.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko version: 2.0 (Dec 2011) license: Dual BSD/GPL description: Mellanox ConnectX HCA Ethernet driver author: Liran Liss, Yevgeny Petrilin srcversion: 6DE2D669A9E754DB0B7932A depends: mlx4_core vermagic: 2.6.32-272.el6.x86_64 SMP mod_unload modversions parm: inline_thold:treshold for using inline data (int) parm: tcp_rss:Enable RSS for incomming TCP traffic or disabled (0) (uint) parm: udp_rss:Enable RSS for incomming UDP traffic or disabled (0) (uint) parm: pfctx:Priority based Flow Control policy on TX[7:0]. Per priority bit mask (uint) parm: pfcrx:Priority based Flow Control policy on RX[7:0]. Per priority bit mask (uint)
It is standard that the num_vfs option is set via mlx4_core.
Run NIC driver test for mlx4_en on kernel-2.6.32-272 and all the tests passed. [root@rdma4 ~]# modprobe -r mlx4_en [root@rdma4 ~]# modprobe -r mlx4_ib [root@rdma4 ~]# modprobe -r mlx4_core [root@rdma4 ~]# modprobe mlx4_core num_vfs=1 Set SanityOnly.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0862.html