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 782ED45EC3; Mon, 16 Dec 2024 20:14:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F390740652; Mon, 16 Dec 2024 20:13:44 +0100 (CET) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id F3379402EE for ; Mon, 16 Dec 2024 20:13:39 +0100 (CET) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-21634338cfdso53511435ad.2 for ; Mon, 16 Dec 2024 11:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734376419; x=1734981219; 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=4tH3OnRp73Qz8YgEHOCBgtlEv8EGEq075F1T04lnTrY=; b=r2s7i76VMjgcMKtTMXaU+H3FoEGZCvhdFElxInv+pP8IT6pjft2jB9qLXhRmQTmhxC 9Y1+6S948XX9TtkxVrXgqu/ThNrVAl9hKgYuQlx3ZM0RL+4CPKKvCxecoJPbrT4Y6u3K zaVWSRDDSVlcri4z6YIJwOstKLajxZ8Dx0ncTbvMNd2VTNy2eQxuO/sMZwYl8IBRY56Q Z3+B5pgnt2woikW4rzlhI0Rmp4TTkiyi6WCN+xNc5sZzBpOoEabV0ooHMuegjen8Oil0 ImSvsGKWO8wDjVU2yHdv3PaAgI0A5uxUUj+psLSaC+T5EZM3GpeARQ4dIXhNsm1dlQ3o w3ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734376419; x=1734981219; 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=4tH3OnRp73Qz8YgEHOCBgtlEv8EGEq075F1T04lnTrY=; b=CTtepEJgQxfn/J0OAEp9EGo4HUN3FpfOl3s46+iR+hjRHL7EKTOBUQKnXV3HJBHREL NIjXcrVUXyT93Sn9+9oysVC0O29qAWWtyYQVWjU2uJn2EinzPV0yW/zjJ+9/JXQSWTpq kzmOYHvg2Zr04JKC0ECHzKcb8aIH3kr7pVTNIle6eZzjNz2Dvr2cxL1AZKqx7Gju0EB4 C9ndGQ+O2y212cIWgqJo36NvrD886hYmyv0sqTYc5zXF/24TW8gsNHc+0dKPN3e6wb3d FVmO5rdWlLOFmULGN/DMDlMSURGc5MU9uFZ9WxjK7s42wGg92gJ+qB82+mWl+464qz4o Jt2g== X-Gm-Message-State: AOJu0Yz7fOCIg26qQAV1hR4YnuxChQ8TfLNsXJu/y0og3Sbz/p2iedbB tilxTOsq/FAM1GS4BbJN3pqAhA4LRAHRSi9+9IWAal2l99ddK64G2Qlrm80cbfad+sitvnD+/n6 M4T0= X-Gm-Gg: ASbGncsOMYie/buwLm6+d5LIzXPEDuS6R5ynTL2IijfwXrTXR8C3WEEmU+F45wXo6bk EgrvxTaVPGxzJ9+GTUgdAjgKka0z/cWH0K9LKUMCQ2edXkrxdfc2Kp57ztj4ojBITqaca77lkgO uOU0Go5S7xYt6bN+vX8L9HpWF3t3UkIjCVfgPNMBSxFoVQowO4orn92empySHRLsWZR6fzzcfCf qIT5tojG6SVL6bsf8XJE7N6aPzLY+TjLBJyEtHTFoNLJ6BKBJRtjF7kkTBUiA0FGf0bexEloqIn 1saTKruEtTvO3X8x1RCragN7/rtcNMf5mA== X-Google-Smtp-Source: AGHT+IEv94f2Jo1mPc/yLyXa2X8MFzpIsYvvsp0yZk/dSKZv5Tti2AzaiQMhprMdWzi9m2dz0d50tQ== X-Received: by 2002:a17:903:41c5:b0:216:1cfa:2bda with SMTP id d9443c01a7336-21892ab824emr183991595ad.43.1734376419199; Mon, 16 Dec 2024 11:13:39 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 11:13:38 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Maxime Coquelin , Chenbo Xia Subject: [PATCH v3 6/6] net/virtio: remove unneeded deferred start check Date: Mon, 16 Dec 2024 11:11:38 -0800 Message-ID: <20241216191323.75753-7-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/virtio/virtio_rxtx.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio/virtio_rxtx.c index b67f063b31..6ae3a6eb12 100644 --- a/drivers/net/virtio/virtio_rxtx.c +++ b/drivers/net/virtio/virtio_rxtx.c @@ -654,11 +654,6 @@ virtio_dev_rx_queue_setup(struct rte_eth_dev *dev, PMD_INIT_FUNC_TRACE(); - if (rx_conf->rx_deferred_start) { - PMD_INIT_LOG(ERR, "Rx deferred start is not supported"); - return -EINVAL; - } - buf_size = virtio_rx_mem_pool_buf_size(mp); if (!virtio_rx_check_scatter(hw->max_rx_pkt_len, buf_size, hw->rx_ol_scatter, &error)) { @@ -819,11 +814,6 @@ virtio_dev_tx_queue_setup(struct rte_eth_dev *dev, PMD_INIT_FUNC_TRACE(); - if (tx_conf->tx_deferred_start) { - PMD_INIT_LOG(ERR, "Tx deferred start is not supported"); - return -EINVAL; - } - if (nb_desc == 0 || nb_desc > vq->vq_nentries) nb_desc = vq->vq_nentries; vq->vq_free_cnt = RTE_MIN(vq->vq_free_cnt, nb_desc); -- 2.45.2