Page MenuHomeFreeBSD

mlx4_en: Implement SIOCGIFRSS{KEY,HASH}
ClosedPublic

Authored by sepherosa_gmail.com on Aug 31 2017, 5:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 22, 4:32 PM
Unknown Object (File)
Tue, Jan 21, 3:21 AM
Unknown Object (File)
Jan 9 2025, 9:59 AM
Unknown Object (File)
Jan 5 2025, 2:28 PM
Unknown Object (File)
Dec 5 2024, 9:52 AM
Unknown Object (File)
Dec 2 2024, 6:23 PM
Unknown Object (File)
Nov 23 2024, 2:07 AM
Unknown Object (File)
Nov 7 2024, 1:44 PM
Subscribers
None

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gallatin added inline comments.
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1905 ↗(On Diff #32537)

Why the ifdefs?

This revision is now accepted and ready to land.Aug 31 2017, 1:14 PM
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1905 ↗(On Diff #32537)

I was not so sure whether I could MFC D12174 to 10-stable/11-stable or not, but I definitely want to MFC driver bits to 10-stable/11-stable.

If D12174 goes well, I probably will MFC it to 10-stable/11-stable. I think adding IOCs does not break ABI.

sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
2041 ↗(On Diff #32537)

Hi,

Please add a "length" argument to rss_key and optimise away the intermediate "key" storage.

--HPS

sys/dev/mlx4/mlx4_en/mlx4_en_rx.c
821 ↗(On Diff #32537)

BSD-style: 4-space indent after wrap.

846 ↗(On Diff #32537)

Can you optimise away this temporary storage?

sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
2041 ↗(On Diff #32537)

Toeplitz key size is pretty standard. But, sure, I could add a length parameter.

As about optimizing away the key, it's fine w/ me; though I will have to say both code you mentioned is not on hot path.

sys/dev/mlx4/mlx4_en/mlx4_en_rx.c
821 ↗(On Diff #32537)

Heh, OK. This is verbatim copy of the original code.

846 ↗(On Diff #32537)

Sure.

This revision now requires review to proceed.Sep 7 2017, 3:05 AM

Thank you. Currently reviewing this patch in Mellanox.

This revision is now accepted and ready to land.Oct 2 2017, 12:02 PM
This revision was automatically updated to reflect the committed changes.