]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlx4-fixes'
authorDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2016 23:44:12 +0000 (16:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2016 23:44:12 +0000 (16:44 -0700)
commita817971608a04bbdc6d6bbb305d0bfbf71d1656d
tree5562fa1edf8e165aed2a5cb8cce657c10f9c06f6
parent7412009f4775d8ac4fd00d14a73b0e53590da2db
parentbeb6ddb8f0edb49642344d6f62186e9acd5a32c5
Merge branch 'mlx4-fixes'

Tariq Toukan says:

====================
Safe flow for mlx4_en configuration change

This patchset improves the mlx4_en driver resiliency, especially on
systems with low memory.  Upon a configuration change that requires
the allocation of new resources, we first try to allocate, prior to
destroying the current ones.  Once it is successfully done,
we release the old resources and attach the new ones.  Otherwise, we
stay with a functioning interface having the same old configuration.

This improvement became of greater significance after removing the use
of vmap.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>