)]}'
{
  "commit": "d0d68b8693bd16bfbbc93b89f1d9f3351723307c",
  "tree": "805552db83354bff13841e523e502a0e689d1643",
  "parents": [
    "5a0fd09428e47fb08d5a887515d92bb2447f4b65"
  ],
  "author": {
    "name": "Jack Morgenstein",
    "email": "jackm@dev.mellanox.co.il",
    "time": "Mon Oct 04 12:11:34 2010 +0000"
  },
  "committer": {
    "name": "Roland Dreier",
    "email": "rolandd@cisco.com",
    "time": "Sat Oct 23 13:53:09 2010 -0700"
  },
  "message": "IB/mlx4: Signal node desc changes to SM by using FW to generate trap 144\n\nThe Node Description cannot be changed via MADs (it is read-only).\nUntil now, it was changed in the driver via sysfs, and the new Node\nDescription was simply inserted by the driver into MAD responses\n(replacing the description returned by FW).\n\nSystem startup scripts use the sysfs interface to change the node\ndescription at driver startup to show the hostname, etc. However, this\nhas a race condition: the SM could discover the original FW node\ndescription rather than the system-specific description if it queried the\nport before the startup scripts finish running.\n\nFor mlx4, we fix this with a new FW command (SET_NODE) that allows\npassing the new node description to FW.  When this command is invoked,\nFW sends a trap 144 to the SM.  When it gets this trap, the SM can\nquery the node to obtain the new node description -- thus eliminating\nthe effects of the race.\n\nThis patch simply calls SET_NODE command when a new node description\nis entered via sysfs (thus causing trap 144 to be issued by the FW).\nWe ignore all failures of the SET_NODE command (including those caused\nby using a device FW that predates the SET_NODE command), since in\nthat case things work just as before.\n\nSigned-off-by: Jack Morgenstein \u003cjackm@dev.mellanox.co.il\u003e\nSigned-off-by: Roland Dreier \u003crolandd@cisco.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "62e8cd6f0371585408bed7854b28b7e7cae9e8af",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/mlx4/main.c",
      "new_id": "ac6951d993368e327aa23ffdfad6a627eeefc922",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/mlx4/main.c"
    },
    {
      "type": "modify",
      "old_id": "0f82293a82edf23da15a2ae51447d7db8c1b674f",
      "old_mode": 33188,
      "old_path": "include/linux/mlx4/cmd.h",
      "new_id": "2731266e73a7aa26dd45cf3910a87def39cecf5a",
      "new_mode": 33188,
      "new_path": "include/linux/mlx4/cmd.h"
    }
  ]
}
