)]}'
{
  "commit": "3de4ad91efcdc0a406331adeedd316b7f0a83ace",
  "tree": "9415a55ce47c1d86ce547bd5e635f1ddee3b2b3e",
  "parents": [
    "0d546d385c3045e9b76a3b62e490cb8e0a755baf"
  ],
  "author": {
    "name": "Shay Drory",
    "email": "shayd@nvidia.com",
    "time": "Wed Nov 25 23:06:29 2026 +0200"
  },
  "committer": {
    "name": "Willem de Bruijn",
    "email": "willemb@google.com",
    "time": "Tue Dec 01 22:15:51 2026 -0500"
  },
  "message": "net/mlx5e: TC, use the owner eswitch for encap neigh updates\n\nEncap entries are kept in the encap table of the eswitch of the flows\nthat use them, while the neigh hash entry is attached to the out_dev\nuplink. The neigh update and neigh-used paths took the eswitch from\nnetdev_priv(e-\u003eout_dev), assuming out_dev is always the uplink of the\nowner eswitch.\n\nSince MPESW peer flows were added, an encap entry of one eswitch can\nroute through the uplink of another eswitch. A neigh update on that\nuplink then:\n- takes the wrong encap_tbl_lock,\n- adds the slow path rule to the other eswitch\u0027s FDB chains, where it\n  shares a match with the origin flow\u0027s rule, while the flow later\n  removes it from its own eswitch chains. This unbalances the fs_chains\n  refcount (\"Couldn\u0027t find table\", leaked flow tables on unload) and\n  with HWS, which emulates same-match NO_APPEND rules with a single\n  pending rule, fails the origin\u0027s slow path update with -EEXIST,\n- allocates the packet reformat on the other device, which the owner\n  eswitch FDB rejects on HWS.\n\nRecord the owner eswitch uplink priv in the encap entry and use it for\nflow updates and entry release, keeping out_dev for neigh handling.\n\nFixes: 8ce81fc01b52 (\"net/mlx5e: TC, Add peer flow in mpesw mode\")\nSigned-off-by: Shay Drory \u003cshayd@nvidia.com\u003e\nReviewed-by: Jianbo Liu \u003cjianbol@nvidia.com\u003e\nSigned-off-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nLink: https://patch.msgid.link/20261125210629.239095-1-tariqt@nvidia.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6a8d8aac7d16fed55785594954f347302e964b3b",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c",
      "new_id": "a9313869237127bc822c8529e7300adef3a33755",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c"
    },
    {
      "type": "modify",
      "old_id": "e1ebc9b2d061d462b8a22dc8e2351c7f9ab765c0",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c",
      "new_id": "d43c1d7d528158be34c2a938efaa07706f619e2b",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c"
    },
    {
      "type": "modify",
      "old_id": "4f9f8beffbc8dbb993d0447edce8af46c12ee19d",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c",
      "new_id": "d23cf60613ea70db75a1dac529d10e7a655502cc",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c"
    },
    {
      "type": "modify",
      "old_id": "bcd7b4e814d0619b14eefe8228349abb6cf46a9f",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx5/core/en_rep.h",
      "new_id": "4be0b9fe94cd7bb12cfa779bb92a5114f6692ecc",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx5/core/en_rep.h"
    }
  ]
}
