aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40e_common.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2017-05-29 19:06:08 -0400
committerDavid S. Miller <davem@davemloft.net>2017-05-30 18:14:07 -0400
commit434c975a8fe2f70b70ac09ea5ddd008e0528adfa (patch)
treeb367d8a53e1f40dd4c7b34aa1c381eea17c9337a /drivers/net/ethernet/intel/i40evf/i40e_common.c
parentbnxt_en: Add additional chip ID definitions. (diff)
downloadlinux-dev-434c975a8fe2f70b70ac09ea5ddd008e0528adfa.tar.xz
linux-dev-434c975a8fe2f70b70ac09ea5ddd008e0528adfa.zip
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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_common.c')
0 files changed, 0 insertions, 0 deletions