Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1274834
| From | Yuval Mintz <Yuval.Mintz@qlogic.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH V3 net-next 2/5] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver |
| Date | 2015-11-22 10:40 +0100 |
| Message-ID | <qxzhL-1P9-1@gated-at.bofh.it> (permalink) |
| References | <qwEjv-5Tc-7@gated-at.bofh.it> <qwEjw-5Tc-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> 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()?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V3 net-next 2/5] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver Salil Mehta <salil.mehta@huawei.com> - 2015-11-19 21:50 +0100
RE: [PATCH V3 net-next 2/5] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver Yuval Mintz <Yuval.Mintz@qlogic.com> - 2015-11-22 10:40 +0100
Re: [PATCH V3 net-next 2/5] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver Salil Mehta <salil.mehta@huawei.com> - 2015-11-26 08:40 +0100
csiph-web