From: Stephen Hemminger <stephen@networkplumber.org>
To: liwencheng <liwencheng@phytium.com.cn>
Cc: dev@dpdk.org
Subject: Re: [PATCH v4 4/4] net/macb: add necessary docs and update related files
Date: Wed, 16 Apr 2025 09:43:12 -0700 [thread overview]
Message-ID: <20250416094312.5805259f@hermes.local> (raw)
In-Reply-To: <1743577171-119901-1-git-send-email-liwencheng@phytium.com.cn>
On Wed, 2 Apr 2025 06:59:31 +0000
liwencheng <liwencheng@phytium.com.cn> wrote:
> +Features of the MACB PMD are:
> +
> +* Speed capabilities
> +* Link status
> +* Tx Queue start/stop
> +* Multiple queues for TX and RX
> +* CRC offload
> +* Jumbo frames supported
I see no operations functions for Tx queue/start stop
in macb_ops. Obviously not tested.
int
rte_eth_dev_tx_queue_start(uint16_t port_id, uint16_t tx_queue_id)
{
struct rte_eth_dev *dev;
int ret;
RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -ENODEV);
dev = &rte_eth_devices[port_id];
if (!dev->data->dev_started) {
RTE_ETHDEV_LOG_LINE(ERR,
"Port %u must be started before start any queue",
port_id);
return -EINVAL;
}
ret = eth_dev_validate_tx_queue(dev, tx_queue_id);
if (ret != 0)
return ret;
if (dev->dev_ops->tx_queue_start == NULL)
return -ENOTSUP;
next prev parent reply other threads:[~2025-04-16 16:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-02 6:59 [PATCH v4 4/4] net/macb: add necessary docs and update related files liwencheng
2025-04-03 1:44 ` Stephen Hemminger
2025-04-16 16:35 ` Stephen Hemminger
2025-04-16 16:43 ` Stephen Hemminger [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-10 7:10 [PATCH v3 6/6] " Wencheng Li
2025-04-02 7:11 ` [PATCH v4 4/4] " liwencheng
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=20250416094312.5805259f@hermes.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=liwencheng@phytium.com.cn \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.