From: "Wangyunjian(wangyunjian,TongTu)" <wangyunjian@huawei.com>
To: "dev@dpdk.org" <dev@dpdk.org>,
"jiawenwu@trustnetic.com" <jiawenwu@trustnetic.com>,
"jianwang@trustnetic.com" <jianwang@trustnetic.com>
Cc: "liwei (DT)" <liwei395@huawei.com>, "xiawei (H)" <xiawei40@huawei.com>
Subject: txgbe: vlan offload setting errors
Date: Mon, 9 Dec 2024 12:30:05 +0000 [thread overview]
Message-ID: <10c5f65918a64c92ae3c1e104f655d43@huawei.com> (raw)
In-Reply-To: <8a4995861fb848aab7045c74949ae10b@huawei.com>
Hello everyone,
I recently added a txgbe port and enabled vlan offload.
However, when I checked the dpdk logs, I noticed the following error: "2024-12-09T10:32:26.420709+08:00 txgbe_vlan_offload_set(): Please stop port first."
Upon reviewing the txgbe pmd driver code, I discovered that the variable hw->adapter_stopped is initially set to 0 and is not changed to 1 in the device initialization function (eth_txgbe_dev_init).
This causes an error in the txgbe_vlan_offload_set function, which checks the value of adapter_stopped and reports an error when it is 0.
How can we fix this issue? Is it possible to set adapter_stopped to 1 in the eth_txgbe_dev_init function?
Best regards,
Wei Li
next parent reply other threads:[~2024-12-09 12:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8a4995861fb848aab7045c74949ae10b@huawei.com>
2024-12-09 12:30 ` Wangyunjian(wangyunjian,TongTu) [this message]
2024-12-10 2:00 ` txgbe: vlan offload setting errors Jiawen Wu
2024-12-10 6:12 ` Wangyunjian(wangyunjian,TongTu)
2024-12-10 6:21 ` Jiawen Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10c5f65918a64c92ae3c1e104f655d43@huawei.com \
--to=wangyunjian@huawei.com \
--cc=dev@dpdk.org \
--cc=jianwang@trustnetic.com \
--cc=jiawenwu@trustnetic.com \
--cc=liwei395@huawei.com \
--cc=xiawei40@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).