From: salil.mehta@huawei.com (Salil Mehta)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V3 net-next 2/5] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver
Date: Thu, 26 Nov 2015 07:31:07 +0000 [thread overview]
Message-ID: <5656B53B.3080205@huawei.com> (raw)
In-Reply-To: <CO2PR11MB0088B852596B9F86F7BDCF6F97180@CO2PR11MB0088.namprd11.prod.outlook.com>
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
>
next prev parent reply other threads:[~2015-11-26 7:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-19 20:58 [PATCH V3 net-next 0/5] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem Salil Mehta
2015-11-19 20:58 ` [PATCH V3 net-next 1/5] " Salil Mehta
2015-11-22 9:19 ` Yuval Mintz
2015-11-26 7:44 ` Salil Mehta
2015-11-19 20:58 ` [PATCH V3 net-next 2/5] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver Salil Mehta
2015-11-22 9:30 ` Yuval Mintz
2015-11-26 7:31 ` Salil Mehta [this message]
2015-11-19 20:58 ` [PATCH V3 net-next 3/5] net:hns: Add Hip06 "TSO(TCP Segment Offload)" support " Salil Mehta
2015-11-22 8:49 ` Yuval Mintz
2015-11-26 8:19 ` Salil Mehta
2015-11-19 20:58 ` [PATCH V3 net-next 4/5] net:hns: Add support of ethtool TSO set option for Hip06 in HNS Salil Mehta
2015-11-20 14:07 ` Sergei Shtylyov
2015-11-23 12:05 ` Salil Mehta
2015-11-19 20:58 ` [PATCH V3 net-next 5/5] net:hns: Add the init code to disable Hip06 "Hardware VLAN assist" Salil Mehta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5656B53B.3080205@huawei.com \
--to=salil.mehta@huawei.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).