commit | 434c975a8fe2f70b70ac09ea5ddd008e0528adfa | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Mon May 29 19:06:08 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue May 30 18:14:07 2017 -0400 |
tree | b367d8a53e1f40dd4c7b34aa1c381eea17c9337a | |
parent | 3284f9e1ab505b41fa604c81e4b3271c6b88cdcb [diff] |
bnxt_en: Optimize doorbell write operations for newer chips. Older chips require the doorbells to be written twice, but newer chips do not. Add a new common function bnxt_db_write() to write all doorbells appropriately depending on the chip. Eliminating the extra doorbell on newer chips has a significant performance improvement on pktgen. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>