diff options
author | Shreyas Bhatewara <sbhatewara@vmware.com> | 2011-07-07 00:25:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-07 00:25:52 -0700 |
commit | eebb02b1f03b3722d678bfcb560f3b26661ab0d2 (patch) | |
tree | 6a133a4faa1278c2faf93962c19269f93b076edc /net/sctp/protocol.c | |
parent | 2e98e7974de208de0dab9e9969bd47576d07ff10 (diff) | |
download | blackbird-op-linux-eebb02b1f03b3722d678bfcb560f3b26661ab0d2.tar.gz blackbird-op-linux-eebb02b1f03b3722d678bfcb560f3b26661ab0d2.zip |
vmxnet3: round down # of queues to power of two
vmxnet3 device supports only power-of-two number of queues. The driver
therefore needs to check this and rounds down the number of queues to the
nearest power of two.
Signed-off-by: Yong Wang <yongwang@vmware.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Reviewed-by: Dmitry Torokhov <dtor@vmware.com>
Diffstat (limited to 'net/sctp/protocol.c')
0 files changed, 0 insertions, 0 deletions