linux/drivers/net/ethernet/intel/fm10k
Jacob Keller 4e160f2a59 fm10k: fix documentation of fm10k_tlv_parse_attr
fm10k_tlv_parse_attr is supposed to return FM10K_NOT_IMPLEMENTED for any
TLV who's attribute id lies outside the range of results. It does not do
this today. In addition, the documentation does not indicate that other
attributes which are not implemented for a given TLV will be silently
ignored. Fix this. Clean up the logic so that we don't rely on the fact
that FM10K_NOT_IMPLEMENTED is greater than zero, as this can easily
cause confusion.

A future extension could look into some way of reporting unknown TLVs
in order to make issues more easily discoverable. We can't just return
FM10K_NOT_IMPLEMENTED here because we don't want to drop the entire
message if it has an unknown TLV.

While here, update the copyright year.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-04-20 23:07:31 -07:00
..
fm10k.h fm10k: correctly handle LPORT_MAP error 2016-04-20 23:06:22 -07:00
fm10k_common.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_common.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_dcbnl.c fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00
fm10k_debugfs.c fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00
fm10k_ethtool.c fm10k: drop 1588 support 2016-04-20 23:06:22 -07:00
fm10k_iov.c fm10k: fix a minor typo in some comments 2016-04-05 12:49:38 -07:00
fm10k_main.c fm10k: drop 1588 support 2016-04-20 23:06:22 -07:00
fm10k_mbx.c fm10k: cleanup mailbox code comments etc 2015-12-22 05:19:57 -08:00
fm10k_mbx.h fm10k: cleanup mailbox code comments etc 2015-12-22 05:19:57 -08:00
fm10k_netdev.c fm10k: Fix multicast mode sync issues 2016-04-20 23:06:22 -07:00
fm10k_pci.c fm10k: do not disable PCI device in fm10k_io_error_detected 2016-04-20 23:06:23 -07:00
fm10k_pf.c fm10k: correctly handle LPORT_MAP error 2016-04-20 23:06:22 -07:00
fm10k_pf.h fm10k: correctly handle LPORT_MAP error 2016-04-20 23:06:22 -07:00
fm10k_tlv.c fm10k: fix documentation of fm10k_tlv_parse_attr 2016-04-20 23:07:31 -07:00
fm10k_tlv.h fm10k: cleanup mailbox code comments etc 2015-12-22 05:19:57 -08:00
fm10k_type.h fm10k: drop 1588 support 2016-04-20 23:06:22 -07:00
fm10k_vf.c fm10k: drop 1588 support 2016-04-20 23:06:22 -07:00
fm10k_vf.h fm10k: drop 1588 support 2016-04-20 23:06:22 -07:00
Makefile fm10k: drop 1588 support 2016-04-20 23:06:22 -07:00