Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp358706rwe; Tue, 18 Apr 2023 23:22:16 -0700 (PDT) X-Google-Smtp-Source: AKy350YQo8G+DvxqUJ8FLIa4Mne2roYFGjimV5Bmh+9ML3uvOCvSbChThxp8RcMnptRab7bjg+eQ X-Received: by 2002:a05:6808:1a98:b0:38b:8acb:3245 with SMTP id bm24-20020a0568081a9800b0038b8acb3245mr2371265oib.13.1681885336321; Tue, 18 Apr 2023 23:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681885336; cv=none; d=google.com; s=arc-20160816; b=BrQTJ23uDpzP+CZpiFsCNwxz12R512omRCCrl3i+AuLNDZmomZr89Iu28ozehXgrsf Gb1cG1G91UVSmqra94k1oqAPk2pZVD8xRMVRKcb4TlROqCLC1Wa0lcM1aXjF1ezb10a9 FHR/cQb0VmO/1CWlhKuHbnnmum1fp2V8ujWMlc+cWM0CE0xrx7/5HBQ1DUMpNuxws77X bD3dO93tvLc26HdFlFApQs8lF7DtqU1OTLMLCrb+lNz9XV/9I1gSpP4RxD97il6yTl75 /PdmAqJ/PAtC3z9KOo0kEUKCxpfMgmQ76SpRyyDkkpI7U3hmHktuI3nCQHEuIlnXOQq0 YpkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3fljCswxvEDoqXPnB4LDW6m2wkiXjfZywUkW2INDLqo=; b=NeVOGrmfzFrQrnJ/DCG5Di99FyGlssU+fvENd2ubmxe3gQnOMMe2lR2YR382YuOiHp fu7IT+Ygpt/Dg04FMYiv9dyfM/0cZTWKhuZY0qET/n6zc3gaTyp73jv0Q3deRtJew1oi MNbfVABYU6ozsfE/hrtGUpZPmAuKxsuKhmC2PY1RZ5UCFZHcPeL5ZbP4qOYZJ7FPM2f/ ZoeXiIDNztcemtjIcLPg6dSzCVRi3Z6mDSH42z3Tr/bnrQs40EqR1Vfvm3dxofCO5sbF TWinGg29MqslWb6dUefQYxXt6LdzDZavApOaXhTHGTawOhwXIGl360kOBeCTdf9nqIiu LIug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=OWthkRzb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bp21-20020a056808239500b0038afbaa79ccsi1921899oib.224.2023.04.18.23.22.03; Tue, 18 Apr 2023 23:22:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=OWthkRzb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232046AbjDSGVX (ORCPT + 99 others); Wed, 19 Apr 2023 02:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232054AbjDSGVK (ORCPT ); Wed, 19 Apr 2023 02:21:10 -0400 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EA02A5CE; Tue, 18 Apr 2023 23:20:57 -0700 (PDT) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33J49X64013319; Tue, 18 Apr 2023 23:20:48 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=3fljCswxvEDoqXPnB4LDW6m2wkiXjfZywUkW2INDLqo=; b=OWthkRzbrmgyFsjlCf3GQQsmX/qflk6EE6OWuxb+Y0IN7D/lYKVXLZEvCooFimrK3ZhS q4zbesmZ4uP3RrFjAZ20GsbpLm2Nnbt3i1n4NRpyE64WV1OdpmpIP6ImWo4N768G2DQz L6xEQINy8iq65RgYCJ0x0IxuoYWw3yWrrK9xi0kyrKNM5F5lbhxMZDJqh9TuyCns5N0f gYrZwHGMu23ctiCfYer1N4C8BWrDmID3DUN3SPWmrIZb/fnmAV7JxQRNYUzOM5vPQhfC +FXDpvxoI+FrLJIm9GF0is4rv6k6Ro6UxpfrgdwyLae70g+qY9PniD2SnnqOcRzRP/NA tg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3q2917rjs7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 18 Apr 2023 23:20:48 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 18 Apr 2023 23:20:46 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Tue, 18 Apr 2023 23:20:46 -0700 Received: from hyd1425.marvell.com (unknown [10.29.37.83]) by maili.marvell.com (Postfix) with ESMTP id A9E8D3F7055; Tue, 18 Apr 2023 23:20:41 -0700 (PDT) From: Sai Krishna To: , , , , , , , , , , , , , CC: Ratheesh Kannoth , Sai Krishna Subject: [net PATCH v3 04/10] octeontx2-pf: Increase the size of dmac filter flows Date: Wed, 19 Apr 2023 11:50:12 +0530 Message-ID: <20230419062018.286136-5-saikrishnag@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230419062018.286136-1-saikrishnag@marvell.com> References: <20230419062018.286136-1-saikrishnag@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: vdi8zDeMUeG8mT1OVpUxkWoi7cD3xXW0 X-Proofpoint-ORIG-GUID: vdi8zDeMUeG8mT1OVpUxkWoi7cD3xXW0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-19_02,2023-04-18_01,2023-02-09_01 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ratheesh Kannoth 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 Signed-off-by: Sunil Kovvuri Goutham Signed-off-by: Sai Krishna --- 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 3d22cc6a2804..99cdc871b59c 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