On Fri, 18 Apr 2025 17:06:00 +0800
Feifei Wang <wff_li...@vip.163.com> wrote:

> From: Feifei Wang <wangfeife...@huawei.com>
> 
> This patch add package sending and receiving function codes.
> 
> Signed-off-by: Feifei Wang <wangfeife...@huawei.com>
> Signed-off-by: Yi Chen <chenyi...@huawei.com>
> Reviewed-by: Xin Wang <wangxin...@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.

Reply via email to