diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-02-10 16:50:17 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-02-13 11:05:12 +0000 |
commit | 40bc471dc714036c8ed223f9aa04b1b2072fb9db (patch) | |
tree | 27035128c9e832e7c420c6fe7fdb7cf57c7dc47b /drivers/net/ethernet/pensando/ionic/ionic_if.h | |
parent | 5b4e9a7a71ab912d150cb2276cb23af51c863150 (diff) | |
download | linux-40bc471dc714036c8ed223f9aa04b1b2072fb9db.tar.gz linux-40bc471dc714036c8ed223f9aa04b1b2072fb9db.tar.bz2 linux-40bc471dc714036c8ed223f9aa04b1b2072fb9db.zip |
ionic: add tx/rx-push support with device Component Memory Buffers
The ionic device has on-board memory (CMB) that can be used
for descriptors as a way to speed descriptor access for faster
packet processing. It is rumored to improve latency and/or
packets-per-second for some profiles of small packet traffic,
although your mileage may vary.
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_if.h')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_if.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_if.h b/drivers/net/ethernet/pensando/ionic/ionic_if.h index eac09b2375b8..9a1825edf0d0 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_if.h +++ b/drivers/net/ethernet/pensando/ionic/ionic_if.h @@ -3073,9 +3073,10 @@ union ionic_adminq_comp { #define IONIC_BARS_MAX 6 #define IONIC_PCI_BAR_DBELL 1 +#define IONIC_PCI_BAR_CMB 2 -/* BAR0 */ #define IONIC_BAR0_SIZE 0x8000 +#define IONIC_BAR2_SIZE 0x800000 #define IONIC_BAR0_DEV_INFO_REGS_OFFSET 0x0000 #define IONIC_BAR0_DEV_CMD_REGS_OFFSET 0x0800 |