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 AC2FB45E94; Fri, 13 Dec 2024 22:50:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74C0940E4A; Fri, 13 Dec 2024 22:49:49 +0100 (CET) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id B6D0B40E32 for ; Fri, 13 Dec 2024 22:49:45 +0100 (CET) Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-8019338c2b2so1643773a12.3 for ; Fri, 13 Dec 2024 13:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734126585; x=1734731385; 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=ghN948w8UMjEIogsC0MXPBKqSwdofKBHYoN+Fx2OaiXTcZ/zNh002obMnpNVtGc8zD XmtgGFroouDWu5wZzhzqn5/VvH7QHFf0WmvHq6fKNOkzmAgp6IWv+oLhYoBkLMMKYc70 fYxi2vpmFQBGov0FavrcvYAJ2SUANqqnWGIK4T+K/Hvo3oIYiF5Hcz9GIne5JqfRVUlw MnAt71jAD5l/dYDnyqDPw1btVhws8XsrwwU49O7Naxa9am5vn3U7K2VmeZPA6sY4XmeV GSPyB2mi0jUgeEsbTgZ2IGuY7/o3YG/FFI+j5gvtLT4yA5xkkebqVoL4bIRkqpDwqz4Z DNeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734126585; x=1734731385; 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=Pu9SSRjwhhSMN8o4tHAFCk1XQEgP7HH237at3nhyd057iOGBcfJIn8Ax5GKL73P7vl OFAqlk/IS86zTx/UVlp9SBtMPC4kwC+lWrrqxy47TeaRzLQiJV0X0Og2qMEbuKK2YOO9 loofCZPK4oZv8YMXo+UGofgd3R9kWtObQeGZP//LkkJuvS8QcQ86Dhir+0PAjUBDAfl4 zJ79h7YhJVaeekPyCm75liaxMxcAxy7RAwPO99CT6a6eDArqFPmEskGB930N8mwZgEpe sPk35WcIXAuW5yVRSGsSqSQ9VSWHghSGphLfvmLnrdI5ju6GYVqwrMWF5dxOTj2Tk3L7 DRuA== X-Gm-Message-State: AOJu0YywlZjfMBW6qzJP3ke4IGKmaRA7VI1hm6jp8czIiAaPMsSxgSTo iNuRXGuyAMW++KSv3apMWglP0VPb5qQ/ripZ7Q0Jr0/DRwOlSl6QwkQLPO5SCc+rpWC85TGUeSi f X-Gm-Gg: ASbGncvR6dU3asDInRbC8VG7GhJZR9cWk+lhTTOiPTom/PNCoSoftrnQL98XlBhOGdq G6vHq6L39AA9e3tK5ykddv8hApukpI2x4UdC7U2HUWUvsxjalmURVdoDX4Z7N9+/nzWP40o2Zq0 xdkq7JaKunjyKaNIMXzmiye5NcF0/CDqBSX0YZ6kQhmNicFIIrz1rLOZUdOK0WOhCiPEUMfDLDq UKLfrK3aI9IS1gJqGXQxhAFm5MtYw6iim2J9cj8HXZvdNuttuC7myrLwtE9ojUFoM8IF0vdPFeE GVe3kyWDRxyJux5TPWbV1ut5rTH+k6IVLA== X-Google-Smtp-Source: AGHT+IEgg+qZp0+oWVnMnwUmhYGqM/59hQcWisXs1Edtqaq60mfcDv4Loic1pVc4xzGZgldgzLBVag== X-Received: by 2002:a17:90b:4f:b0:2ef:e0bb:1ef2 with SMTP id 98e67ed59e1d1-2f28fd6b782mr6332517a91.19.1734126585029; Fri, 13 Dec 2024 13:49:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 13:49:44 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Maxime Coquelin , Chenbo Xia Subject: [PATCH 5/5] net/virtio: remove unneeded deferred start check Date: Fri, 13 Dec 2024 13:48:18 -0800 Message-ID: <20241213214929.817688-6-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 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