]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'liquidio-enhanced-ethtool-set-channels-feature'
authorDavid S. Miller <davem@davemloft.net>
Mon, 30 Apr 2018 13:26:29 +0000 (09:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Apr 2018 13:26:29 +0000 (09:26 -0400)
commit0b83c0832133cbc7d2d1edb37fe5b1853a5d144e
tree09243248f41f1d2236d4e7fc1d428361bf374db8
parent3ac93261947d989601f321eb1cd46562f8166c51
parent473be4b38b45dba40a96ae26ae5f59d1866de8ce
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 <davem@davemloft.net>