Re: [PATCH net-next v2 08/12] netdevsim: Add MAC loopback simulation
From: Breno Leitao
Date: Thu Mar 26 2026 - 05:46:59 EST
On Wed, Mar 25, 2026 at 03:50:15PM +0100, Björn Töpel wrote:
> Implement the three ethtool loopback ops for MAC-level loopback
> simulation:
>
> - get_loopback(): exact lookup by name ("mac")
> - get_loopback_by()_index: enumerate (single entry at index 0)
- get_loopback_by_index(): enumerate (single entry at index 0)