summaryrefslogtreecommitdiff
path: root/taia.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-11taia: minor: add comment about windowDaniel Borkmann1-1/+1
2013-06-04taia: move taia evaluation out of curve.Daniel Borkmann1-0/+27
trl'>
authorEugenia Emantayev <eugenia@mellanox.com>2016-07-18 18:35:12 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-19 16:44:11 -0700
commitec25bc04ed8e12947738468cbe2191f1529f9e39 (patch)
tree5562fa1edf8e165aed2a5cb8cce657c10f9c06f6
parent30f56e3ced0f4966e8a84ece1acceccbbb73d365 (diff)
net/mlx4_en: Add resilience in low memory systems
This patch fixes the lost of Ethernet port on low memory system, when driver frees its resources and fails to allocate new resources. Issue could happen while changing number of channels, rings size or changing the timestamp configuration. This fix is necessary because of removing vmap use in the code. When vmap was in use driver could allocate non-contiguous memory and make it contiguous with vmap. Now it could fail to allocate a large chunk of contiguous memory and lose the port. Current code tries to allocate new resources and then upon success frees the old resources. Fixes: 73898db04301 ('net/mlx4: Avoid wrong virtual mappings') Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat