)]}' { "commit": "ec25bc04ed8e12947738468cbe2191f1529f9e39", "tree": "5562fa1edf8e165aed2a5cb8cce657c10f9c06f6", "parents": [ "30f56e3ced0f4966e8a84ece1acceccbbb73d365" ], "author": { "name": "Eugenia Emantayev", "email": "eugenia@mellanox.com", "time": "Mon Jul 18 18:35:12 2016 +0300" }, "committer": { "name": "David S. Miller", "email": "davem@davemloft.net", "time": "Tue Jul 19 16:44:11 2016 -0700" }, "message": "net/mlx4_en: Add resilience in low memory systems\n\nThis patch fixes the lost of Ethernet port on low memory system,\nwhen driver frees its resources and fails to allocate new resources.\nIssue could happen while changing number of channels, rings size or\nchanging the timestamp configuration.\nThis fix is necessary because of removing vmap use in the code.\nWhen vmap was in use driver could allocate non-contiguous memory\nand make it contiguous with vmap. Now it could fail to allocate\na large chunk of contiguous memory and lose the port.\nCurrent code tries to allocate new resources and then upon success\nfrees the old resources.\n\nFixes: 73898db04301 (\u0027net/mlx4: Avoid wrong virtual mappings\u0027)\nSigned-off-by: Eugenia Emantayev \u003ceugenia@mellanox.com\u003e\nSigned-off-by: Tariq Toukan \u003ctariqt@mellanox.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "fc95affaf76b5d7b36d3c745e7fe271c8442cbb8", "old_mode": 33188, "old_path": "drivers/net/ethernet/mellanox/mlx4/en_ethtool.c", "new_id": "44cf16d01f4275501870e3711fa27e5d8ec43a0e", "new_mode": 33188, "new_path": "drivers/net/ethernet/mellanox/mlx4/en_ethtool.c" }, { "type": "modify", "old_id": "5d809c8c27c4c870cde8c68999bcccc3b206c7ec", "old_mode": 33188, "old_path": "drivers/net/ethernet/mellanox/mlx4/en_netdev.c", "new_id": "8359e9e51b3b4c99d95238575fbe0285b61fa571", "new_mode": 33188, "new_path": "drivers/net/ethernet/mellanox/mlx4/en_netdev.c" }, { "type": "modify", "old_id": "467d47ed2c394093ca8be3fa0ce1f1a26dc1a038", "old_mode": 33188, "old_path": "drivers/net/ethernet/mellanox/mlx4/mlx4_en.h", "new_id": "13d297ee34bb3f7fa195891e3959ce62605e580b", "new_mode": 33188, "new_path": "drivers/net/ethernet/mellanox/mlx4/mlx4_en.h" } ] }