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 61CCA45EA2; Sat, 14 Dec 2024 19:09:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C99640DD3; Sat, 14 Dec 2024 19:08:59 +0100 (CET) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mails.dpdk.org (Postfix) with ESMTP id CAB3B40274 for ; Sat, 14 Dec 2024 19:08:55 +0100 (CET) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-21619108a6bso20978245ad.3 for ; Sat, 14 Dec 2024 10:08:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734199735; x=1734804535; 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=nBO1Jgda6qA+Bmxvg8+0ksyWj8hZfJ50YfZKZ5QzGe4=; b=XQYjbsS5ZMvIckkoWLh1WGu/cbtL7xrrOKt1nIRnozF5Jx8gWy1FgnyCN4gQpXDujE cQGHFYHdf/5VRsqNG4yvliH1WDvQVLI6cr/LUsP08X+I97uIU8Czv1IM4ueQjGc2gm97 pW0ppn1Ajbb/O0XZs8rBvc9+/OJ6HdylFOxpzAPmvpHwgCmjhYgXUTLtZ7Ca/RByYNVX DTlnnRUcOM7twp4pg8s9TgfSvgahAxCbK/08Ei/hW5b9xy3IqvRZS8jxja4qQrBZqJuP 1EMpkIeyhBYh3e1tvjGyGh41upZZCXtJtNOufaAkaf5cYsR9GacdwvbYnOW5R5k6RSY1 0qmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734199735; x=1734804535; 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=nBO1Jgda6qA+Bmxvg8+0ksyWj8hZfJ50YfZKZ5QzGe4=; b=LnDa61m0RpnTYx+DP0EJCGxfZFhsfItjP12HFUH0ohJrXch1I4zlS+lOG+OqRRkf22 B1PKrKYFc0qf9W+vV9orUxaNdE9irVvgF5y9tdercerSgkZIAxuSN7uenZtJ8dfRRVtm BKii/FXh8oUjzuG+EhCpyeJVXhrYzu3QS+LCG/jiMHUNLujIHOuqsL2LAUIWv9WCpcuJ VjHI5JFUB2PoGfai8v85yoi3JpiorJLjOpOp1Rtes71Z821FBDDhsZC/O3756G8M8h+G MiQy0wo1HImns+49g8zccIWe822NNE7bQSjf4Vn0rxkA3CbX/gahA0SmhywoyVJSUmaj yAbA== X-Gm-Message-State: AOJu0YzrB4xPhIefjUODDGlkFnwAWSxsFBfQ9Q+SUi4aDIKHQ0f0l0pj s41OewDYKwQFmYNrXGhndgsH03r3QZEdybMN8aOjmBTgCAz2mUoHYQ6q4u9P01wq2xoASGdnhRr b X-Gm-Gg: ASbGncuVMcXWkvtHr2r3Bc9uPA0ebStV8lmQ1GpLWssRrNp7Ad9mbKfUbgDPbAWBZSL nYgKtsnIa7ySSjjBFmEnQTF0ClA0gkxSqO/uUzx7qYmt3d6tvW1GSxD3X8U3t4EXHHXJna6EOEZ Uk4j7sHoiZBTUcwKJdcfOpHZb+gfSWYzED1p3/Vrz8BkCey6Z6Jkx8mzX50let064oPRt0UpWNQ Sof+38K92ECs2edANIWb4G9FaogBfjuCkZr7JMPiBYf1VwoXiafmLzoREJy7qNNEpO4CQ1A1DGO D72OdtaLdibQI76pBcf7VCrr3QE7JJaupg== X-Google-Smtp-Source: AGHT+IE4rI77UpszWJmgikoVfqMFuLuZTkAMhK+5zz6zDMNtepPAdwQ7w6tOJoHeRSwkIB1rUY8rnA== X-Received: by 2002:a17:902:ea0c:b0:216:4e9f:4ebe with SMTP id d9443c01a7336-21892a22731mr104231755ad.42.1734199735009; Sat, 14 Dec 2024 10:08:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2024 10:08:54 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH v2 2/5] net/dpaa: remove unnecessary deferred start check Date: Sat, 14 Dec 2024 10:07:33 -0800 Message-ID: <20241214180843.6662-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241214180843.6662-1-stephen@networkplumber.org> References: <20241213214929.817688-1-stephen@networkplumber.org> <20241214180843.6662-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 This check is now done in ethdev layer. Signed-off-by: Stephen Hemminger --- drivers/net/dpaa/dpaa_ethdev.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index e8d34e5898..ce4bbbb8f0 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -1089,11 +1089,6 @@ int dpaa_eth_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx, return -rte_errno; } - /* Rx deferred start is not supported */ - if (rx_conf->rx_deferred_start) { - DPAA_PMD_ERR("%p:Rx deferred start not supported", (void *)dev); - return -EINVAL; - } rxq->nb_desc = UINT16_MAX; rxq->offloads = rx_conf->offloads; @@ -1399,11 +1394,6 @@ int dpaa_eth_tx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx, PMD_INIT_FUNC_TRACE(); - /* Tx deferred start is not supported */ - if (tx_conf->tx_deferred_start) { - DPAA_PMD_ERR("%p:Tx deferred start not supported", (void *)dev); - return -EINVAL; - } txq->nb_desc = UINT16_MAX; txq->offloads = tx_conf->offloads; -- 2.45.2