From: David S. Miller Date: Mon, 30 Apr 2018 13:26:29 +0000 (-0400) Subject: Merge branch 'liquidio-enhanced-ethtool-set-channels-feature' X-Git-Tag: android-x86-8.1-r1~939^2~347 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=dbafb0c488ee02893764c14783e26574ee8f1a96;p=android-x86%2Fkernel.git Merge branch 'liquidio-enhanced-ethtool-set-channels-feature' Intiyaz Basha says: ==================== liquidio: enhanced ethtool --set-channels feature For the ethtool --set-channels feature, the liquidio driver currently accepts max combined value as the queue count configured during driver load time, where max combined count is the total count of input and output queues. This limitation is applicable only when SR-IOV is enabled, that is, when VFs are created for PF. If SR-IOV is not enabled, the driver can configure max supported (64) queues. This series of patches are for enhancing driver to accept max supported queues for ethtool --set-channels. Changes in V2: Only patch #6 was changed to fix these Sparse warnings reported by kbuild test robot: lio_ethtool.c:848:5: warning: symbol 'lio_23xx_reconfigure_queue_count' was not declared. Should it be static? lio_ethtool.c:877:22: warning: incorrect type in assignment (different base types) lio_ethtool.c:878:22: warning: incorrect type in assignment (different base types) lio_ethtool.c:879:22: warning: incorrect type in assignment (different base types) ==================== Signed-off-by: David S. Miller --- dbafb0c488ee02893764c14783e26574ee8f1a96