)]}'
{
  "commit": "9ab89bde13e5251e1d0507e1cc426edcdfe19142",
  "tree": "c82a5bea860c3832da8f02efe55fbb8dac3c8b41",
  "parents": [
    "e35d7da8dd9e55b37c3e8ab548f6793af0c2ab49"
  ],
  "author": {
    "name": "Jianbo Liu",
    "email": "jianbol@nvidia.com",
    "time": "Tue Dec 09 14:56:15 2025 +0200"
  },
  "committer": {
    "name": "Paolo Abeni",
    "email": "pabeni@redhat.com",
    "time": "Thu Dec 18 13:39:29 2025 +0100"
  },
  "message": "net/mlx5e: Trigger neighbor resolution for unresolved destinations\n\nWhen initializing the MAC addresses for an outbound IPsec packet offload\nrule in mlx5e_ipsec_init_macs, the call to dst_neigh_lookup is used to\nfind the next-hop neighbor (typically the gateway in tunnel mode).\nThis call might create a new neighbor entry if one doesn\u0027t already\nexist. This newly created entry starts in the INCOMPLETE state, as the\nkernel hasn\u0027t yet sent an ARP or NDISC probe to resolve the MAC\naddress. In this case, neigh_ha_snapshot will correctly return an\nall-zero MAC address.\n\nIPsec packet offload requires the actual next-hop MAC address to\nprogram the rule correctly. If the neighbor state is INCOMPLETE when\nthe rule is created, the hardware rule is programmed with an all-zero\ndestination MAC address. Packets sent using this rule will be\nsubsequently dropped by the receiving network infrastructure or host.\n\nThis patch adds a check specifically for the outbound offload path. If\nneigh_ha_snapshot returns an all-zero MAC address, it proactively\ncalls neigh_event_send(n, NULL). This ensures the kernel immediately\nsends the initial ARP or NDISC probe if one isn\u0027t already pending,\naccelerating the resolution process. This helps prevent the hardware\nrule from being programmed with an invalid MAC address and avoids\npacket drops due to unresolved neighbors.\n\nFixes: 71670f766b8f (\"net/mlx5e: Support routed networks during IPsec MACs initialization\")\nSigned-off-by: Jianbo Liu \u003cjianbol@nvidia.com\u003e\nReviewed-by: Leon Romanovsky \u003cleonro@nvidia.com\u003e\nSigned-off-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nLink: https://patch.msgid.link/1765284977-1363052-8-git-send-email-tariqt@nvidia.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6c79b9cea2efbc5c0079df67692982c6b17918ac",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c",
      "new_id": "a8fb4bec369cf4b8f31d9148f41c49de3c0ca2a6",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c"
    }
  ]
}
