lkml.org 
[lkml]   [2015]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V3 net-next 2/5] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver

On 11/22/2015 9:30 AM, Yuval Mintz wrote:
>> static void hns_ppe_init_hw(struct hns_ppe_cb *ppe_cb) {
> ...
>> + /* Set default RSS key and indrection table*/
>> + const u32 rss_key[HNS_PPEV2_RSS_KEY_NUM] = {
>> + 0x6d5a56da, 0x255b0ec2,
>> + 0x4167253d, 0x43a38fb0,
>> + 0xd0ca2bcb, 0xae7b30b4,
>> + 0x77cb2da3, 0x8030f20c,
>> + 0x6a42b73b, 0xbeac01fa,
>> + };
>> +
>> + /* set default RSS key and remember it */
>> + for (i = 0; i < HNS_PPEV2_RSS_KEY_NUM; i++)
>> + ppe_cb->rss_key[i] = rss_key[i];
>>
> Is there any reason for the special default key?
> Why not use netdev_rss_key_fill()?
Thanks for pointing out this. I have incorported this change in latest
PATCH V5
>




\
 
 \ /
  Last update: 2015-11-26 08:41    [W:0.066 / U:3.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site