Re: [PATCH v20 22/25] net/pcap: add link status change support for iface mode

Bruce Richardson
2026-03-16T15:04:06Z

On Tue, Mar 10, 2026 at 09:10:00AM -0700, Stephen Hemminger wrote:
> Add LSC interrupt support for pass-through (iface=) mode so
> applications can receive link state change notifications via
> the standard ethdev callback mechanism.
>
> Uses alarm-based polling to periodically check the underlying
> interface state via osdep_iface_link_get(). The LSC flag is
> advertised only for iface mode devices, and polling is gated
> on the application enabling intr_conf.lsc in port configuration.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>