)]}'
{
  "commit": "9a5aa622dd4cd22b5e0fe83e4a9c0c768d4e2dea",
  "tree": "95e975a4959a890bd1050645b04488272aa4643c",
  "parents": [
    "4ffaf869c7780bbdfc11291e5fd4b61dde662b1c"
  ],
  "author": {
    "name": "Jack Morgenstein",
    "email": "jackm@dev.mellanox.co.il",
    "time": "Fri Nov 28 21:29:46 2008 -0800"
  },
  "committer": {
    "name": "Roland Dreier",
    "email": "rolandd@cisco.com",
    "time": "Fri Nov 28 21:29:46 2008 -0800"
  },
  "message": "mlx4_core: Save/restore default port IB capability mask\n\nCommit 7ff93f8b (\"mlx4_core: Multiple port type support\") introduced\nsupport for different port types.  As part of that support, SET_PORT\nis invoked to set the port type during driver startup.  However, as a\nside-effect, for IB ports the invocation of this command also sets the\nport\u0027s capability mask to zero (losing the default value set by FW).\n\nTo fix this, get the default ib port capabilities (via a MAD_IFC Port\nInfo query) during driver startup, and save them for use in the\nmlx4_SET_PORT command when setting the port-type to Infiniband.\n\nThis patch fixes problems with subnet manager (SM) failover such as\n\u003chttps://bugs.openfabrics.org/show_bug.cgi?id\u003d1183\u003e, which occurred\nbecause the IsTrapSupported bit in the capability mask was zeroed.\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": "468921b8f4b68a047abdf2f247e4a1c3e0ed5d41",
      "old_mode": 33188,
      "old_path": "drivers/net/mlx4/main.c",
      "new_id": "90a0281d15ea22d96ce788107dee88d0deb77aff",
      "new_mode": 33188,
      "new_path": "drivers/net/mlx4/main.c"
    },
    {
      "type": "modify",
      "old_id": "56a2e213fe626870d23211c62916d6610aac5e63",
      "old_mode": 33188,
      "old_path": "drivers/net/mlx4/mlx4.h",
      "new_id": "34c909deaff325e9e90573065fa4d4efb45044b8",
      "new_mode": 33188,
      "new_path": "drivers/net/mlx4/mlx4.h"
    },
    {
      "type": "modify",
      "old_id": "e2fdab42c4ceabee3f5eb02c5cd5b53ed8fdce28",
      "old_mode": 33188,
      "old_path": "drivers/net/mlx4/port.c",
      "new_id": "0a057e5dc63ba0ed32d0fac4ad6f306d77a8c715",
      "new_mode": 33188,
      "new_path": "drivers/net/mlx4/port.c"
    },
    {
      "type": "modify",
      "old_id": "bd9977b894907f294b06817a01a42b3c29dd25bc",
      "old_mode": 33188,
      "old_path": "include/linux/mlx4/device.h",
      "new_id": "371086fd946f3f13a7cbeecab10354caae5cb15f",
      "new_mode": 33188,
      "new_path": "include/linux/mlx4/device.h"
    }
  ]
}
