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 869EF45E94; Fri, 13 Dec 2024 22:50:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 39F9D40E44; Fri, 13 Dec 2024 22:49:48 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id D7A1440E25 for ; Fri, 13 Dec 2024 22:49:44 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-2ee786b3277so1467736a91.1 for ; Fri, 13 Dec 2024 13:49:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734126584; x=1734731384; 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=Eyrm1bgkBNJai9UV6ArjxzCIjsl+wsim+i6YCX4yUg4=; b=ONpuklmKhJPeF0VR+Z/onIv8VYXr4wSUw+3gGjWOtYrV7vy1mcIkJR9CS/p2ofGFrS 7f9FALQrP8E9HMHMn+vKd1VxCAb42fa/jTLLxS/OotY7Caj/FN0ig2ijwcvlyAqkNAwF /jKsDd1XsC7j3hwmPQKgZCCNPFGGjZyyssG/lETc/JmNPUzUJChh/j5aqdio4t6H1Wrz AIcRfKhi4l9Br1unVkKGm28aYTTj2rgxLJYXeSINcHJPoWg7Ji0D21KnESDo5KLpuAvh lzfzNWEoVMGbwBIZeTwSK6Xk73oEBMdbDqqqZrKE1kAUm58ZEpWILLF06Ql6HXNCDR6o pnJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734126584; x=1734731384; 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=Eyrm1bgkBNJai9UV6ArjxzCIjsl+wsim+i6YCX4yUg4=; b=kGWoXA9jMeMrg7tsnyn/nJDXhQzB/UstTZ0gBQK1ZmFvNz8iuYp5DH6sVgrlYRL98Z SWUTb9N0peS+wsALQzyW0k1IpsjSUsyBM6Cu0MMRNthNerex9MnB1l3TKm9Jp6doRpbE simSDVOFhYSbneGb86WxsQAw/ULGqhWsEeMtEhkI9NO1ki+6OGis6GrN3mRk+pqlmS2a fZR/yzhWDndvjtdG4atCd/3IiJ8HmnNb0yO9M5G5UeV590aRSpEdNdrbc/d3nRsVXvHD geGUnv9SITSGoCQAeXU3mX4xGYGmUOQ82+kwVDK+/3O6fEy+cZSSDmZyzr4bePPp8m9s Y0oA== X-Gm-Message-State: AOJu0YxrM4DqU/NAsmkNY+tADzDq9gXg3eT4th87ZcPZLQXIts6+NhLF q/v1rw+8HB74rCJi/3WZ0ScGGsMAFvS+5Fr/HOaMcEXPxGduCm0qUOzTwjsM6h+vJpFUg4x9tH+ o X-Gm-Gg: ASbGncuMjt0drF+OwvocAZsCk/7+lJz9YtKruAsY6+TyvAyH1Fd9HYnQghyY7wLk4lR ZoeUVXhDFSmscx9xWsKZnEihh68f2GZfbTo62UPWmw5tW80m/O6J4R95k+JmRitNRmBttfHo8c8 3H87s9uH1qwBTETPNy2U57S3sO14Xb5d+Iv0mOezZyOJqFgo/A6DtI0RPTSkpnjSye4KgsAXwlE 1IeSGGRgFaTXP/o0S3/7sOtK5ltHviubgo93ziP7rV2HTrCl+du12KukHoWHaCyHYVsTF/JuvFF MvClC13RyW1lLfFK1SPZnvwEc6giomRteQ== X-Google-Smtp-Source: AGHT+IEqS0O+0LV+8TNwwSPPjzo7bIMEgdO4tfkSqettOeM6GT7u9NxfD5ucIQFaJiovbe2dW8BVMA== X-Received: by 2002:a17:90b:2fcd:b0:2ee:b2be:f390 with SMTP id 98e67ed59e1d1-2f28ffa7e4dmr5550615a91.28.1734126584083; Fri, 13 Dec 2024 13:49:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 13:49:43 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Apeksha Gupta , Sachin Saxena Subject: [PATCH 4/5] net/enetfec: remove unneeded deferred start check Date: Fri, 13 Dec 2024 13:48:17 -0800 Message-ID: <20241213214929.817688-5-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/enetfec/enet_ethdev.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/net/enetfec/enet_ethdev.c b/drivers/net/enetfec/enet_ethdev.c index 91c0f60490..d8c81f4a70 100644 --- a/drivers/net/enetfec/enet_ethdev.c +++ b/drivers/net/enetfec/enet_ethdev.c @@ -377,12 +377,6 @@ enetfec_tx_queue_setup(struct rte_eth_dev *dev, sizeof(struct bufdesc); unsigned int dsize_log2 = rte_fls_u64(dsize) - 1; - /* Tx deferred start is not supported */ - if (tx_conf->tx_deferred_start) { - ENETFEC_PMD_ERR("Tx deferred start not supported"); - return -EINVAL; - } - /* allocate transmit queue */ txq = rte_zmalloc(NULL, sizeof(*txq), RTE_CACHE_LINE_SIZE); if (txq == NULL) { @@ -456,12 +450,6 @@ enetfec_rx_queue_setup(struct rte_eth_dev *dev, sizeof(struct bufdesc); unsigned int dsize_log2 = rte_fls_u64(dsize) - 1; - /* Rx deferred start is not supported */ - if (rx_conf->rx_deferred_start) { - ENETFEC_PMD_ERR("Rx deferred start not supported"); - return -EINVAL; - } - if (queue_idx >= ENETFEC_MAX_Q) { ENETFEC_PMD_ERR("Invalid queue id %" PRIu16 ", max %d", queue_idx, ENETFEC_MAX_Q); -- 2.45.2