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
F81433288: D12176.id.diff
Tue, Apr 16, 7:16 AM
Unknown Object (File)
Thu, Mar 28, 7:34 PM
Unknown Object (File)
Thu, Mar 28, 6:15 PM
Unknown Object (File)
Tue, Mar 26, 5:56 AM
Unknown Object (File)
Feb 25 2024, 5:17 PM
Unknown Object (File)
Feb 5 2024, 6:49 AM
Unknown Object (File)
Dec 29 2023, 7:42 PM
Unknown Object (File)
Dec 24 2023, 3:52 AM
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.