[Intel-wired-lan] [PATCH net-next] ice: send correct vc status in switchdev
Penigalapati, Sandeep
sandeep.penigalapati at intel.com
Wed Oct 27 10:30:10 UTC 2021
>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Michal Swiatkowski
>Sent: Wednesday, October 13, 2021 11:57 AM
>To: intel-wired-lan at osuosl.org
>Subject: [Intel-wired-lan] [PATCH net-next] ice: send correct vc status in
>switchdev
>
>Part of virtchannel messages are treated in different way in switchdev mode
>to block configuring VFs from iavf driver side. This blocking was done by doing
>nothing and returning succes, event without sending response.
>
>Not sending response for opcodes that aren't supported in switchdev mode
>leads to block iavf driver message handling. This happens for example when
>vlan is configured at VF config time (VLAN module is already loaded).
>
>To get rid of it ice driver should answer for each VF message. In switchdev
>mode:
>- for adding/deleting VLAN driver should answer success without doing
> anything to allow creating vlan device on VFs
>- for enabling/disabling VLAN stripping and promiscuous mode driver
> should answer not supported, this feature in switchdev can be only
> set from host side
>
>Signed-off-by: Michal Swiatkowski <michal.swiatkowski at linux.intel.com>
>---
> .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 63 ++++++++++++++-----
> 1 file changed, 49 insertions(+), 14 deletions(-)
>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>
More information about the Intel-wired-lan
mailing list