On Fri, 18 Apr 2025 17:06:00 +0800
Feifei Wang <[email protected]> wrote:

> From: Feifei Wang <[email protected]>
> 
> This patch add package sending and receiving function codes.
> 
> Signed-off-by: Feifei Wang <[email protected]>
> Signed-off-by: Yi Chen <[email protected]>
> Reviewed-by: Xin Wang <[email protected]>
> ---

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