Message ID | 20231023114449.2362147-1-srasheed@marvell.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp1234911vqx; Mon, 23 Oct 2023 04:45:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGDI4D65oA8FxEEu2OZlg+9pNvZO9D3Ulq2fVbHUcDU0WJTjkNZaKpcCPDYG+eMTSXfHaru X-Received: by 2002:a05:6870:6710:b0:1e9:9179:4c6f with SMTP id gb16-20020a056870671000b001e991794c6fmr12033386oab.49.1698061550432; Mon, 23 Oct 2023 04:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698061550; cv=none; d=google.com; s=arc-20160816; b=PnQPVnGeFwG5y8pd1PN4MwZwfPtbGyXuOpON1n/NjBltuaSFcw4tXt/TgTj2SlQXtV Ekz2wd+olh1h24mzTwXLOAkN6uGvG7yxjmhW9z4Fo+Nl2+IXPV6DAj2y+D55fU2Ygdrq tFQlG684pjFVZyl+8S3b2SoF5F0GLRwbLgT3RkQ+UBsHONM6kcwjCxgpaTZDQJH7Cjhw O9U7uiYRYeihxOza3BUagymBv7UX4ADIB0df3t6OjtuxsrUGG82bB6rGpqhkleiCeWZm mvIz+v2uKcTkn/lcDOKQjn4wug4kt/xzk1bg8pI9/dXRz8+snhXhIiQ2yMb5LZKijHBX DAPA== 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 Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id i30-20020a63585e000000b005b8857bb156si5101040pgm.463.2023.10.23.04.45.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 04:45:50 -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 C9983807E42E; Mon, 23 Oct 2023 04:45:47 -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 S234504AbjJWLp2 (ORCPT <rfc822;aposhian.dev@gmail.com> + 27 others); Mon, 23 Oct 2023 07:45:28 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <srasheed@marvell.com> To: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: <hgani@marvell.com>, <vimleshk@marvell.com>, <egallen@redhat.com>, <mschmidt@redhat.com>, <pabeni@redhat.com>, <horms@kernel.org>, <kuba@kernel.org>, <davem@davemloft.net>, Shinas Rasheed <srasheed@marvell.com> 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: <linux-kernel.vger.kernel.org> 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:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780546588261655142 X-GMAIL-MSGID: 1780546588261655142 |
Series |
Cleanup and optimizations to transmit code
|
|
Message
Shinas Rasheed
Oct. 23, 2023, 11:44 a.m. UTC
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(-)