Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1161023rda; Mon, 23 Oct 2023 04:45:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEViDarQOQ6THM1QgGWw/30w0+Z+sIddEvhMV2gFpAl8kzC88nboQnSEpiId6QNh0cRg9D7 X-Received: by 2002:a05:6358:c3a7:b0:168:e9a2:6cb4 with SMTP id fl39-20020a056358c3a700b00168e9a26cb4mr414290rwb.13.1698061543493; Mon, 23 Oct 2023 04:45:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698061543; cv=none; d=google.com; s=arc-20160816; b=iAmXNMWiHmApEGtwSGHogAJYePnAyEb8cguWksKdOrR2Z6CYXN3sQPL3+r2pdLZllo KkQeXV2Ycyvhvg+CMf9W6w2MwsjfdBToKqcYxFW5DZfkhLsm5ysFaYqCf3tV4EQisUPD Go8+cwDveACGKwKSBZZeGCJaHnwrwP4SwmrkNKu3wspsZovmbNQGteYZEeJ1B1FqR0MD 5wjr5JwpWDzACVlMWF3cD4mSxb7MeBoYb2kwGpeG3LyVVapRH0T6yjA3IFhBDNk/ORI/ jAhgsc8y/eTlsxGfxazH02eiMgpWuJMk/IDvYlnbxXdoVwMkgoI84IJu2vYGO0CATHer iV4A== 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=JZuj+TXpGcDe4yHZ3tY3RfIizoyIL6N2Au+s/0qKWKA=; fh=v/yihDpu0bvh9UD6Q1AZUmxjDncPSzxTixkvmk86Dvw=; b=kdwizuFvXVhdo00HMM+vopBQeiGhFdjlOIOIBChHMu+52+Q9lOS8D8s0qetsbzQwun 5pLsH8CHnFV6um3hmDv8bNlwLCkWv+zRJsWAHIkDpUBbKtomNnW8u+Qw3FpuQ/4EJsV3 lpMwyXlFPOa27y+TJCP4FuG3fGsdevLJ48K+XYL0UCBhhvM3LD1HJVaKbtW9ferGudak HmJE2592gwbRzg8zj5xYXZ/tOyBHnQTYSJo3/kk6ON7HWUQ5XS4Q0oIPyYB99JXyOWoO ZYwV+MKMcCQs3JR1F7OT50QaT7AyHvEK8xc9wu1JoQGHgrCEhFv/2ChWgblo57HL8T3M liVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=Qb9rj7BA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id 22-20020a631256000000b005653e3f6d58si6161739pgs.748.2023.10.23.04.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 04:45:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=Qb9rj7BA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id CA3D6807DEDD; Mon, 23 Oct 2023 04:45:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234499AbjJWLp1 (ORCPT + 99 others); Mon, 23 Oct 2023 07:45:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234496AbjJWLpK (ORCPT ); Mon, 23 Oct 2023 07:45:10 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFEC410FB; Mon, 23 Oct 2023 04:45:08 -0700 (PDT) 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 39MLx6W5018223; Mon, 23 Oct 2023 04:45:03 -0700 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=JZuj+TXpGcDe4yHZ3tY3RfIizoyIL6N2Au+s/0qKWKA=; b=Qb9rj7BAgFA/wSh1bdCFc8och2zyh+iT20JP4cbawlGygB+lW8ythF3aVWignGHzbFKT cnTnt1tu5WFce9UEYEmcTg/SBbO+c8Jnuhm9FZBHODC5RXmx7CETEYBkYU0zE1oL37+i 36YtBjIzsYUT6du1u2PSLWuKV+Q1uKWLFwWBhRXraai8pVyZY+1/rSodZw5dCIO0U5ua pfFrT6v4XuF2EBOakT4u1eAdwd4qPa90afhWBcSwD5y8LB0kuYG1i3DWcN1F9HyPzRy8 Mwu7gc3koT0/2WgORJACDf3WJaElL/y0IRE3jIfGfPTnNacv7QFHWDzb8cB3Opfls7M6 Hw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3tvc0qp113-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 23 Oct 2023 04:45:03 -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; Mon, 23 Oct 2023 04:45:02 -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; Mon, 23 Oct 2023 04:45:02 -0700 Received: from ubuntu-PowerEdge-T110-II.sclab.marvell.com (unknown [10.106.27.86]) by maili.marvell.com (Postfix) with ESMTP id 395273F7044; Mon, 23 Oct 2023 04:45:01 -0700 (PDT) From: Shinas Rasheed To: , CC: , , , , , , , , Shinas Rasheed Subject: [PATCH net-next 0/3] Cleanup and optimizations to transmit code Date: Mon, 23 Oct 2023 04:44:45 -0700 Message-ID: <20231023114449.2362147-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: du1-BUYvZUFGhcxJZLcWYgghew067oG_ X-Proofpoint-GUID: du1-BUYvZUFGhcxJZLcWYgghew067oG_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-23_10,2023-10-19_01,2023-05-22_02 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Mon, 23 Oct 2023 04:45:41 -0700 (PDT) Cleanup dma sync calls, add xmit_more functionality and then further remove atomic variable usage in the prior. Shinas Rasheed (3): octeon_ep: remove dma sync in trasmit path octeon_ep: implement xmit_more in transmit octeon_ep: remove atomic variable usage in Tx data path .../ethernet/marvell/octeon_ep/octep_config.h | 3 +- .../ethernet/marvell/octeon_ep/octep_main.c | 35 ++++++++++--------- .../ethernet/marvell/octeon_ep/octep_main.h | 9 +++++ .../net/ethernet/marvell/octeon_ep/octep_tx.c | 5 +-- .../net/ethernet/marvell/octeon_ep/octep_tx.h | 3 -- 5 files changed, 30 insertions(+), 25 deletions(-) -- 2.25.1