On 31/03/2020 15:53, Stephen Hemminger wrote:
> On Tue, 31 Mar 2020 15:08:26 +0100
> Kevin Traynor wrote:
>
>> struct virtchnl_rss_key {
>> u16 vsi_id;
>> u16 key_len;
>> u8 key[1]; /* RSS hash key, packed bytes */
>> ^
>> };
>>
>> Then in iavf_conf
On Tue, 31 Mar 2020 15:08:26 +0100
Kevin Traynor wrote:
> struct virtchnl_rss_key {
> u16 vsi_id;
> u16 key_len;
> u8 key[1]; /* RSS hash key, packed bytes */
> ^
> };
>
> Then in iavf_configure_rss_key()
>
> len = sizeof(*rss_key) + vf->vf_
On 25/03/2020 14:18, Thomas Monjalon wrote:
> 25/03/2020 15:11, Kevin Traynor:
>> This is a blunt way to remove this warning.
>>
>> Some alternatives are:
>> - disable the warning for individual components
>> - components rework to statically allocate memory for parts of structs
>> impacted
>>
>>
25/03/2020 15:11, Kevin Traynor:
> This is a blunt way to remove this warning.
>
> Some alternatives are:
> - disable the warning for individual components
> - components rework to statically allocate memory for parts of structs
> impacted
>
> Maybe there's some other solutions?
In general, I a
4 matches
Mail list logo