bnxt_en: Add cache line size setting to optimize performance.
authorMichael Chan <michael.chan@broadcom.com>
Wed, 17 Jan 2018 08:21:15 +0000 (03:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jan 2018 19:48:27 +0000 (14:48 -0500)
commitc3480a603773cfc5d8aa44dbbee6c96e0f9d4d9d
treed0814e265b4ba099bf7fdd43e26da5acda882054
parent91cdda40714178497cbd182261b2ea6ec5cb9276
bnxt_en: Add cache line size setting to optimize performance.

The chip supports 64-byte and 128-byte cache line size for more optimal
DMA performance when matched to the CPU cache line size.  The default is 64.
If the system is using 128-byte cache line size, set it to 128.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c