OSDN Git Service

liquidio: optimize reads from Octeon PCI console
authorFelix Manlunas <felix.manlunas@cavium.com>
Fri, 30 Dec 2016 01:04:47 +0000 (17:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2016 03:26:03 +0000 (22:26 -0500)
commit15d3afcc051f74d04a285c08594629172a1a9131
tree421f3786660ff2904956c38b2e78e7957598bc62
parent3a543ef479868e36c95935de320608a7e41466ca
liquidio: optimize reads from Octeon PCI console

Reads from Octeon PCI console are inefficient because before each read
operation, a dynamic mapping to Octeon DRAM is set up.  This patch replaces
the repeated setup of a dynamic mapping with a one-time setup of a static
mapping.

Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Signed-off-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/octeon_config.h
drivers/net/ethernet/cavium/liquidio/octeon_console.c
drivers/net/ethernet/cavium/liquidio/octeon_device.h
drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c