]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r319972:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Jun 2017 11:50:09 +0000 (11:50 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Jun 2017 11:50:09 +0000 (11:50 +0000)
commitd61225ead742670db06b1b22dbedb26c664d8c26
tree730d50d3e5d833bac997dc49614a51a4a9c1b4f3
parentfb1c78789e674bcad1574cadfe8beabc7b775fb9
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/9@320068 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ofed/drivers/net/mlx4/en_netdev.c