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 67E2F4567F; Mon, 22 Jul 2024 13:09:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45F1140E1B; Mon, 22 Jul 2024 13:09:09 +0200 (CEST) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 29184402B9 for ; Mon, 22 Jul 2024 13:09:08 +0200 (CEST) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-70d150e8153so934487b3a.0 for ; Mon, 22 Jul 2024 04:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721646547; x=1722251347; darn=dpdk.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=q0SmbbdkJqiZzb3dEDFt7lnvZBBw3RCoST2og/jEuoE=; b=VS3NT1b2KFBt6LuCL1teVa2CHQgO1gVm4S1Jm2NQG37AcJCHkpJvGZxnuysLH3UlXm iyYXi+tO2+WKoGqOBFCl1M7hjSV2rqlt/TEPVcnIVnwKxtdPoA+UwFlX77snAVL512cw 641WwKRSM3zY0p4XLMVBNl2Thhj74qiK9NbdgNPjrUSEi/k2+KcTNbmaCNea0Wcby+IQ ZpUWtbwpjixeV4zd6aIA/aZBYc8C9AMQ67Orhp0anIk7qacvPaaMkuIlX/gAKe7Q4yTS yRpWWWMCI9YJJdoJjny5bwKMzdQEmtlwMPPbZ/+4GZp6W7UTU0dMKK2NWssnluTaUE3N EZRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721646547; x=1722251347; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q0SmbbdkJqiZzb3dEDFt7lnvZBBw3RCoST2og/jEuoE=; b=jh33EUHHxIgH0B0BXYcnEwJVrVJJjtZhdI3qoNWhXikFMsl2HF17dzLLquJ56kUjYm 7B2qFCZbasl3RoYwwvoQoRaUbxXSjNDf/Y+edcGBEyC1vJGcI2HBvpgTZ1y7MIJuFY8u WvuLfPz2oY/iOB6JenwBx7eSM9VOS0pZgx+HYAu0c9ZPYh8pU6EPKZewobMR99p1/CL5 18+iIsKQ1T1d0jQt6EmghspDUjXabovvg6doeMTlWgkGABdYH3iOEeQ6ahk5bVrDXLiy Y8H9YlqUugadnQ0XARYKoI630kzQNS26IlpgsUXFNTGqGvWj0cKY8muaKMYIYcSPjjwm EXjA== X-Gm-Message-State: AOJu0YwzQpj42v03s6mhBvO4iSLNW8WzbzLS1Rp/cwiDc4XlrBGQDj9z p3+nD0tRT4a7hlXdqpM0OgnBUDUhhRbU8QlZLydrN5GqDxsuvAm8 X-Google-Smtp-Source: AGHT+IEDyEBMgcPbFlv794REfDL/Biu9JmutS1PLqSV7uQgGucNmI8znX46Fo0VLdwQcFdupmEl5CQ== X-Received: by 2002:a62:fb08:0:b0:70d:15a1:f052 with SMTP id d2e1a72fcca58-70d15a1f28cmr7416314b3a.1.1721646547155; Mon, 22 Jul 2024 04:09:07 -0700 (PDT) Received: from tp-fat-se.vmware.com ([66.170.99.2]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-79f0bb06e79sm4462509a12.41.2024.07.22.04.09.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jul 2024 04:09:06 -0700 (PDT) From: Tathagat Priyadarshi To: rushilg@google.com, joshwash@google.com Cc: dev@dpdk.org, Tathagat Priyadarshi Subject: [PATCH] net/gve: Update TX queue state Date: Mon, 22 Jul 2024 11:10:11 +0000 Message-Id: <1721646611-2391283-1-git-send-email-tathagat.dpdk@gmail.com> X-Mailer: git-send-email 1.8.3.1 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 Fixing Typo in updating the TX queue state Signed-off-by: Tathagat Priyadarshi --- drivers/net/gve/gve_tx.c | 2 +- drivers/net/gve/gve_tx_dqo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/gve/gve_tx.c b/drivers/net/gve/gve_tx.c index 70d3ef0..500ae31 100644 --- a/drivers/net/gve/gve_tx.c +++ b/drivers/net/gve/gve_tx.c @@ -688,7 +688,7 @@ rte_write32(rte_cpu_to_be_32(GVE_IRQ_MASK), txq->ntfy_addr); - dev->data->rx_queue_state[tx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED; + dev->data->tx_queue_state[tx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED; return 0; } diff --git a/drivers/net/gve/gve_tx_dqo.c b/drivers/net/gve/gve_tx_dqo.c index a65e6aa..1b85557 100644 --- a/drivers/net/gve/gve_tx_dqo.c +++ b/drivers/net/gve/gve_tx_dqo.c @@ -392,7 +392,7 @@ rte_write32(rte_cpu_to_be_32(GVE_IRQ_MASK), txq->ntfy_addr); - dev->data->rx_queue_state[tx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED; + dev->data->tx_queue_state[tx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED; return 0; } -- 1.8.3.1