[Intel-wired-lan] [PATCH 3/4] igc: Return -EOPNOTSUPP when VLAN mask doesn't match

Brown, Aaron F aaron.f.brown at intel.com
Tue Apr 21 23:44:09 UTC 2020


> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Andre Guedes
> Sent: Friday, April 3, 2020 11:18 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH 3/4] igc: Return -EOPNOTSUPP when VLAN
> mask doesn't match
> 
> The I225 controller supports rx queue assignment based on VLAN priority
> only. Other Tag Control Information (TCI) are valid, but not supported
> by the driver. So this patch changes the returning code from igc_add_
> ethtool_nfc_entry() to -EOPNOTSUPP in order to provide more meaningful
> information on why the function failed.
> 
> It also adds a debug messages to give the user a hint about what went
> wrong with the NFC setup.
> 
> Signed-off-by: Andre Guedes <andre.guedes at intel.com>
> ---
>  drivers/net/ethernet/intel/igc/igc_ethtool.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
Tested-by: Aaron Brown <aaron.f.brown at intel.com>


More information about the Intel-wired-lan mailing list