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 74BF845EC3; Mon, 16 Dec 2024 20:13:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D11F40609; Mon, 16 Dec 2024 20:13:42 +0100 (CET) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id 6F43D402DF for ; Mon, 16 Dec 2024 20:13:38 +0100 (CET) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2165cb60719so35045155ad.0 for ; Mon, 16 Dec 2024 11:13:38 -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=VUjUvm7L+gEzYBIc4uKyon3+fsEBgbHKL7gZCbfWBcM=; b=GgpBR7q4iAq9brMv6CDnGkmhbbtunAcgmtUgKlT1GgxZRv0v8dyqI/1kGp36B2UhuT 3h6yHf141oeAwgrYNqnNtqDMrbf6hwgF8SnHFPBxWO5KqARLEPIyy7/U858Tdmtw0sVO s0FN19EhhesjTIi2TzbktnyqCQUclUca8FiB0s/99tTRvXZPMWUor7wCTNbyXkoDuspP CEw8mBAvCS1+xZzKDpVh8w7ClBMGfVE0XPdClXy/4ZDqk7RknSJ3CscZRbOUSdVFm2sD lDgLnfX3ptsgzhruuIUysZovZ3LwDtKybKTyP/4tEYgOOdliOaTNHXxDh3w9DLfemcRR VKNA== 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=VUjUvm7L+gEzYBIc4uKyon3+fsEBgbHKL7gZCbfWBcM=; b=rDms7mAHfKI5ifig/wUaYycZfZ4axTlfIQolSzFk3zYO400qyw4qiv8fTmS8/DR+YD gsgtZgdJ3rdnW6V/lzUthzez6p4TocYuCmU2LqtiAwaHLwXeIQ106y4DVY8IGhXw9WgP EdrjO/xU/3nELJRHIIqGxUkVxWx6lTnJewhAMHy5B3hV8RsRRxi5+KJsWPFsCPjTHPP6 6fzaSNUrtYu2RumITs+IQMVJyop6Nnq/lC7OqOfyssA+cjLglwkKM9hjT+qJ7nRn6SGH CqZ95E0Qqu8SfGPgm39kBJfUSuAZjSB8vsQSTVQZqWv22qnlfUNwePjrDksOcYg18FgV WYFg== X-Gm-Message-State: AOJu0YxEH3W7OnRd3wNQ5an5mlZ/7qwwHJVj5A5Ra3HIfbnNvERRhf9Q UWmjxEFjl2xFF4QUl+kfs9debq4A6j5LZkxUwzDvQ3J3W4ml5h2SWju8FF4cOcFwdr5XlIKQhRy l39k= X-Gm-Gg: ASbGncuhdtAdXBHMa8wPeDJ7CvpalqPPhYUkzz0FCoN6frtcF0ahD8W/4JI3fAgUjcl aLYn82dQB0B3oEzEa9iMWWHUmrdlsjUzGVAnapufLaScVkCH1d9aDQctYg+a2cqaBRAW44SiHLr APK11/dMcZWMsuAC6OyR2FZ0Xd/bZin+fB/Im7lUm4OjPoUA1a9a1bLaD5jSc/aj3Ks3Vt6ipeI oeocBKWEHUQ0zsRtUYxC+1VAXH6QOidfMw4BBWti8jjbLUfcAfPc9iRylFxHE97XUAT6GTTJfbg 50F2prw5+nMpu1wVB2G4iMpBJu4/qtoNvg== X-Google-Smtp-Source: AGHT+IGh5sx28Rj9pTr94GZmeV51sJIjYyT7cBdkjvIxI/OGFWq/23Y+8/XRf6+OztMuLubdv1BKPw== X-Received: by 2002:a17:902:c94c:b0:215:a04a:89d5 with SMTP id d9443c01a7336-218929828b2mr187497135ad.2.1734376417591; Mon, 16 Dec 2024 11:13:37 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 11:13:37 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH v3 4/6] net/dpaa2: remove unneeded deferred start check Date: Mon, 16 Dec 2024 11:11:36 -0800 Message-ID: <20241216191323.75753-5-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 Already checked in ethdev now. Signed-off-by: Stephen Hemminger --- drivers/net/dpaa2/dpaa2_ethdev.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index a9bce854c3..8624bba0ce 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -726,13 +726,6 @@ dpaa2_dev_rx_queue_setup(struct rte_eth_dev *dev, DPAA2_PMD_WARN("To use Normal buffers, run 'export DPNI_NORMAL_BUF=1' before running dynamic_dpl.sh script"); } - /* Rx deferred start is not supported */ - if (rx_conf->rx_deferred_start) { - DPAA2_PMD_ERR("%s:Rx deferred start not supported", - dev->data->name); - return -EINVAL; - } - if (!priv->bp_list || priv->bp_list->mp != mb_pool) { if (rte_eal_process_type() != RTE_PROC_PRIMARY) { ret = rte_dpaa2_bpid_info_init(mb_pool); @@ -889,13 +882,6 @@ dpaa2_dev_tx_queue_setup(struct rte_eth_dev *dev, PMD_INIT_FUNC_TRACE(); - /* Tx deferred start is not supported */ - if (tx_conf->tx_deferred_start) { - DPAA2_PMD_ERR("%s:Tx deferred start not supported", - dev->data->name); - return -EINVAL; - } - dpaa2_q->nb_desc = UINT16_MAX; dpaa2_q->offloads = tx_conf->offloads; -- 2.45.2