summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_lib.h
diff options
context:
space:
mode:
authorColin Foster <colin.foster@in-advantage.com>2022-02-13 11:12:54 -0800
committerDavid S. Miller <davem@davemloft.net>2022-02-14 13:24:29 +0000
commitd87b1c08f38a2ce40cf559df36c107a2e6c16a8f (patch)
tree4530de8bf3ffd9692c9285a04b1db11feedaa0c9 /drivers/net/ethernet/intel/ice/ice_lib.h
parent40f3a5c81555880a437dfd3301826074dff18138 (diff)
net: mscc: ocelot: use bulk reads for stats
Create and utilize bulk regmap reads instead of single access for gathering stats. The background reading of statistics happens frequently, and over a few contiguous memory regions. High speed PCIe buses and MMIO access will probably see negligible performance increase. Lower speed buses like SPI and I2C could see significant performance increase, since the bus configuration and register access times account for a large percentage of data transfer time. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.h')
0 files changed, 0 insertions, 0 deletions