On Wed, 2018-12-05 at 10:56 -0800, Cong Wang wrote: > On Tue, Dec 4, 2018 at 10:26 PM Saeed Mahameed <sae...@mellanox.com> > wrote: > > +static const struct mlx5e_tirc_config > > +tirc_default_config[MLX5E_NUM_INDIR_TIRS] = { > > Is it okay to define an array in a header??? No link error??? > > I must be dumb...
Yes it is ok, no link error, each c file scope will get it's own copy. but this is wasteful, will fix this in v2. Thanks.