mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Satish Kharat <satishkh@cisco.com>
To: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>
Cc: Satish Kharat <satishkh@cisco.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Sesidhar Baddela <sebaddel@cisco.com>,
	Aravind Dhanasekaran <aradhana@cisco.com>,
	Reese Faucette <rfaucett@cisco.com>
Subject: Re: [PATCH net-next v3 6/6] enic: configure V2 VF receive mode over mailbox
Date: Wed, 25 Nov 2026 21:12:09 -0800	[thread overview]
Message-ID: <20261126051209.3558558-3-satishkh@cisco.com> (raw)
In-Reply-To: <179539393186.3135.6117001594095681852@kernel.org>

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

  reply	other threads:[~2026-11-26  5:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 23:32 [PATCH net-next v3 0/6] enic: add V2 VF receive control over MBOX Satish Kharat
2026-11-18 23:32 ` [PATCH net-next v3 1/6] net: add netif_rx_mode_schedule_update() Satish Kharat
2026-11-23  0:32   ` netdev-bot+sashiko
2026-11-18 23:32 ` [PATCH net-next v3 2/6] enic: serialize V2 VF mailbox requests Satish Kharat
2026-11-18 23:32 ` [PATCH net-next v3 3/6] enic: recover V2 VF mailbox after request failure Satish Kharat
2026-11-23  0:32   ` netdev-bot+sashiko
2026-11-26  5:12     ` Satish Kharat
2026-11-18 23:32 ` [PATCH net-next v3 4/6] enic: validate V2 VF configuration replies Satish Kharat
2026-11-23  0:32   ` netdev-bot+sashiko
2026-11-18 23:32 ` [PATCH net-next v3 5/6] enic: manage V2 VF station and administrative MAC Satish Kharat
2026-11-23  0:32   ` netdev-bot+sashiko
2026-11-26  5:12     ` Satish Kharat
2026-11-18 23:32 ` [PATCH net-next v3 6/6] enic: configure V2 VF receive mode over mailbox Satish Kharat
2026-11-23  0:32   ` netdev-bot+sashiko
2026-11-26  5:12     ` Satish Kharat [this message]
2026-11-25 15:35 ` [PATCH net-next v3 0/6] enic: add V2 VF receive control over MBOX Satish Kharat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261126051209.3558558-3-satishkh@cisco.com \
    --to=satishkh@cisco.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=aradhana@cisco.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=rfaucett@cisco.com \
    --cc=sebaddel@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®