From: Sai Krishna <saikrishnag@marvell.com>
To: <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <simon.horman@corigine.com>,
<leon@kernel.org>, <sgoutham@marvell.com>, <gakula@marvell.com>,
<lcherian@marvell.com>, <jerinj@marvell.com>,
<hkelam@marvell.com>, <sbhatta@marvell.com>
Cc: Ratheesh Kannoth <rkannoth@marvell.com>,
Sai Krishna <saikrishnag@marvell.com>
Subject: [net PATCH v5 04/11] octeontx2-pf: Increase the size of dmac filter flows
Date: Wed, 3 May 2023 12:39:37 +0530 [thread overview]
Message-ID: <20230503070944.960190-5-saikrishnag@marvell.com> (raw)
In-Reply-To: <20230503070944.960190-1-saikrishnag@marvell.com>
From: Ratheesh Kannoth <rkannoth@marvell.com>
CN10kb supports large number of dmac filter flows to be
inserted. Increase the field size to accommodate the same
Fixes: b747923afff8 ("octeontx2-af: Exact match support")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: Sai Krishna <saikrishnag@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
---
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
index f42b2b65bfd7..0c8fc66ade82 100644
--- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
+++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
@@ -335,11 +335,11 @@ struct otx2_flow_config {
#define OTX2_PER_VF_VLAN_FLOWS 2 /* Rx + Tx per VF */
#define OTX2_VF_VLAN_RX_INDEX 0
#define OTX2_VF_VLAN_TX_INDEX 1
- u16 max_flows;
- u8 dmacflt_max_flows;
u32 *bmap_to_dmacindex;
unsigned long *dmacflt_bmap;
struct list_head flow_list;
+ u32 dmacflt_max_flows;
+ u16 max_flows;
};
struct otx2_tc_info {
--
2.25.1
next prev parent reply other threads:[~2023-05-03 7:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-03 7:09 [net PATCH v5 00/11] octeontx2: Miscellaneous fixes Sai Krishna
2023-05-03 7:09 ` [net PATCH v5 01/11] octeontx2-af: Secure APR table update with the lock Sai Krishna
2023-05-03 7:09 ` [net PATCH v5 02/11] octeontx2-af: Fix start and end bit for scan config Sai Krishna
2023-05-03 7:09 ` [net PATCH v5 03/11] octeontx2-af: Fix depth of cam and mem table Sai Krishna
2023-05-03 7:09 ` Sai Krishna [this message]
2023-05-03 7:09 ` [net PATCH v5 05/11] octeontx2-af: Add validation for lmac type Sai Krishna
2023-05-03 7:09 ` [net PATCH v5 06/11] octeontx2-af: Update correct mask to filter IPv4 fragments Sai Krishna
2023-05-03 7:09 ` [net PATCH v5 07/11] octeontx2-af: Update/Fix NPC field hash extract feature Sai Krishna
2023-05-03 7:09 ` [net PATCH v5 08/11] octeontx2-af: Fix issues with NPC field hash extract Sai Krishna
2023-05-03 7:09 ` [net PATCH v5 09/11] octeontx2-af: Skip PFs if not enabled Sai Krishna
2023-05-03 7:09 ` [net PATCH v5 10/11] octeontx2-pf: Disable packet I/O for graceful exit Sai Krishna
2023-05-03 7:09 ` [net PATCH v5 11/11] octeontx2-vf: Detach LF resources on probe cleanup Sai Krishna
2023-05-03 8:10 ` [net PATCH v5 00/11] octeontx2: Miscellaneous fixes patchwork-bot+netdevbpf
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=20230503070944.960190-5-saikrishnag@marvell.com \
--to=saikrishnag@marvell.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gakula@marvell.com \
--cc=hkelam@marvell.com \
--cc=jerinj@marvell.com \
--cc=kuba@kernel.org \
--cc=lcherian@marvell.com \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rkannoth@marvell.com \
--cc=sbhatta@marvell.com \
--cc=sgoutham@marvell.com \
--cc=simon.horman@corigine.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