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 5FAFC43673; Thu, 7 Dec 2023 19:57:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCB7442F2D; Thu, 7 Dec 2023 19:57:31 +0100 (CET) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id D207E42ECC for ; Thu, 7 Dec 2023 19:57:30 +0100 (CET) Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-5c690c3d113so999521a12.1 for ; Thu, 07 Dec 2023 10:57:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1701975450; x=1702580250; darn=dpdk.org; 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=gnW6H+Pm8ivRaTTkc72g7giQDOgjf3LGl/TUWgYnJUI=; b=An7b1fe3CXgnyLdDoSZHh+e0+YkmCdjLS9/WmTQBYu4kFf2WQUtKlpVrEmbWesSp3q B3z8vfm04y6IGcXG8IpG6DalDeD0VYLkTPEpj8jzvdx+bGamk3Jn/+6DZuogmGNjDzR+ BN4bcRkwbI8nNmEuVITFpFhh4cMDycfiE8F36OkbjeSB1IYIl8lrVVgupGrOsulLHizq PGFLOowsNw6O4iE2pHJr1Ph7u3WLl6VEqF8xE6GP9DV+ktUceyuGhpuuduHf5jwJ2iP4 QDDJvN1njQb+7+eHJhVj4YrYYJivV4x4y2GY76Zg7TDvR7RIXrt+73HJqVpt0pM9cU+i 2cnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701975450; x=1702580250; 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=gnW6H+Pm8ivRaTTkc72g7giQDOgjf3LGl/TUWgYnJUI=; b=I1J9G4Zg8Y0E64qHYt8G7n8VGxzE3tkGZ3gv2RtH4wJM80izsEap+hRxDrnJ+4zOir yJ7NyntFq7stcZ/Mo7yHEGlXEgw1BMhAN+IS2o4P7pqh1lS4T3DPJuzcvP3gZca2KnbP xUI+2mgJpbbDodI41hLTDqAu/Rhv8FGLGccNZzFet2ZBnaHFBH9JCiJb2elV09oJjIoD GrIq7aWN3ml0Q7zt16WyPhzEGNSrIwecOjgLHOSffvpF73JBmQ2yo0ZUQz8P32D1DulV IhvR4HErSdv3itf8vQR4hbaIbSfZnNLhslvTHMyBLzCRPxPpvIHILKOn7RvLweLMf0Mn 1XaA== X-Gm-Message-State: AOJu0YxIxB9aB9awASQP6fFaonyV5o/JaQoRzTZe1Jqou/Fuq/Q4zwCD U7ywy5R04zhgdrOx5C6yuRT1pwPymirTybSZZwjPEQ== X-Google-Smtp-Source: AGHT+IF6NHUDXeDnRZ0G4WFV+Q3aO1D22uEEXdjpR5Cly85/ezgDmjQd1R4ocxeVShUS+kFlEwTQuw== X-Received: by 2002:a05:6a20:3d06:b0:18f:e944:3d71 with SMTP id y6-20020a056a203d0600b0018fe9443d71mr2975458pzi.23.1701975449684; Thu, 07 Dec 2023 10:57:29 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id 64-20020a630043000000b005c65d432119sm105124pga.67.2023.12.07.10.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 10:57:29 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 0/3] net/nfb: driver cleanups Date: Thu, 7 Dec 2023 10:56:28 -0800 Message-ID: <20231207185720.19913-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231206175326.116375-1-stephen@networkplumber.org> References: <20231206175326.116375-1-stephen@networkplumber.org> 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 Replace static logtype with dynamic logtype and remove dead code. Compile tested on Fedora. Stephen Hemminger (3): net/nfb: remove unused device args net/nfb: make device path local to init function net/nfb: use dynamic logtype drivers/net/nfb/nfb.h | 10 ++++---- drivers/net/nfb/nfb_ethdev.c | 44 ++++++++++-------------------------- drivers/net/nfb/nfb_rx.c | 9 ++++---- drivers/net/nfb/nfb_rx.h | 2 +- drivers/net/nfb/nfb_tx.c | 9 ++++---- drivers/net/nfb/nfb_tx.h | 2 +- 6 files changed, 27 insertions(+), 49 deletions(-) -- 2.42.0