• amit salecha's avatar
    net: ethtool support to configure number of channels · 8b5933c3
    amit salecha authored
    Ethtool support to configure RX, TX and other channels. combined field
    in struct ethtool_channels to reflect set of channel (RX, TX or other).
    Other channel can be link interrupts, SR-IOV coordination etc.
    ETHTOOL_GCHANNELS will report max and current number of RX channels,
    max and current number of TX channels, max and current number of other channel
    or max and current number of combined channel.
    Number of channel can be modify upto max number of channel through
    Ben Hutchings:
    o define 'combined' and 'other' types.  Most multiqueue drivers pair up RX and TX
      queues so that most channels combine RX and TX work.
    o Please could you use a kernel-doc comment to describe the structure.
    Signed-off-by: default avatarAmit Kumar Salecha <amit.salecha@qlogic.com>
    Reviewed-by: default avatarBen Hutchings <bhutchings@solarflare.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>