]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87b69c02f5930d6a8793b36e7f5162c417f49df8
treed0814e265b4ba099bf7fdd43e26da5acda882054
parent84685c7ea1acf25450897c9c9f7ef0755a293925
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