Subject: Re: [net-next PATCH v6 5/6] octeontx2-af: CN20K mbox implementation for AF's VF

From: Jakub Kicinski <[email-masked]>
Date: Thu, 19 Dec 2024 19:26:30 -0800

On Wed, 18 Dec 2024 20:29:37 +0530 Sai Krishna wrote:
> This patch implements the CN20k MBOX communication between AF and
> AF's VFs. This implementation uses separate trigger interrupts
> for request, response messages against using trigger message data in CN10K.

clang says:

drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2993:47: warning: arithmetic between different enumeration types ('enum rvu_af_int_vec_e' and 'enum rvu_pf_int_vec_e') [-Wenum-enum-conversion]
 2993 |         return (pfvf->msix.max >= RVU_AF_INT_VEC_CNT + RVU_PF_INT_VEC_CNT) &&
      |                                   ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~
-- 
pw-bot: cr