[RFC 14/18] net/hinic3: add Rx/Tx functions
Stephen Hemminger
stephen at networkplumber.org
Thu Jun 26 23:41:51 CEST 2025
On Fri, 18 Apr 2025 17:06:00 +0800
Feifei Wang <wff_light at vip.163.com> wrote:
> From: Feifei Wang <wangfeifei40 at huawei.com>
>
> This patch add package sending and receiving function codes.
>
> Signed-off-by: Feifei Wang <wangfeifei40 at huawei.com>
> Signed-off-by: Yi Chen <chenyi221 at huawei.com>
> Reviewed-by: Xin Wang <wangxin679 at h-partners.com>
> ---
If your driver doesn't implement these call backs, then leave them
as NULL. That way application will get correct error.
> static uint32_t
> hinic3_dev_rx_queue_count(__rte_unused void *rx_queue)
> {
> return 0;
> }
>
> static int
> hinic3_dev_rx_descriptor_status(__rte_unused void *rx_queue,
> __rte_unused uint16_t offset)
> {
> return 0;
> }
>
> static int
> hinic3_dev_tx_descriptor_status(__rte_unused void *tx_queue,
> __rte_unused uint16_t offset)
> {
> return 0;
> }
There are several more bogus stubs such as ptype support etc.
More information about the dev
mailing list