[Intel-wired-lan] [PATCH iwl-next v4 02/13] ice: Prohibit rx mode change in switchdev mode
Simon Horman
simon.horman at corigine.com
Sun Jun 4 13:59:53 UTC 2023
On Wed, May 24, 2023 at 02:21:10PM +0200, Wojciech Drewek wrote:
> Don't allow to change promisc mode in switchdev mode.
> When switchdev is configured, PF netdev is set to be a
> default VSI. This is needed for the slow-path to work correctly.
> All the unmatched packets will be directed to PF netdev.
>
> It is possible that this setting might be overwritten by
> ndo_set_rx_mode. Prevent this by checking if switchdev is
> enabled in ice_set_rx_mode.
>
> Reviewed-by: Paul Menzel <pmenzel at molgen.mpg.de>
> Signed-off-by: Wojciech Drewek <wojciech.drewek at intel.com>
Reviewed-by: Simon Horman <simon.horman at corigine.com>
More information about the Intel-wired-lan
mailing list