From patchwork Fri Jul 22 21:41:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 114126 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2C763A0032; Fri, 22 Jul 2022 23:41:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19E6342B8E; Fri, 22 Jul 2022 23:41:22 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 7C0D142B7B for ; Fri, 22 Jul 2022 23:41:18 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id w205so2153558pfc.8 for ; Fri, 22 Jul 2022 14:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZhXmHercO+XBHUh+Hlf+1mTPUWt/FA0Pm0VYXCeD8pY=; b=c3E6XwfXOeK0mGCMPkqBDp5OWiIFRurZqq7MjbnCCfKsfygv+K5lnPjCAZ7YvC+9Ny NePLF/pYMU5+UVhXxjJEL7/XMFyJLZ9+b5AAafbMOcNrPS95v/CqmKwvXVt8ZTt0z+bY LR4ZwmKAldZhG4vJbec/jXHyVEqlBhk3OTG3kOyXiZzG7a8IQFZyoosieD/wOa+0H0nI GDMrts7JH1Lh38Ha5Wr46VL2nXfueuYlqZmLdBBXrsuVmLoSjQTqQglwXniBHM8JMtBd OygpARXDOgp6Fg4SD6su7NQoqFZynnRk0BbnCc/2VhzWEAZknzzMI2W97jBpDuBI6/Mk j5pQ== 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=ZhXmHercO+XBHUh+Hlf+1mTPUWt/FA0Pm0VYXCeD8pY=; b=FT3YPoZqYfDckl/mSRTxPXqAR0dMqgw1hkeqiVHx7zjWyrh+JrE86jd3dpbR6sy17L gPV24aHkfBhwHboKqEZoGnNfkosFSCADBerDzL5ddOWmKm6VuNS7rBralink1CVYWEt2 zpC30s6a6OaJvpYCQWwNscwEBCZoCu/jpL53VMhUSSdyInHAodMnezJVsZYXRS2EE5nW d9bAZwWxbFzE3asse8jseZuAWDjSEAjx7evoepSNdSQquiqvx+uxY9xLfIzN3EavGVx4 Tccfbzq4XJCz7ZaClKhjumg/7IwuwcVIuY9zuylPa3KoiWsOr0qG1z+j0vkUeXbDHJI4 amWw== X-Gm-Message-State: AJIora/2K7JAs9ZeemvthIv+4e4naV+nOcnuMStJpvUl8Ws9gYzpmcp4 JlU/j+Mr4twNVpxrzRy+sEQGzufo04vCTg== X-Google-Smtp-Source: AGRyM1v+G5xeevGAAThHtXtDQ1VnIsTggF42Ob67WYG4mH2jyt6jmC4A1neNyVkkH0P8H+X3OMaRAw== X-Received: by 2002:a05:6a00:1705:b0:52b:120f:3656 with SMTP id h5-20020a056a00170500b0052b120f3656mr1941087pfc.34.1658526077456; Fri, 22 Jul 2022 14:41:17 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d3-20020a17090a6a4300b001e31fea8c85sm5945526pjm.14.2022.07.22.14.41.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 14:41:17 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Rasesh Mody , Shahed Shaikh Subject: [PATCH 08/11] bnx2x, pcap: replace only only Date: Fri, 22 Jul 2022 14:41:03 -0700 Message-Id: <20220722214106.162640-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220722214106.162640-1-stephen@networkplumber.org> References: <20220722214106.162640-1-stephen@networkplumber.org> MIME-Version: 1.0 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 Duplicate word in comments. Signed-off-by: Stephen Hemminger --- drivers/net/bnx2x/bnx2x.c | 2 +- drivers/net/pcap/pcap_ethdev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index 74e3018eab6f..29c16bb207c7 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.c @@ -5929,7 +5929,7 @@ static uint8_t bnx2x_trylock_hw_lock(struct bnx2x_softc *sc, uint32_t resource) /* * Get the recovery leader resource id according to the engine this function - * belongs to. Currently only only 2 engines is supported. + * belongs to. Currently only 2 engines are supported. */ static int bnx2x_get_leader_lock_resource(struct bnx2x_softc *sc) { diff --git a/drivers/net/pcap/pcap_ethdev.c b/drivers/net/pcap/pcap_ethdev.c index ec29fd6bc53c..bcb02ca0638e 100644 --- a/drivers/net/pcap/pcap_ethdev.c +++ b/drivers/net/pcap/pcap_ethdev.c @@ -1336,7 +1336,7 @@ eth_from_pcaps(struct rte_vdev_device *vdev, internals->if_index = osdep_iface_index_get(rx_queues->queue[0].name); - /* phy_mac arg is applied only only if "iface" devarg is provided */ + /* phy_mac arg is applied only if "iface" devarg is provided */ if (rx_queues->phy_mac) { if (eth_pcap_update_mac(rx_queues->queue[0].name, eth_dev, vdev->device.numa_node) == 0)