summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2016-06-05 13:11:14 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-08 01:40:11 +0300
commit5040acf537ff716f1c8fe42a3814cd0c06ec44b9 (patch)
tree783d937f329129b57be1f019072a24cdcdbdb817 /include/uapi/linux
parent41086467d6647e66325f4c95eab84faa307f81ee (diff)
downloadlinux-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/linux')
0 files changed, 0 insertions, 0 deletions