diff options
| author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-06-05 13:11:14 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-06-08 01:40:11 +0300 |
| commit | 5040acf537ff716f1c8fe42a3814cd0c06ec44b9 (patch) | |
| tree | 783d937f329129b57be1f019072a24cdcdbdb817 /include/uapi | |
| parent | 41086467d6647e66325f4c95eab84faa307f81ee (diff) | |
| download | linux-5040acf537ff716f1c8fe42a3814cd0c06ec44b9.tar.xz | |
qed: Move doorbell calculation from VF to PF
Today, the VF is aware of its queues context-ids, and calculates the
doorbell address when opening its queues on its own.
The configuration of doorbells in HW can sometime in the future be changed
by the PF [hw has several configurable features that might affect doorbell
addresses, e.g., dpm support], this would break compatibility with older
VFs as their calculated doorbell addresses would be incorrect for such a
configuration.
In order to avoid such a backward compatibility failure, let the PF make
the calculation of the doorbell offset based on the context-id, and pass
that to the VF.
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
