)]}'
{
  "commit": "dff655e82faffc287d4a72a59f66fa120bf904e4",
  "tree": "5302b1cac66b7e3f50797afdef79b317d179d400",
  "parents": [
    "65e98bb56fa3ce2edb400930c05238c9b380500e"
  ],
  "author": {
    "name": "Jijie Shao",
    "email": "shaojijie@huawei.com",
    "time": "Fri Nov 10 17:37:13 2023 +0800"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Mon Nov 13 09:06:58 2023 +0000"
  },
  "message": "net: hns3: fix VF wrong speed and duplex issue\n\nIf PF is down, firmware will returns 10 Mbit/s rate and half-duplex mode\nwhen PF queries the port information from firmware.\n\nAfter imp reset command is executed, PF status changes to down,\nand PF will query link status and updates port information\nfrom firmware in a periodic scheduled task.\n\nHowever, there is a low probability that port information is updated\nwhen PF is down, and then PF link status changes to up.\nIn this case, PF synchronizes incorrect rate and duplex mode to VF.\n\nThis patch fixes it by updating port information before\nPF synchronizes the rate and duplex to the VF\nwhen PF changes to up.\n\nFixes: 18b6e31f8bf4 (\"net: hns3: PF add support for pushing link status to VFs\")\nSigned-off-by: Jijie Shao \u003cshaojijie@huawei.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c393b4ee4a320c40eee231ba01b443b1c5e67c65",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c",
      "new_id": "5ea9e59569effbb56ea5e198eb80cd782c1f7a28",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
    }
  ]
}
