[PATCH v5] net/ice: add option to enable source prune
Bruce Richardson
bruce.richardson at intel.com
Thu Nov 6 18:29:19 CET 2025
On Thu, Nov 06, 2025 at 04:33:34PM +0000, Anurag Mandal wrote:
> Source prune is disabled by default to support
> VRRP advertisement packets in a vsi of ice PF.
> There is no way to enable source prune itself.
>
> This patch introduces devarg "source-prune" to
> allow user to enable source prune.
>
> Enable Source Prune to automatically drop incoming
> packets when their source MAC address matches one
> of the MAC addresses assigned to that same NIC port.
>
> Tested the following with VRRP advertisement packets
> in a vsi of ice PF:
> 1. Source prune default mode with no devarg option.
> 2. Enable source prune with devarg "source-prune=1".
> 3. Disable source prune with devarg "source-prune=0".
>
> Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list