summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/pci.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2015-10-15 17:43:19 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-16 08:27:48 +0200
commitc85c3882ad88dd36105148912cd95084b09a5676 (patch)
tree438df4f724486230b906748a273b8d997c0b6489 /drivers/net/ethernet/mellanox/mlxsw/pci.h
parentmlxsw: pci: Do not use MLXSW_PCI_SDQS_COUNT define (diff)
downloadlinux-c85c3882ad88dd36105148912cd95084b09a5676.tar.xz
linux-c85c3882ad88dd36105148912cd95084b09a5676.zip
mlxsw: pci: Remove MLXSW_PCI_RDQS/SDQS defines and checks
Remove strict number check of queues count as various ASICs have different counts. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/pci.h b/drivers/net/ethernet/mellanox/mlxsw/pci.h
index efe1b4bc62d0..5b3453b6cf5d 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/pci.h
+++ b/drivers/net/ethernet/mellanox/mlxsw/pci.h
@@ -71,8 +71,6 @@
#define MLXSW_PCI_DOORBELL(offset, type_offset, num) \
((offset) + (type_offset) + (num) * 4)
-#define MLXSW_PCI_RDQS_COUNT 24
-#define MLXSW_PCI_SDQS_COUNT 24
#define MLXSW_PCI_CQS_MAX 96
#define MLXSW_PCI_EQS_COUNT 2
#define MLXSW_PCI_EQ_ASYNC_NUM 0