Re: [PATCH net-next v3 6/6] enic: configure V2 VF receive mode over mailbox

From: Satish Kharat

Date: Thu Nov 26 2026 - 00:12:36 EST


Thanks for the review. Responses to the three medium items below.

> permanently-denied exact-filter ADDs consume slots

The behavior here is by design. When spoof-check is enabled, the PF applies its
MAC policy to the VF's secondary unicast addresses as a single all-or-nothing
decision for that VF - it does not admit some secondary addresses while denying
others. Because there is no subset admission, the exact-filter budget is only ever
consumed by addresses the PF actually accepts, so the scenario where denied
entries occupy slots and crowd out otherwise-valid addresses does not arise. The
driver re-presents the full requested list on each sync - the normal address-list
synchronization behavior - and a policy-denied address simply gets the same
stable-denial result each time, with no effect on the datapath or on the accepted
filters.

> ADD-only ADD_DEL_MAC request failing as a whole with -EIO

The current handling is safe: an ADD-only batch reported as a whole failure is
treated conservatively and does not leave stale accepted filters behind.
Exercising a whole-batch -EIO specifically would need PF-side fault injection,
which this single-host lab cannot produce (in practice the PF returns per-entry
results). I'll look at any further refinement of the whole-batch -EIO path as a
future enhancement once there is a fault-injection path to validate it.

> SKIPPED DELETE handled as fail-closed

A SKIPPED DELETE only arises when the PF skips the remaining operations after an
earlier failure in a mixed batch. The current handling is intentionally
conservative - it reconnects so hardware never keeps accepting an address that is
no longer in the requested list, which is the safe outcome. This condition isn't
reproducible on this lab without PF-side fault injection; I'll revisit whether the
reconnect can be narrowed as a future enhancement with fault-injection coverage.

Thanks,
Satish