]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r319972:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Jun 2017 11:48:40 +0000 (11:48 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Jun 2017 11:48:40 +0000 (11:48 +0000)
commit763c8b8f1c125d8e88378768d1cfb5d1dc7f3ea0
treeeb6d5248d43fcc9f6ef0b23046c7a42b7f208b18
parentafd8fb8bc37690f06f091b3c8037eec11b0746c0
MFC r319972:
Use static device numbering instead of dynamic one when creating
mlx4en network interfaces. This prevents infinite unit number growth
typically when the mlx4en driver is used inside virtual machines which
support runtime PCI attach and detach.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@320067 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ofed/drivers/net/mlx4/en_netdev.c