Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp108836rdd; Wed, 22 Nov 2023 10:35:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGHAJXhyeXZ+FGGuLHhv96aNWh6vCcru0KqZYr14K6x0ZOi696EXpjMBlWusewTERC9Qgr X-Received: by 2002:a05:6a00:1412:b0:6ca:2b55:58b7 with SMTP id l18-20020a056a00141200b006ca2b5558b7mr3460521pfu.20.1700678155483; Wed, 22 Nov 2023 10:35:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700678155; cv=none; d=google.com; s=arc-20160816; b=lO85EivWLCxSev36kPvLYw7unsmhmN4AAaobLdZQu1Oe2nKhX+0II8smEkd7ELRYjv CUrLxWvOvuqNymL93nH0E3Rk0pRKnHBWgixdX+88RR9T4sSI93n0/DXvt4L9FzRhXl+b yb1f/viRF7uNBO1pt3uxgV5bfrPxShFlh1/KY0N8m/yC2dSHwqJnwjj7fdFB2ANd4gwp Ahn2UruM7v/gO6sluEW57T92XKmKiPuxKImv3OXk0kMvaN4IGN7GbpuvuYAliZZZDR8t ssy4lvsSs2MCnGQuHWXiHH97tSQFlhc/HYzH7Xntd5IWvtHBUuk6hqsrj0Y1yqJwNWKQ bbdg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0GqnSZpL4E/OI68ZnBo58kjUaFbXjIqAqR9BlWTLW7g=; fh=xfjggc+iLs8pwl6xt11f/NeoRnyvAA6UwMIercpst7Y=; b=S/DuyG4ZuPp8FYCiNkyOy8/F0GmhW9loCwnRb9XE+tVtDUyT4XKu0VS3gHns2J0NkT GMxEgGpbpupTmumrK/msXbKLuXLQUK9d//0e1SUEDvIwMNALjlj6VBuZcPuwYmRVLR+r DatKeVSbcs6qO1zRyPGnybYbyU2IzcCgVQVj6zmxeIj74hKcoh6R7YUTJdMSo5O10brt i3QdOD1RccCem54+GZlTyp71ydAsnM1Z3xHatMxU16ZKRhRdqYJg33jVwcEqrQ5z0LS0 e57yQ1TNG3G8oQTjxd0Eu5iJ2nGviJJ9avYAUG3/DlVo0htJRDI5t9xKZA3r1Luv77Mx CCuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b="c/Ibi1n+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id h7-20020a63b007000000b005bd42f65dc5si14524pgf.285.2023.11.22.10.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 10:35:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b="c/Ibi1n+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C4AD1808724D; Wed, 22 Nov 2023 10:35:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231488AbjKVSez (ORCPT + 99 others); Wed, 22 Nov 2023 13:34:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231478AbjKVSey (ORCPT ); Wed, 22 Nov 2023 13:34:54 -0500 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21A31D50; Wed, 22 Nov 2023 10:34:51 -0800 (PST) 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 3AMIT5KW019590; Wed, 22 Nov 2023 10:34:42 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=0GqnSZpL4E/OI68ZnBo58kjUaFbXjIqAqR9BlWTLW7g=; b=c/Ibi1n+X3/JmOHutygyBnb1iitVpUMCXTlGzyxZBU73au8WxltZRRk4IiKgU8K+K11W Bh/HiQ0zXZ395CcASz3D8AHjhOVmh1VZ0zv12WyUpzvfchu6nkJRFsBhr4aAOpexCHAu pcH2rKuAe5U5xOjrnts5rbvPFhR3p4s465Fc9uzLSZpxJ+vTyq8EuL1gf044LlVgT1B4 QJx9HkGYr9HEO62FeSfZYez7pUo9ENZBOXbiG+gLomzUSVU699+BC8zstyKuRrcrethZ ZkzSY9Ugi19tUvq9kr5RSrXjIRfXa5IRbA9LraywLpc4Tj0cBsQFS0ae+Z2NhNC2H/O9 PQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3uhpxn00ut-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 22 Nov 2023 10:34:42 -0800 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; Wed, 22 Nov 2023 10:34:39 -0800 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; Wed, 22 Nov 2023 10:34:39 -0800 Received: from ubuntu-PowerEdge-T110-II.sclab.marvell.com (unknown [10.106.27.86]) by maili.marvell.com (Postfix) with ESMTP id 8B3203F7040; Wed, 22 Nov 2023 10:34:39 -0800 (PST) From: Shinas Rasheed To: , CC: , , , , , , , , , , , , Shinas Rasheed Subject: [PATCH net-next v2 0/2] Get max rx packet length and solve Date: Wed, 22 Nov 2023 10:34:33 -0800 Message-ID: <20231122183435.2510656-1-srasheed@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: QKQM7XTY9JWB2nlUHbrxiNRER0mQ8uvK X-Proofpoint-GUID: QKQM7XTY9JWB2nlUHbrxiNRER0mQ8uvK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-22_13,2023-11-22_01,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 22 Nov 2023 10:35:09 -0800 (PST) Patchsets which resolve observed style issues in control net source files, and also implements get mtu control net api to fetch max mtu value from firmware Changes: V2: - Introduced a patch to resolve style issues as mentioned in V1 - Removed OCTEP_MAX_MTU macro, as it is redundant. V1: https://lore.kernel.org/all/20231121191224.2489474-1-srasheed@marvell.com/ Shinas Rasheed (2): octeon_ep: Solve style issues in control net files octeon_ep: get max rx packet length from firmware .../ethernet/marvell/octeon_ep/octep_config.h | 2 - .../marvell/octeon_ep/octep_ctrl_net.c | 42 ++++-- .../marvell/octeon_ep/octep_ctrl_net.h | 125 +++++++++++------- .../ethernet/marvell/octeon_ep/octep_main.c | 10 +- 4 files changed, 113 insertions(+), 66 deletions(-) -- 2.25.1