From patchwork Fri Aug 18 17:45:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 130533 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 5876E4309A; Fri, 18 Aug 2023 19:47:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D94EB43276; Fri, 18 Aug 2023 19:46:56 +0200 (CEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id 5066F43262 for ; Fri, 18 Aug 2023 19:46:52 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6889078ee66so1003355b3a.0 for ; Fri, 18 Aug 2023 10:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692380811; x=1692985611; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6IDHGalblq47mylxPUD5jx9nzP3jR3zvYuVOQ6+xW/A=; b=eXUcUp+NRoj1N+TC2eIn7o2TcsvCGDKXIUHx3pCFbpri54KCUAgbuesDr+qaDhR71b NhQGDTNmYLPFgvKpd4PpgFU9gPlaEGI0fGA2KpdQzE2FAAMfchCch20T1i85BHXwCTSS zByOYbFB41MFcPo1GRaJFeJfYQdA+9hNlIiOiEAhJRia/Q/P81dHTaR/9Ffn3JxCVGiy Gw++ddieOPL0L203Sf5CSQV8jvy+m5rASN0vy5kRmt4fu6Pssvgna8eodUBnANF+s2lk uiJ7aE6r1BTprNgyObbgSA8Sl9abS+93/wiZhiAidMj4qW5CR5FtYsMkgJLRmNlcmbiG jC5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692380811; x=1692985611; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6IDHGalblq47mylxPUD5jx9nzP3jR3zvYuVOQ6+xW/A=; b=UtU1fYk6Fw8RegUlo9NZ5qevQeQazBcErscJdGjmLJndVHM10ug6tnj4dTY3kaCb1N pZ8uAo1A+EjsHjS6ekJe43+7DidB3lFmdOPxQA5fiRomGH0dEQKgfFvdLdPt4jmPcrWO dxfKVcALnmafy2H+ibgQaYW8NxSULHZ4AWHMPNEh4L+BzfojQGDUkFKMZgi3tn/Xmr+7 HW5u5kxMtBF6cpiI1nYZQ9kDy+oZy/iM53YHJI5tb3MAGxK/qOGfR3h1DljAecynE8kp H85kTUbJEJKMiU24+oYiihs7fNMZNrY17jo5Wz2D7MVX4esSSr5Bi1b6AnQt2t1qk3hC 3PXQ== X-Gm-Message-State: AOJu0YwKqvTLwryltDQPrnWM1oBi2GwrOn+CJRo6xUqRf6EaYJjQ3mCM zFYUgfPx4j3rv3a/SbJ+RIXiuWc3Wcg882JWmKCkRQ== X-Google-Smtp-Source: AGHT+IGetw43ms68jRFpHdifLlkFqnfk8/aTdbqN0ClYzecwQFAwVBF8Cc1gv6QPWnY5oeKmvcsXqg== X-Received: by 2002:a05:6a00:22cb:b0:687:2d68:f30d with SMTP id f11-20020a056a0022cb00b006872d68f30dmr3867231pfj.23.1692380811266; Fri, 18 Aug 2023 10:46:51 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id u20-20020aa78394000000b0066a2e8431a0sm1804610pfm.183.2023.08.18.10.46.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Aug 2023 10:46:50 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Andrew Boyer Subject: [PATCH v2 08/13] net/ionic: remove word aborting Date: Fri, 18 Aug 2023 10:45:32 -0700 Message-Id: <20230818174537.290222-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230818174537.290222-1-stephen@networkplumber.org> References: <20230818025249.33994-1-stephen@networkplumber.org> <20230818174537.290222-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 Since abort is on the Tier 1 list of words to replace; just remove the unnecessary part of the log message. Signed-off-by: Stephen Hemminger --- drivers/net/ionic/ionic_dev_pci.c | 6 +++--- drivers/net/ionic/ionic_ethdev.c | 18 +++++++++--------- drivers/net/ionic/ionic_lif.c | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/net/ionic/ionic_dev_pci.c b/drivers/net/ionic/ionic_dev_pci.c index 5e74a6da7149..aec76b6f0024 100644 --- a/drivers/net/ionic/ionic_dev_pci.c +++ b/drivers/net/ionic/ionic_dev_pci.c @@ -43,13 +43,13 @@ ionic_pci_setup(struct ionic_adapter *adapter) /* BAR0: dev_cmd and interrupts */ if (num_bars < 1) { - IONIC_PRINT(ERR, "No bars found, aborting\n"); + IONIC_PRINT(ERR, "No bars found\n"); return -EFAULT; } if (bar->len < IONIC_BAR0_SIZE) { IONIC_PRINT(ERR, - "Resource bar size %lu too small, aborting\n", + "Resource bar size %lu too small\n", bar->len); return -EFAULT; } @@ -84,7 +84,7 @@ ionic_pci_setup(struct ionic_adapter *adapter) /* BAR1: doorbells */ bar++; if (num_bars < 2) { - IONIC_PRINT(ERR, "Doorbell bar missing, aborting\n"); + IONIC_PRINT(ERR, "Doorbell bar missing\n"); return -EFAULT; } diff --git a/drivers/net/ionic/ionic_ethdev.c b/drivers/net/ionic/ionic_ethdev.c index 340fd0cd5923..2eee70d226dd 100644 --- a/drivers/net/ionic/ionic_ethdev.c +++ b/drivers/net/ionic/ionic_ethdev.c @@ -1030,14 +1030,14 @@ eth_ionic_dev_init(struct rte_eth_dev *eth_dev, void *init_params) err = ionic_lif_alloc(lif); if (err) { - IONIC_PRINT(ERR, "Cannot allocate LIFs: %d, aborting", + IONIC_PRINT(ERR, "Cannot allocate LIFs: %d", err); goto err; } err = ionic_lif_init(lif); if (err) { - IONIC_PRINT(ERR, "Cannot init LIFs: %d, aborting", err); + IONIC_PRINT(ERR, "Cannot init LIFs: %d", err); goto err_free_lif; } @@ -1144,48 +1144,48 @@ eth_ionic_dev_probe(void *bus_dev, struct rte_device *rte_dev, /* Discover ionic dev resources */ err = ionic_setup(adapter); if (err) { - IONIC_PRINT(ERR, "Cannot setup device: %d, aborting", err); + IONIC_PRINT(ERR, "Cannot setup device: %d", err); goto err_free_adapter; } err = ionic_identify(adapter); if (err) { - IONIC_PRINT(ERR, "Cannot identify device: %d, aborting", + IONIC_PRINT(ERR, "Cannot identify device: %d", err); goto err_free_adapter; } err = ionic_init(adapter); if (err) { - IONIC_PRINT(ERR, "Cannot init device: %d, aborting", err); + IONIC_PRINT(ERR, "Cannot init device: %d", err); goto err_free_adapter; } /* Configure the ports */ err = ionic_port_identify(adapter); if (err) { - IONIC_PRINT(ERR, "Cannot identify port: %d, aborting", + IONIC_PRINT(ERR, "Cannot identify port: %d", err); goto err_free_adapter; } err = ionic_port_init(adapter); if (err) { - IONIC_PRINT(ERR, "Cannot init port: %d, aborting", err); + IONIC_PRINT(ERR, "Cannot init port: %d", err); goto err_free_adapter; } /* Configure LIFs */ err = ionic_lif_identify(adapter); if (err) { - IONIC_PRINT(ERR, "Cannot identify lif: %d, aborting", err); + IONIC_PRINT(ERR, "Cannot identify lif: %d", err); goto err_free_adapter; } /* Allocate and init LIFs */ err = ionic_lifs_size(adapter); if (err) { - IONIC_PRINT(ERR, "Cannot size LIFs: %d, aborting", err); + IONIC_PRINT(ERR, "Cannot size LIFs: %d", err); goto err_free_adapter; } diff --git a/drivers/net/ionic/ionic_lif.c b/drivers/net/ionic/ionic_lif.c index 25b490deb626..1944205428bc 100644 --- a/drivers/net/ionic/ionic_lif.c +++ b/drivers/net/ionic/ionic_lif.c @@ -1045,7 +1045,7 @@ ionic_lif_alloc(struct ionic_lif *lif) lif->kern_dbpage = adapter->idev.db_pages; if (!lif->kern_dbpage) { - IONIC_PRINT(ERR, "Cannot map dbpage, aborting"); + IONIC_PRINT(ERR, "Cannot map dbpage"); return -ENOMEM; }