From patchwork Mon Nov 27 16:21:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shinas Rasheed X-Patchwork-Id: 17158 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3261570vqx; Mon, 27 Nov 2023 08:22:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0T7+uMRoyLREVOpe+Ci+Z2ooeVvAIZvDcWKMD74k+jSIbQBH8z1sw+nfkb2fIsPlegIhQ X-Received: by 2002:a17:903:11c4:b0:1cc:4072:22c6 with SMTP id q4-20020a17090311c400b001cc407222c6mr13907781plh.24.1701102151831; Mon, 27 Nov 2023 08:22:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701102151; cv=none; d=google.com; s=arc-20160816; b=HwOpGSUBBeXuB5LyKxUOSSMbS+Ngi8hVLma6KV4PTXGRYY8R1dmkXADwh1uo0I0GGb eybnBBJg2clHQMffDq7A7n27ntSxWGzR5QQmbrDjcFX2SPQjzbQflTIzZx1GwaqDtZhU mF8dRdSbn3uUl2N8QYJBzu48RTdn5RTW7wzMM/m71UCHAVRfZzWYxwGutvVVgJCGApIS bZWZW/vMC10svVm5gPxkS4CpOKQMaRAK8Va457+yImoS1SwEXsVyIF5j4AjdsnPCYLDW OzvfZrTUQhC2Esj9E1EaYHCRQglIx8tGL7mvRa5LW1ULi33ueIzgdsJUPVFPAbz0huP6 HpyQ== 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=kOtadE82wwPJ4D6Q4wg4bsRXrZgUe/TOuvjciDl+/L8=; fh=gNr59YhJeSqFpzAl5yMorJ8nj6h+jiBYcBCAuclPfFg=; b=VKclQQaaekeziFwLt+hEFWYvLU4lPTIF41i7mvxc/wmq2knj3g6OLNjTpr2+A4h9zZ WgbcdMKa2I649ct8ZaKoFBsd8KpBpjCWZCGdaiMCcz/zjX5Xv8gpbO3ZApMw56r6OTFp zrQAKLyiQMRnDi1VNCRGkcZPSu0pfPKvnd134mBSjSoRdstQsyLkCoiTz5411Uuo9RNc 1d7rM0atuMYZMnQZW9B7UzO+VdghXVln/rtiqyL8aCIU+FZ8GM7Y8PC32s9KUIO/rFA2 B66pP0ZflMAj6LNG0gKqAkbe0YKKfD5nNfpmke2S/9CRATeQECqnXmPJRihyolugaRfa RtCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=UvVpQtvY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id e20-20020a63e014000000b005c16f26b1b4si9678054pgh.440.2023.11.27.08.22.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 08:22:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=UvVpQtvY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 104928062082; Mon, 27 Nov 2023 08:22:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234067AbjK0QWL (ORCPT + 99 others); Mon, 27 Nov 2023 11:22:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234001AbjK0QVw (ORCPT ); Mon, 27 Nov 2023 11:21:52 -0500 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52743DE; Mon, 27 Nov 2023 08:21:50 -0800 (PST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AR9Kn2s020532; Mon, 27 Nov 2023 08:21:39 -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=kOtadE82wwPJ4D6Q4wg4bsRXrZgUe/TOuvjciDl+/L8=; b=UvVpQtvYFUtLmFhMM1OXebCY+KeD6ZB72sQ6G8pqqyJ8Psiy2Bymt5D7Mu9N2cke0rME zSM8wNkHYQ78Qa1HDuxkDDIs7B0n4qYOBwPG2A4/+jW5cu5pN/lFC+BgddGQWsXj6iY6 catnnTbxjOiN2TtD0UTOK3Xo4dokhXhT8m27UH4XWcmtASwSB8B+TXZljy7EfKeVh8KX sTQzwsuOFHiDhnu9ccCDVduOM2LiGbBsQulnr4WEc9fCuyBD3G8o+giwY9dhoWN2sNRw x+PpWu5jY652NEIUqUynk2BXYL4nZbe8+uETm88NFiOw77LTaxTcJTUpuNZKeg9dWX8h Xg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3umrcu99ry-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 27 Nov 2023 08:21:39 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 27 Nov 2023 08:21:37 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 27 Nov 2023 08:21:37 -0800 Received: from ubuntu-PowerEdge-T110-II.sclab.marvell.com (unknown [10.106.27.86]) by maili.marvell.com (Postfix) with ESMTP id AEE5F3F7055; Mon, 27 Nov 2023 08:21:37 -0800 (PST) From: Shinas Rasheed To: , CC: , , , , , , , , , , Shinas Rasheed Subject: [PATCH net-next v1 0/2] support OCTEON CN98 devices Date: Mon, 27 Nov 2023 08:21:33 -0800 Message-ID: <20231127162135.2529363-1-srasheed@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: mzNhK5v1MrKQFTaEssXb8CtvXOQ8ixeA X-Proofpoint-ORIG-GUID: mzNhK5v1MrKQFTaEssXb8CtvXOQ8ixeA 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-27_14,2023-11-27_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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 27 Nov 2023 08:22:26 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783734890028118418 X-GMAIL-MSGID: 1783734890028118418 Implement device unload control net API required for CN98 devices and add support in driver for the same. Shinas Rasheed (2): octeon_ep: implement device unload control net API octeon_ep: support OCTEON CN98 devices .../ethernet/marvell/octeon_ep.rst | 1 + .../marvell/octeon_ep/octep_cn9k_pf.c | 24 +++++++++++++++---- .../marvell/octeon_ep/octep_ctrl_net.c | 16 ++++++++++++- .../marvell/octeon_ep/octep_ctrl_net.h | 11 +++++++++ .../ethernet/marvell/octeon_ep/octep_main.c | 4 ++++ .../ethernet/marvell/octeon_ep/octep_main.h | 1 + .../marvell/octeon_ep/octep_regs_cn9k_pf.h | 4 ++++ 7 files changed, 56 insertions(+), 5 deletions(-)