[dpdk-dev] [PATCH] fix static variables

Xing, Beilei beilei.xing at intel.com
Thu Oct 11 08:56:28 CEST 2018



> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Thursday, October 4, 2018 11:41 AM
> To: Pattan, Reshma <reshma.pattan at intel.com>; Hemant Agrawal
> <hemant.agrawal at nxp.com>; Shreyansh Jain <shreyansh.jain at nxp.com>;
> Ashish Gupta <ashish.gupta at cavium.com>; Trahe, Fiona
> <fiona.trahe at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; Akhil Goyal <akhil.goyal at nxp.com>;
> Doherty, Declan <declan.doherty at intel.com>; Zhang, Roy Fan
> <roy.fan.zhang at intel.com>; Jerin Jacob <jerin.jacob at caviumnetworks.com>;
> Chas Williams <chas3 at att.com>; Rahul Lakkireddy
> <rahul.lakkireddy at chelsio.com>; John Daley <johndale at cisco.com>; Hyong
> Youb Kim <hyonkim at cisco.com>; Gaetan Rivet <gaetan.rivet at 6wind.com>;
> Zhang, Qi Z <qi.z.zhang at intel.com>; Wang, Xiao W
> <xiao.w.wang at intel.com>; Xing, Beilei <beilei.xing at intel.com>; Lu,
> Wenzhuo <wenzhuo.lu at intel.com>; Ananyev, Konstantin
> <konstantin.ananyev at intel.com>; Rasesh Mody
> <rasesh.mody at cavium.com>; Harish Patil <harish.patil at cavium.com>;
> Shahed Shaikh <shahed.shaikh at cavium.com>; Andrew Rybchenko
> <arybchenko at solarflare.com>; Singh, Jasvinder
> <jasvinder.singh at intel.com>; Dumitrescu, Cristian
> <cristian.dumitrescu at intel.com>; Wiles, Keith <keith.wiles at intel.com>;
> Maxime Coquelin <maxime.coquelin at redhat.com>; Bie, Tiwei
> <tiwei.bie at intel.com>; Wang, Zhihong <zhihong.wang at intel.com>; Nipun
> Gupta <nipun.gupta at nxp.com>; Xu, Rosen <rosen.xu at intel.com>; Zhang,
> Tianfei <tianfei.zhang at intel.com>; Burakov, Anatoly
> <anatoly.burakov at intel.com>; Thomas Monjalon <thomas at monjalon.net>;
> Rao, Nikhil <nikhil.rao at intel.com>; Olivier Matz <olivier.matz at 6wind.com>
> Cc: dev at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>
> Subject: [PATCH] fix static variables
> 
> Make variables static as much as possible.
> 
> For the ones can't be done static, prefix the variable name with
> component name.
> 
> Also some cleanup and fix done related static usage while around.
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> ---


>  drivers/net/i40e/base/i40e_diag.c             |  2 +-
>  drivers/net/i40e/base/i40e_diag.h             |  2 -
>  drivers/net/i40e/i40e_flow.c                  |  4 +-
>  drivers/net/i40e/i40e_vf_representor.c        |  2 +-

For i40e part:
Acked-by: Beilei Xing <beilei.xing at intel.com>



More information about the dev mailing list