linux_dsm_epyc7002/drivers/net/ethernet/intel/igc
Andre Guedes 2e4f1716f3 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>
2020-05-19 15:18:33 -07:00
..
igc_base.c igc: Use netdev log helpers in igc_base.c 2020-05-18 17:16:33 -07:00
igc_base.h igc: Add tx_csum offload functionality 2019-09-09 11:37:14 -07:00
igc_defines.h igc: Rename IGC_VLAPQF macro 2020-05-19 15:12:17 -07:00
igc_diag.c igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00
igc_diag.h igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00
igc_dump.c igc: Use netdev log helpers in igc_dump.c 2020-05-18 17:16:26 -07:00
igc_ethtool.c igc: Return -EOPNOTSUPP when VLAN mask doesn't match 2020-05-19 15:18:33 -07:00
igc_hw.h igc: Add new device IDs for i225 part 2020-04-19 11:34:11 -07:00
igc_i225.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_i225.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_mac.c igc: Add set_rx_mode support 2019-10-21 10:22:13 -07:00
igc_mac.h igc: remove IGC_REMOVED function 2020-05-19 15:01:48 -07:00
igc_main.c igc: remove IGC_REMOVED function 2020-05-19 15:01:48 -07:00
igc_nvm.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_nvm.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_phy.c igc: Add PHY power management control 2020-01-17 09:55:34 -08:00
igc_phy.h igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_ptp.c igc: Use netdev log helpers in igc_ptp.c 2020-05-18 17:16:21 -07:00
igc_regs.h igc: Rename IGC_VLAPQF macro 2020-05-19 15:12:17 -07:00
igc_tsn.c igc: Add support for ETF offloading 2020-04-17 10:19:24 -07:00
igc_tsn.h igc: Add support for taprio offloading 2020-04-17 10:19:24 -07:00
igc.h igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00
Makefile igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00