diff options
author | Ram Amrani <Ram.Amrani@cavium.com> | 2017-04-30 10:49:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-01 17:42:15 +0200 |
commit | 107392b75ffc96a2418d5382e52b08c598575e1b (patch) | |
tree | db9a05ba2c8beaf5e7a8feb9d0f2b3e0d273a1b0 /include | |
parent | qed: verify RoCE resource bitmaps are released (diff) | |
download | linux-107392b75ffc96a2418d5382e52b08c598575e1b.tar.xz linux-107392b75ffc96a2418d5382e52b08c598575e1b.zip |
qed: align DPI configuration to HW requirements
When calculating doorbell BAR partitioning round up the number of
CPUs to the nearest power of 2 so the size of the DPI (per user
section) configured in the hardware will be stored properly and
not truncated.
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions