From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B56EEA00C5; Tue, 15 Feb 2022 23:20:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C4B54115C; Tue, 15 Feb 2022 23:19:45 +0100 (CET) Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) by mails.dpdk.org (Postfix) with ESMTP id AC3094115D for ; Tue, 15 Feb 2022 23:19:42 +0100 (CET) Received: by mail-io1-f44.google.com with SMTP id h5so195707ioj.3 for ; Tue, 15 Feb 2022 14:19:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TqwNAVDLNxYMp9aLyEXriU4nBIcDQZcM2SLn8oPCsb8=; b=Swh+HLi9e0F1350/WSqVHAHYqWrUoJKCRzvAy/eMwpnwWHsORpf8D1XXUFubDRhNyd 9Whz2tr24BkU4B265a+ENYCEk6oQfE4h4LZduYJIGCegG7deASPWG5APG+0mZYcd6uL1 cmBuZhbQmejY7q2iQHs4E3hWD8iUpZkb3NYawyZNkF3OwRJue3s4YSeZH40s533CapCR uWE8ha+rJa4tamtvFAmzp8A56Sr1LXtP58zUI0XZ3F5spScyrH8ABvMy9Z87tcq/O9AL UkUJsFsk6M+cVGB21PscCqiBozT0PFPMtyK5vozyUu0qw8xxzto31MaQNp14rT/XjaA4 9HJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TqwNAVDLNxYMp9aLyEXriU4nBIcDQZcM2SLn8oPCsb8=; b=Q9sGSZJNHseuYTcbGD7+y/dkkACeZg03vIzwl53y2U9ocxWROMd5KUQ1w9awPMJlgz C4ZOzadJLU1FdxpxGivezCxXpo6F9dJfCts2PzVhEXoUfBcJKHGKUF0EA6tfGzV4O570 YkUoUuCb+IQDKmGrEHjO8vwO4g3fMLUaTeUjTvN4bnAR8/4Vrewo09eXn1Rxj+TuCgDA 6Txg7+FGtZKlKW0g27NHcH1CkZw7IC0GbYonBgYo0kar+q05w9iXwEdOYyN22Evyl1tp +0GQv6xIXbUj57ubYEOqqJyGPXd843h6oP9Z6nrPAeXe+FgFVAfHl4DLcYinnge3/aHx CiIw== X-Gm-Message-State: AOAM532Z0+E6KrQf+aRrDTNwIPDxaUTXe4kF7EZxnRp1Zd52nWhNmZji UqkGgTeJ67hP8NkW9+9U2Jq2LCrfok5lgw== X-Google-Smtp-Source: ABdhPJz6ZKRb4lJnrBbDuQFWP/tyjhRYtNzl3q1KUKEkWxS+zsQCwtmKsuBUQAncvmEenZp9NNA5yA== X-Received: by 2002:a05:6638:d0e:: with SMTP id q14mr634828jaj.291.1644963581923; Tue, 15 Feb 2022 14:19:41 -0800 (PST) Received: from john-All-Series.tds (h75-100-85-216.cntcnh.broadband.dynamic.tds.net. [75.100.85.216]) by smtp.gmail.com with ESMTPSA id a15sm10758823ilj.21.2022.02.15.14.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 14:19:41 -0800 (PST) From: John Miller To: dev@dpdk.org, ferruh.yigit@intel.com Cc: shepard.siegel@atomicrules.com, John Miller Subject: [PATCH v3 7/7] net/ark: add performance optimizations Date: Tue, 15 Feb 2022 16:19:26 -0600 Message-Id: <20220215221926.409039-7-john.miller@atomicrules.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215221926.409039-1-john.miller@atomicrules.com> References: <20220119191255.273988-ed.czeck@atomicrules.com> <20220215221926.409039-1-john.miller@atomicrules.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Added software register writes for hw optimization and performance fixes. Signed-off-by: John Miller --- drivers/net/ark/ark_udm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ark/ark_udm.c b/drivers/net/ark/ark_udm.c index cb3cf5c941..9ebed89627 100644 --- a/drivers/net/ark/ark_udm.c +++ b/drivers/net/ark/ark_udm.c @@ -33,6 +33,7 @@ ark_udm_stop(struct ark_udm_t *udm, const int wait) { int cnt = 0; + udm->setup.r0 = 0; udm->cfg.command = 2; rte_wmb(); @@ -71,6 +72,7 @@ ark_udm_reset(struct ark_udm_t *udm) void ark_udm_start(struct ark_udm_t *udm) { + udm->setup.r0 = 0x100; udm->cfg.command = 1; } -- 2.25.1