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 0A8D945E94; Fri, 13 Dec 2024 22:49:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C5F3640E39; Fri, 13 Dec 2024 22:49:45 +0100 (CET) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 6D0ED40E1B for ; Fri, 13 Dec 2024 22:49:43 +0100 (CET) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-728e3826211so1886426b3a.0 for ; Fri, 13 Dec 2024 13:49:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734126582; x=1734731382; 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=gKrKbVV7sUCfGq/cgetdxXD4BOH2WHxIzUrge8lPQxn4o1jtzPTObVXY1IB+3Pk4s3 J9ZeEe87UUr4lVWBEBHHQj6DY29YIq0sLzjc3OtochIrNSp2AAYIzpEJnzQSqLHyrIon HKtEAHROJTsTBMudIlarEsWZKtQYZBSnUHscFZpDHY+IpQiwBIlsGqzP7WKB/t8DIZTh z3TARXCJJCHZv4qHvFHLTzFVapT9gKW2hesvHVKjotOvFWObJR0tIi8OBpFro2ToQtEF T53pw+osDWuJkk4v6sycNPSLrlayh5BHZvjRW8PYWeU9j0XvGIBP8c8tstznvvItEVrL BYjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734126582; x=1734731382; 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=uFhO67HuXs+nUOAco0TqdX3fkE/lb2jI44xGQLbWjxz3tqXo89kgQhZr/J/kKlGfZP NE6Uy6lUYFxconCksqwBzK0cMn8veueL3pzWlCsv0i4CA9+W7yEKC5Ds0P4aWbGPFARB 0buOKEH1cYka08JpFdKnvs3rNhKHvoYe/dGpB8IszCKpsUNP0Zwq0JVO4CrM3s81GBbF 1VXONFuLYDJnUifOEVKvtNr4ZG4G+vTlRI1L/id+GYvUOEmSHmn75EFSB2DQRat05Er4 blepRsiyIQJmkNgiMvn58Z+JP04/D1FfzdANceeML9SkHPy7AR03gqL7asIk+X7uj63W EvXw== X-Gm-Message-State: AOJu0YxYgI3O2eGa0QokRT2koDRQT9GshJa2kuqjye6c23LRhbfu6VdD uT66i9ZcvI8bwH4PKfI392QFdKUt5sAfyTKhHGXk14YwmYUkXMrFkAPjUySCPUFLB6VbP0el2GR 8 X-Gm-Gg: ASbGncuDr64seVTddHHtC1TjNUmlfjr6hH6R2kiVN04PxJl7+RGp7uRq5bVblT3/Jjm 0+0lu/F92rbdbBDM20MUGk2Q0NDudcQgXLPKJZ8SEsrz9fWHK/C8OwTWDz+nV+33iufRtc/yBZa dlI4a7wOuusg5XvzLvjZXnBwU79Ytvq3xsrgo+95wAThaaZRMx1gDFddtnhr10ylA998F3Rgoft vzTz0Hrwd2RAuJBxzko81IYt5bt83g8zBNcoQYgvFZFlH+pIa/BhtgQmFOkEjM5lyrEFPhMZidy Oc/hVX0FX2mDyhTRswNgF4Ay5zst/7OFJw== X-Google-Smtp-Source: AGHT+IFtVQHOrjS0rsCeeKf+orORGh0aTtm61UsqQ11SpmCzqS4aTn0P9j/sRbsPeFu+IwAe8fRzVA== X-Received: by 2002:a17:90b:2e8d:b0:2ea:3f34:f190 with SMTP id 98e67ed59e1d1-2f2901b339bmr6184957a91.25.1734126582306; Fri, 13 Dec 2024 13:49:42 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f2a2434adesm282596a91.38.2024.12.13.13.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 13:49:41 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH 2/5] net/dpaa: remove unnecessary deferred start check Date: Fri, 13 Dec 2024 13:48:15 -0800 Message-ID: <20241213214929.817688-3-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 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