From: Jiri Pirko <jiri@resnulli.us>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, idosch@mellanox.com, eladr@mellanox.com,
yotamg@mellanox.com, ogerlitz@mellanox.com, corbet@lwn.net,
stephen@networkplumber.org, sfeldma@gmail.com,
vivien.didelot@savoirfairelinux.com, roopa@cumulusnetworks.com,
gospo@cumulusnetworks.com, nikolay@cumulusnetworks.com
Subject: [patch net-next v2 5/8] mlxsw: Changing the maximum number of multicast group to a define
Date: Sun, 10 Jan 2016 21:06:26 +0100 [thread overview]
Message-ID: <1452456389-2833-6-git-send-email-jiri@resnulli.us> (raw)
In-Reply-To: <1452456389-2833-1-git-send-email-jiri@resnulli.us>
From: Elad Raz <eladr@mellanox.com>
Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
---
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
index b6f3650..d0e98b8 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
@@ -1939,7 +1939,7 @@ static struct mlxsw_config_profile mlxsw_sp_config_profile = {
.used_max_port_per_lag = 1,
.max_port_per_lag = MLXSW_SP_PORT_PER_LAG_MAX,
.used_max_mid = 1,
- .max_mid = 7000,
+ .max_mid = MLXSW_SP_MID_MAX,
.used_max_pgt = 1,
.max_pgt = 0,
.used_max_system_port = 1,
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
index 0bbaef3..f360618 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
@@ -54,6 +54,8 @@
#define MLXSW_SP_LAG_MAX 64
#define MLXSW_SP_PORT_PER_LAG_MAX 16
+#define MLXSW_SP_MID_MAX 7000
+
struct mlxsw_sp_port;
struct mlxsw_sp_upper {
--
1.9.3
next prev parent reply other threads:[~2016-01-10 20:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-10 20:06 [patch net-next v2 0/8] mlxsw: Adding layer 2 multicast Jiri Pirko
2016-01-10 20:06 ` [patch net-next v2 1/8] switchdev: Adding MDB entry offload Jiri Pirko
2016-01-10 20:06 ` [patch net-next v2 2/8] bridge: Reflect MDB entries to hardware Jiri Pirko
2016-01-10 20:12 ` Nikolay Aleksandrov
2016-01-10 20:06 ` [patch net-next v2 3/8] mlxsw: reg: Add definition of multicast record for SFD register Jiri Pirko
2016-01-10 20:06 ` [patch net-next v2 4/8] mlxsw: reg: Adding SMID register Jiri Pirko
2016-01-10 20:06 ` Jiri Pirko [this message]
2016-01-10 20:06 ` [patch net-next v2 6/8] mlxsw: Adding VID to FID translatation Jiri Pirko
2016-01-10 20:06 ` [patch net-next v2 7/8] mlxsw: Adding layer 2 multicast support Jiri Pirko
2016-01-10 20:11 ` Nikolay Aleksandrov
2016-01-10 20:06 ` [patch net-next v2 8/8] switchdev: Adding IGMP snooping documentation Jiri Pirko
2016-01-10 21:50 ` [patch net-next v2 0/8] mlxsw: Adding layer 2 multicast David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452456389-2833-6-git-send-email-jiri@resnulli.us \
--to=jiri@resnulli.us \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=eladr@mellanox.com \
--cc=gospo@cumulusnetworks.com \
--cc=idosch@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=nikolay@cumulusnetworks.com \
--cc=ogerlitz@mellanox.com \
--cc=roopa@cumulusnetworks.com \
--cc=sfeldma@gmail.com \
--cc=stephen@networkplumber.org \
--cc=vivien.didelot@savoirfairelinux.com \
--cc=yotamg@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).