)]}'
{
  "commit": "54eba3e912488b950e9af507aaaa6b0dc022b0ee",
  "tree": "750814b6930966f8669e08bd2271c3338a89d656",
  "parents": [
    "9b2f6b94132d14b1d2d2a7d3b65bac4f3a056aac"
  ],
  "author": {
    "name": "Daniel Xu",
    "email": "dxu@dxuuu.xyz",
    "time": "Thu Nov 14 19:12:08 2024 -0700"
  },
  "committer": {
    "name": "Michal Kubecek",
    "email": "mkubecek@suse.cz",
    "time": "Mon Nov 25 19:00:26 2024 +0100"
  },
  "message": "rxclass: Make output for RSS context action explicit\n\nCurrently `ethtool -n` prints out misleading output if the action for an\nntuple rule is to redirect to an RSS context. For example:\n\n    # ethtool -X eth0 hfunc toeplitz context new start 24 equal 8\n    New RSS context is 1\n\n    # ethtool -N eth0 flow-type ip6 dst-ip $IP6 context 1\n    Added rule with ID 0\n\n    # ethtool -n eth0 rule 0\n    Filter: 0\n            Rule Type: Raw IPv6\n            Src IP addr: :: mask: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff\n            Dest IP addr: \u003credacted\u003e mask: ::\n            Traffic Class: 0x0 mask: 0xff\n            Protocol: 0 mask: 0xff\n            L4 bytes: 0x0 mask: 0xffffffff\n            RSS Context ID: 1\n            Action: Direct to queue 0\n\nThe above output suggests that the HW will direct to queue 0 where in\nreality queue 0 is just the base offset from which the redirection table\nlookup in the RSS context is added to.\n\nFix by making output more clear. Also suppress base offset queue for the\ncommon case of 0. Example of new output:\n\n    # ./ethtool -n eth0 rule 0\n    Filter: 0\n            Rule Type: Raw IPv6\n            Src IP addr: :: mask: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff\n            Dest IP addr: \u003credacted\u003e mask: ::\n            Traffic Class: 0x0 mask: 0xff\n            Protocol: 0 mask: 0xff\n            L4 bytes: 0x0 mask: 0xffffffff\n            Action: Direct to RSS Context 1\n\nReviewed-by: Edward Cree \u003cecree.xilinx@gmail.com\u003e\nAcked-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\nTested-by: Joe Damato \u003cjdamato@fastly.com\u003e\nSigned-off-by: Daniel Xu \u003cdxu@dxuuu.xyz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f17e3a5124c0a1256c7b611f6877c60c68725000",
      "old_mode": 33188,
      "old_path": "rxclass.c",
      "new_id": "1e202ccff97cae8a32503eaad3d438057f8e57e4",
      "new_mode": 33188,
      "new_path": "rxclass.c"
    }
  ]
}
