On 9/4/2023 5:56 AM, wa...@3snic.com wrote:
> From: Renyong Wan <wa...@3snic.com>
> 
> Signed-off-by: Steven Song <steven.s...@3snic.com>
> Signed-off-by: Renyong Wan <wa...@3snic.com>
> 

<...>

> diff --git a/drivers/net/sssnic/sssnic_ethdev_rx.c 
> b/drivers/net/sssnic/sssnic_ethdev_rx.c
> index 9c1b2f20d1..fd4975dfd5 100644
> --- a/drivers/net/sssnic/sssnic_ethdev_rx.c
> +++ b/drivers/net/sssnic/sssnic_ethdev_rx.c
> @@ -185,7 +185,7 @@ sssnic_ethdev_rxq_doorbell_ring(struct sssnic_ethdev_rxq 
> *rxq, uint16_t pi)
>       db.qid = rxq->qid;
>       db.pi_hi = (hw_pi >> 8) & 0xff;
>  
> -     db_addr = (uint64_t *)(rxq->doorbell + (hw_pi & 0xff));
> +     db_addr = ((uint64_t *)rxq->doorbell) + (hw_pi & 0xff);
>  

Can you please fix this where it is introduced at first place?

Reply via email to