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 568D445EA2; Sat, 14 Dec 2024 19:09:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6E40140E54; Sat, 14 Dec 2024 19:09:00 +0100 (CET) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mails.dpdk.org (Postfix) with ESMTP id E3E0A4028A for ; Sat, 14 Dec 2024 19:08:56 +0100 (CET) Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-7fd49d85f82so2265543a12.3 for ; Sat, 14 Dec 2024 10:08:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734199736; x=1734804536; 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=Q6tAsUd0Ikm8srweSNJKK0XyCLRctakLZJf/HN7Yv40xNJ4AvY9e4g4Vv2aopeLIFn E06jno3cCpWyp+tIeTmIXAyPN0TE90jOZYYDMOluJo/is4dpmxtWjPO1wWFzuo33w76w Waa0QdDucN4HXo2Q/2ZMvZhqJ3arYnFuzG4Uu3n4xgQpnCFguf2JjU+hk5vrlmBJUaLa UweVI7677GaUpszzwSWnIjNM/npTmZbuc0I9sJZ24puRajFN1xcVspHwC22M3lgJ75dY 7vvW8OBuuTNe/z3j9KsTW7Mc5afGDRG4kHtnvgi9Le0XgW0umnGb2ddIvcll+6cVHAJs DQ1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734199736; x=1734804536; 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=mmf+amct8WlHBseMqTk2ITYJKiWhfgEr++odUvwwTeRwVU8cxjQ3aRAp6AQO/wBSOK mIK085GJ8hmZIGddVwFTrt3eFQW8dE0HqppHKdzYEHx6tWGYK4hFAtENADhFQy+PuQyR efIgVbnA8jHCytf5SH8Wucy+C8FbUBg4XtB2FGNwliJ4d2HbPNnuEKRdjPYfCz4PI4h5 BTqtZ5heFWRtSyoko/xo3qyOsf7oRqyOKWdAnkDlbislD+RhFE3vp34rQEWkENfJKKQE 9aH9mDQjhy1f5ln1vNuO+yMlBZhQrumrwhsXuK2P+EGyiJ+K24rIlnFd2qctcqAPfqOP RG6A== X-Gm-Message-State: AOJu0YzPqP5irGcQYndhJSH023CRPnS8XDqV2yM8USnUf9qIhJl38IUq 3ChbsTKwdDQvvpGLYqzE6TDirFZD6lv8Bqu+Y7AzCFKGV1/hI1mmNEkegMKzcjL9ejcI4Nkv3x3 T X-Gm-Gg: ASbGncu2KHkbIHpv8vSoZsr2WdN5LkdvNILa+FqIB7g2RS1XHx317IDD9ExoD3Irsty uZ8wZTimzDrOrgbeE73FXaY88t7xK2vzg9C597i9Wd2ks+GhW8iSE0kx2+pW0QS6Wx2G/wbUPrk T9dnZ1jWNBhuwgQfraApDh6DLDZ9fOiNrSqsyHuf8LbkXGbEJFu19BhWXHgfDE/qHCPxl9Qwfx1 pgD6WDsBpFmo7TxD+XQ2b2qcHo8jyTFS5GXjLiVDLmSoJdFDYuJT7KZLcPX7TtV7HA0c71qdruH KzNQ4foW0vChTZdR84GAm+0bz40P/g28JQ== X-Google-Smtp-Source: AGHT+IEMRLz+/KGAag0Y183j4ztyH0IhHZpsm6CJPzAxi7t6ONZm/duC9iFdyOLgK16iWgtofEOuGQ== X-Received: by 2002:a17:902:e80d:b0:215:b5d6:5fa8 with SMTP id d9443c01a7336-21892a441admr108687005ad.22.1734199735783; 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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2024 10:08:55 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH v2 3/5] net/dpaa2: remove unneeded deferred start check Date: Sat, 14 Dec 2024 10:07:34 -0800 Message-ID: <20241214180843.6662-4-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 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