diff options
-rw-r--r-- | include/uapi/linux/ethtool.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index cba18e3f8fab..e3c7a719c76b 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h | |||
@@ -850,16 +850,17 @@ struct ethtool_rxfh_indir { | |||
850 | * struct ethtool_rxfh - command to get/set RX flow hash indir or/and hash key. | 850 | * struct ethtool_rxfh - command to get/set RX flow hash indir or/and hash key. |
851 | * @cmd: Specific command number - %ETHTOOL_GRSSH or %ETHTOOL_SRSSH | 851 | * @cmd: Specific command number - %ETHTOOL_GRSSH or %ETHTOOL_SRSSH |
852 | * @rss_context: RSS context identifier. | 852 | * @rss_context: RSS context identifier. |
853 | * @indir_size: On entry, the array size of the user buffer, which may be zero, | 853 | * @indir_size: On entry, the array size of the user buffer for the |
854 | * or (for %ETHTOOL_SRSSH), %ETH_RXFH_INDIR_NO_CHANGE. | 854 | * indirection table, which may be zero, or (for %ETHTOOL_SRSSH), |
855 | * On return from %ETHTOOL_GRSSH, the array size of the hardware | 855 | * %ETH_RXFH_INDIR_NO_CHANGE. On return from %ETHTOOL_GRSSH, |
856 | * indirection table. | 856 | * the array size of the hardware indirection table. |
857 | * @key_size: On entry, the array size of the user buffer in bytes, | 857 | * @key_size: On entry, the array size of the user buffer for the hash key, |
858 | * which may be zero. | 858 | * which may be zero. On return from %ETHTOOL_GRSSH, the size of the |
859 | * On return from %ETHTOOL_GRSSH, the size of the RSS hash key. | 859 | * hardware hash key. |
860 | * @rsvd: Reserved for future extensions. | 860 | * @rsvd: Reserved for future extensions. |
861 | * @rss_config: RX ring/queue index for each hash value i.e., indirection table | 861 | * @rss_config: RX ring/queue index for each hash value i.e., indirection table |
862 | * of size @indir_size followed by hash key of size @key_size. | 862 | * of @indir_size __u32 elements, followed by hash key of @key_size |
863 | * bytes. | ||
863 | * | 864 | * |
864 | * For %ETHTOOL_GRSSH, a @indir_size and key_size of zero means that only the | 865 | * For %ETHTOOL_GRSSH, a @indir_size and key_size of zero means that only the |
865 | * size should be returned. For %ETHTOOL_SRSSH, an @indir_size of | 866 | * size should be returned. For %ETHTOOL_SRSSH, an @indir_size of |