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 6A54145EA2; Sat, 14 Dec 2024 19:09:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63ACC40ED1; Sat, 14 Dec 2024 19:09:02 +0100 (CET) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id 32A37402D2 for ; Sat, 14 Dec 2024 19:08:58 +0100 (CET) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-216401de828so22974275ad.3 for ; Sat, 14 Dec 2024 10:08:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734199737; x=1734804537; 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=RAZ7GI6jtlNWGdHtKQF6UCRYlfPRsRWEgBpADlsDgy3n9tBXUDlXeEo+Er+6KPvkLC C1B3r9u/gTTogHnUYSlJvjs8abKGdwO5/EyBM5pKbyhFtobADFqbIglaR0dlhCph63Q3 K8Oi+W8UgHK2bK2hNjpLPiY10v1i/wPq2X2pIZqxg2l7pAuReJDOdLcuYGHC6PtjfiGS hUnGJHsv2zCLGCGc56vhy/ddPiSrNEJ+8YIIgYRbyjxLf4ifxMNZ5fgFv+WAWhnbSaGb X10aD+d14wJnbOQ+HpzSAGBjglPXsngSp0nVAI4s1Jd/hA1QfMh/l7UgkGE5BmSMfDxU jwIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734199737; x=1734804537; 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=ITouO9ljNRpV5dXhM6mZC4KYgkWrx0S4mrDUM8Rtk5IgxG5CFIYvexA85Uwd5EEzJr JHNihX/8xIZqzdggLYJ8YLihWiJtHmj/u94tYrEslXqRfd5VciDHYeXqgjjhkzWjyMFD EDh8Gce/3tvxZh6oV2JZE27w3axwG25MErudIOO+tgJCYlMjfPMFUYv7BN2I1W/iEsA1 24/wq7tdbIos642s1ovftQKw0B6OEyLEl86XXky4H/F7YjN3Ofe1FYPwKAWs/sItMdFK 6GNKOrvDvNo4knQEk1OTyXehqQYvKXNoHxGjvcYNA+JeLoDoV+/AaLwPehR1Ciq0wmsU LPpg== X-Gm-Message-State: AOJu0YwaFM3hGjMhfBLbgG+ATDmtGPdD5g2Uc9ZNe135+658aQ8Og6lQ MAztbmaJvIuQVRkoEk9cv3gVT+Wl6wwY/x4r1lHtoiz9XYuAfhz6zQPbSEa2rIwdACcMUpK4fV3 d X-Gm-Gg: ASbGncsvDbC8eWc17d6U8Uk/Jyu2SI1AsSHvEfLZ4BM34U4F4ccY85kSVhHL0ahVGp+ zsFMVQo4bAHt4gUSG06jtwundnXCzzGMl4j7CmFRRj6vMC09IWrOSwwUEeUZLy9xFIpJdv9fDZD sv4XjoDtzP5WPvZogmsyUBkftu/RaXyEDm32g7Qc3169JGGmdmLxCkh1nnHZH88TJ9Ht+PdNWMD yK3zuUOnHbk9br+1QxR2T9IN5+NYTHP7c847QI4JTlGGrHfjBo5Pq6yjBJW4LSbV2oTmUHbHiMF f4D+AyQ7B+WC+Rc7Bnc+2vUOR7fVGiJJ4g== X-Google-Smtp-Source: AGHT+IH5IfmDkZBl5Jqcgl+vr86BTDUcONsoJK34JgdO/WCIHPc1nDds3IyVUZmUeNPgQWqmJnvODA== X-Received: by 2002:a17:902:d550:b0:215:ae3d:1dd7 with SMTP id d9443c01a7336-218929c380cmr101489805ad.19.1734199737303; Sat, 14 Dec 2024 10:08:57 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2024 10:08:56 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Maxime Coquelin , Chenbo Xia Subject: [PATCH v2 5/5] net/virtio: remove unneeded deferred start check Date: Sat, 14 Dec 2024 10:07:36 -0800 Message-ID: <20241214180843.6662-6-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/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