From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 00CC145EA2;
	Sat, 14 Dec 2024 19:08:55 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8A1664025F;
	Sat, 14 Dec 2024 19:08:55 +0100 (CET)
Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com
 [209.85.214.182])
 by mails.dpdk.org (Postfix) with ESMTP id 88FD04025D
 for <dev@dpdk.org>; Sat, 14 Dec 2024 19:08:54 +0100 (CET)
Received: by mail-pl1-f182.google.com with SMTP id
 d9443c01a7336-21644aca3a0so32759365ad.3
 for <dev@dpdk.org>; Sat, 14 Dec 2024 10:08:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734199733;
 x=1734804533; 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=B04MZ4waxFl3M3SL4ye1iYzuCTbMDrjnTGus1VUVnqM=;
 b=l6MYp1L+rN/HOhNb90LgxuSJvLxYpN/oD/sZjUXg+rburKpMfL5UxfbXVkP5cZOD5+
 NUyyu/kHcbmFIYRSjmbQqZdXVTxywxIurIUnG/Ui2NloEIVglpENXgQLR+RlCDmxai3g
 4O9OWsW4cOa8IYcwLDCjrKxkSK4TwkFVbL5+gAWyN0tm2YGEGsBC8+Eqyge0LjKnhPHe
 wcpUNR9EsF7w5xrj9rfKau6jWhZNjqYbMLXeAXZZQ9WR8fyhGsSoFQDOxkNsYlGL/fVF
 ETeUTtxCZ7+rj5QKQHgJ+iTaPSj4c+74p0ZxnKTl2+TG7G4gCYzlPuLbM2iePjp2Pfic
 oOIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734199733; x=1734804533;
 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=B04MZ4waxFl3M3SL4ye1iYzuCTbMDrjnTGus1VUVnqM=;
 b=RrcEdURoLIkjOb2r77zz22pvq7QPG/2XnDWILWWiXRLD3RCilR7R/YsmRwvk6FDxdP
 MRHzuaP9kZrh3ZowBn+bC26mG2xYugOE3j2kDt3O46XsyC19+9/Y+usxpw+WwvED/SRp
 0bjxTCJhWPboNIwhShV8cEgN2k6yrWlIvo09DK57LFK7Fx+CWicQPFxJJyxo2wmxhrwQ
 YPKTwCaMLGVjlm3fpZ27bzyVumGc/ZmntXyXbb5WmTHMr3qlqoRUeZispTiVApwbEsJm
 l8SBlbcFHirvOVx7JE+PGkR7Q+JDyXRDkVWTqaNx6SMTKxaFbVlTlD2okPba2noVpK4x
 0DVQ==
X-Gm-Message-State: AOJu0YxGPWUHXxHpt+Uv8Jd3Uqnrr3djWYpx1SO+bvUOEpz32Ad6Qg/5
 BJuRNuJVUnQVUOO0Opb4A/yOTqecFRIFS3IwifA3Y6UrziQ9fMkWIwMM2PR+h3shERuF8yxCPtH
 N
X-Gm-Gg: ASbGncv62nX86XmEL3PnS5K/67cAAj44Icl+wi+QTn5InTGiYq5CW5GvnNAKF8LiHBt
 0xJkfNuhyzibi7D2xFgie1emJOleiWQHTPwUBnQWZaFEP90FWCnK7KcLNsPxQKvkOcwk+ZiUQyx
 sXtdTakqF0m5aOtAIgmMkKBYfGo9c18rLq5GIX7DSwb4RcOh0/GfJ6OLEQJ4tRgWjugykunPpCs
 1aY8JdjZwZ4kMqEYv6KfhgrqJouxWU4s5y2RItY6KU2dSlcFXwJMiywjviTzQ7fumyTlF4i7Fm5
 LT7qj8zISAqJQah8Zhx7QKrLMPhqMMtzyA==
X-Google-Smtp-Source: AGHT+IEp9Y72w9yFiUat+LxOtSCG6s99VRcwbZy+oxWMcSOicm34WJVoNSsGfQG4xQxAnfrSZv+TXQ==
X-Received: by 2002:a17:902:e801:b0:215:603e:2141 with SMTP id
 d9443c01a7336-218929b7999mr105297215ad.19.1734199733388; 
 Sat, 14 Dec 2024 10:08:53 -0800 (PST)
Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-218a1db755dsm15341355ad.42.2024.12.14.10.08.52
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 14 Dec 2024 10:08:52 -0800 (PST)
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH v2 0/5] add check for deferred start to ethdev
Date: Sat, 14 Dec 2024 10:07:31 -0800
Message-ID: <20241214180843.6662-1-stephen@networkplumber.org>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <20241213214929.817688-1-stephen@networkplumber.org>
References: <20241213214929.817688-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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

Recent zxdh driver review raised the question of why should
drivers have to check rx_conf for deferred start support.
This can be better handled across all drivers at ethdev level.

v2 - annotate now unused conf pointer in enetfec

Stephen Hemminger (5):
  ethdev: check that device supports deferred start
  net/dpaa: remove unnecessary deferred start check
  net/dpaa2: remove unneeded deferred start check
  net/enetfec: remove unneeded deferred start check
  net/virtio: remove unneeded deferred start check

 drivers/net/dpaa/dpaa_ethdev.c    | 10 ----------
 drivers/net/dpaa2/dpaa2_ethdev.c  | 14 --------------
 drivers/net/enetfec/enet_ethdev.c | 16 ++--------------
 drivers/net/virtio/virtio_rxtx.c  | 10 ----------
 lib/ethdev/rte_ethdev.c           | 10 ++++++++++
 5 files changed, 12 insertions(+), 48 deletions(-)

-- 
2.45.2