diff options
author | Andre Guedes <andre.guedes@intel.com> | 2020-04-03 11:17:42 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-05-19 15:18:33 -0700 |
commit | 2e4f1716f31f3486fa454fd3174f3de982b1dcaa (patch) | |
tree | a98d2d3075eea563274b1291c36a807997065fbd /drivers/net/ethernet/intel/igc/igc.h | |
parent | fbee4760ec4fc9f885ad0737f7b371cc6b73f573 (diff) |
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@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc.h')
0 files changed, 0 insertions, 0 deletions