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 4B64245EC3; Mon, 16 Dec 2024 20:13:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DBAC402F2; Mon, 16 Dec 2024 20:13:41 +0100 (CET) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id AC84C402D0 for ; Mon, 16 Dec 2024 20:13:37 +0100 (CET) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-2163bd70069so45890315ad.0 for ; Mon, 16 Dec 2024 11:13:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734376417; x=1734981217; 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=jw4EnPDGckuauzRssF1VbDXGDSZUGQsztcPaLUS2wNvlwsPjLSQdnHL0JvZUmv5sBs 6adUWcnKm5SKi6gv9dRDw6EIAYQbDV8irnAxeghn2+kzjxoFUQa1wgBoB6/HB6Wo5Zba fzA9iPmw3vM7m7B1EqOgs89/h4w10T0Zk2wSDyLymPX4GPZoHJzUI9VyjpTr8UKu+u1b 0YMtnkADO7iDXIT9zIBm6S8lfj2hF1GhDNsEVETbE8qLRMKvvbZhOs3uz8+ZvmLKV7qA JL3POoDHAaSLb74uxYWuS63cIlUeFFfANu5gncjhT0dFOrjmyuUrB3fQHEK8tNQ/b4uR GLvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734376417; x=1734981217; 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=u18WTlklvztAQVem1tGWnvFMaDspozoQAGIIyOlAih5uv4T8lcnNxo6DDfjNPDxYU7 EMKJHPkoMitf01Xuy1VV4wIGbP1S4zfgzFjZdL2xhJcN67pyJB+zNmloTcsu4MvNx3P1 IncBVPUijUH2OKWN1QyrYqw6bb5xLuMyCkozLoysHXqRxrxqB+IKe8+tibDTb43o/yx7 g14lRVM1XLVWSvyXll9bYSyB7yUXVWReX8qpCfKb/aezEaSCWEJ/7i3bUVosuIuauMVy u8D54bYRvyXRuPAiGFa97BJVFaZuuk7JKbYR9E29aBx9ZrrtIp8yKHmpQced2a+b9Wg8 n9xA== X-Gm-Message-State: AOJu0YxnUojUOtv/RyDK3POXqygYn2iMWC1Rm1SIT3YuUuGPaQh0TvDH q9tTiE3AUqGO/5dwOEMYTC69vDnXtGRtO1i/KqhVLFWe7XmP9Kqc09mr5yOEkTFzB9KIjqBD+W5 FBzI= X-Gm-Gg: ASbGncsIFZYBz/IIKhpUZwCP9nCQjCgi5RW2q3gJ7KsgdBpqAfYsGC6OSsse2JFw7oP kcTSIgAPKalIMD7wCjNNhvMvOpF9hkq74CKeZrcA/HbeKPxnnfJ+GjoxtjGEyz2Rrdz0EYcbknF 2O3YBzWWtokrt0dBi+JAIeIOmtB4twidi6kg0JFF8oUL56KmjIHWZU5itNnqxQTFo7X5OBdLQ/v +TiCyBHO2Ala0oBEpLNPhrtOrLTlLYZ6qvniw7gLaf6+rFFl9CGx4hkevdqLD/9HbH1WEFdyge0 FeMVEeA6wDhob79fM7/+bd/5g+F/4Sr78Q== X-Google-Smtp-Source: AGHT+IG9vNN8OeA3cUpSIXNIrMBDP0FmxWVKOBuNHlidhAaentr+CHgei2nI2OaQQC1ymLXZUkRDwA== X-Received: by 2002:a17:902:da84:b0:215:7fad:49ab with SMTP id d9443c01a7336-21892981496mr223172695ad.10.1734376416778; Mon, 16 Dec 2024 11:13:36 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-218a1e6c6d2sm46413865ad.255.2024.12.16.11.13.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 11:13:36 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH v3 3/6] net/dpaa: remove unnecessary deferred start check Date: Mon, 16 Dec 2024 11:11:35 -0800 Message-ID: <20241216191323.75753-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241216191323.75753-1-stephen@networkplumber.org> References: <20241213214929.817688-1-stephen@networkplumber.org> <20241216191323.75753-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