)]}'
{
  "commit": "00f5ce99dc6ee46c3113393cc8fa12173f9bbcd7",
  "tree": "cbcd8e2afcd492b3677bf3eedec29b34f249129c",
  "parents": [
    "3045f0920367e625bbec7d66fadb444e673515af"
  ],
  "author": {
    "name": "Jack Morgenstein",
    "email": "jackm@dev.mellanox.co.il",
    "time": "Tue Jun 19 11:21:40 2012 +0300"
  },
  "committer": {
    "name": "Roland Dreier",
    "email": "roland@purestorage.com",
    "time": "Tue Jul 10 09:47:10 2012 -0700"
  },
  "message": "mlx4: Use port management change event instead of smp_snoop\n\nThe port management change event can replace smp_snoop.  If the\ncapability bit for this event is set in dev-caps, the event is used\n(by the driver setting the PORT_MNG_CHG_EVENT bit in the async event\nmask in the MAP_EQ fw command).  In this case, when the driver passes\nincoming SMP PORT_INFO SET mads to the FW, the FW generates port\nmanagement change events to signal any changes to the driver.\n\nIf the FW generates these events, smp_snoop shouldn\u0027t be invoked in\nib_process_mad(), or duplicate events will occur (once from the\nFW-generated event, and once from smp_snoop).\n\nIn the case where the FW does not generate port management change\nevents smp_snoop needs to be invoked to create these events.  The flow\nin smp_snoop has been modified to make use of the same procedures as\nin the fw-generated-event event case to generate the port management\nevents (LID change, Client-rereg, Pkey change, and/or GID change).\n\nPort management change event handling required changing the\nmlx4_ib_event and mlx4_dispatch_event prototypes; the \"param\" argument\n(last argument) had to be changed to unsigned long in order to\naccomodate passing the EQE pointer.\n\nWe also needed to move the definition of struct mlx4_eqe from\nnet/mlx4.h to file device.h -- to make it available to the IB driver,\nto handle port management change events.\n\nSigned-off-by: Jack Morgenstein \u003cjackm@dev.mellanox.co.il\u003e\nSigned-off-by: Or Gerlitz \u003cogerlitz@mellanox.com\u003e\nSigned-off-by: Roland Dreier \u003croland@purestorage.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "84786a9fb64f161638558d0429052a820c639531",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/mlx4/mad.c",
      "new_id": "58c45fb5bd3101ffa97e2ec064d75f01751953ae",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/mlx4/mad.c"
    },
    {
      "type": "modify",
      "old_id": "5266b49c46ee599a646f130f9d2e31dc77a38696",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/mlx4/main.c",
      "new_id": "4f230c26622dd96319e02858e85328d0abcf1bfc",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/mlx4/main.c"
    },
    {
      "type": "modify",
      "old_id": "5f298afaa81febe3c54b9233bbfae56d78daa5d1",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/mlx4/mlx4_ib.h",
      "new_id": "23bfbf9ee0e088f6f4c8d809bf3be422ce81b478",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/mlx4/mlx4_ib.h"
    },
    {
      "type": "modify",
      "old_id": "69ba57270481c1dc9e5b5a0ea828c209ad38ffac",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx4/en_main.c",
      "new_id": "a52922ed85c12e06a07caab7e4ea8977b53d8135",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx4/en_main.c"
    },
    {
      "type": "modify",
      "old_id": "bce98d9c0039b87e74f8d7b7fbd9db3b0281d0bb",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx4/eq.c",
      "new_id": "9b15d0219950a02e41308356c3e56a1a7fdccae8",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx4/eq.c"
    },
    {
      "type": "modify",
      "old_id": "4281ce09add865230672f59bd2631cd57b914815",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx4/fw.c",
      "new_id": "ee9d6b0b4d20dbd0daf3153b2a9d846ba5886362",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx4/fw.c"
    },
    {
      "type": "modify",
      "old_id": "b4e9f6f5cc04ef41ec5f87acbd24187a74b58aa9",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx4/intf.c",
      "new_id": "116895ac8b353afa4f461564ae8bac8529803be2",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx4/intf.c"
    },
    {
      "type": "modify",
      "old_id": "e5d20220762cf6437078062676607d0d0423779c",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx4/mlx4.h",
      "new_id": "4d11d12b9db4a41edec3c377fa31c52090ae2255",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx4/mlx4.h"
    },
    {
      "type": "modify",
      "old_id": "8eadf0f14cc530ef3a943ad867acb792119e8642",
      "old_mode": 33188,
      "old_path": "include/linux/mlx4/device.h",
      "new_id": "560b2201519f0216986bcf6858e4bb1c028f2d3b",
      "new_mode": 33188,
      "new_path": "include/linux/mlx4/device.h"
    },
    {
      "type": "modify",
      "old_id": "5f1298b1b5efc66ffbe39aff52314d03f3aed24f",
      "old_mode": 33188,
      "old_path": "include/linux/mlx4/driver.h",
      "new_id": "0f509229fb3d67ce2f7e6d83185935e36f58df4f",
      "new_mode": 33188,
      "new_path": "include/linux/mlx4/driver.h"
    }
  ]
}
