[PATCH v3] vdpa/sfc: make MCDI memzone name unique
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Tue Feb 15 13:21:49 CET 2022
    
    
  
On 2/14/22 11:51, abhimanyu.saini at xilinx.com wrote:
> From: Abhimanyu Saini <asaini at xilinx.com>
> 
> Buffer for MCDI channel is allocated using rte_memzone_reserve_aligned
> with zone name 'mcdi'. Since multiple MCDI channels are needed to
> support multiple VF(s) and rte_memzone_reserve_aligned expects unique
> zone names, append PCI address to zone name to make it unique.
> 
> Signed-off-by: Abhimanyu Saini <asaini at xilinx.com>
> ---
> v2:
>    - Formatting changes
> v3:
>    - Formatting changes
> 
>   drivers/vdpa/sfc/sfc_vdpa_hw.c | 15 ++++++++++++---
>   1 file changed, 12 insertions(+), 3 deletions(-)
> 
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
    
    
More information about the dev
mailing list