Page MenuHomeFreeBSD

if_media: Add new 2.5G/5G/25G/40G/50G/100G/200G/400G media types
ClosedPublic

Authored by erj on Aug 15 2018, 6:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 27 2024, 12:44 AM
Unknown Object (File)
Jan 27 2024, 12:39 AM
Unknown Object (File)
Dec 20 2023, 1:44 AM
Unknown Object (File)
Dec 15 2023, 12:31 AM
Unknown Object (File)
Nov 16 2023, 9:44 AM
Unknown Object (File)
Sep 28 2023, 7:11 AM
Unknown Object (File)
Sep 28 2023, 7:10 AM
Unknown Object (File)
Sep 16 2023, 5:22 AM

Details

Summary

The driver to support upcoming hardware from Intel supports more media types than what are in the kernel already, so this commit adds the missing media types.

These mostly include new 25/50/100G media types, as well as some for the brand new 200G/400G speeds.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Aug 16 2018, 7:08 AM

In terms of adding new entries this looks fine. I don't know the media types to validate the entries themselves.

I see IFM_40G_ER4 is missing from the table. There is only IFM_40G_LR4 currently.

Can you add IFM_40G_ER4 as part of this patch aswell?

I see IFM_40G_ER4 is missing from the table. There is only IFM_40G_LR4 currently.

Can you add IFM_40G_ER4 as part of this patch aswell?

Yeah, I'll update the patch with it.

erj edited the summary of this revision. (Show Details)
  • if_media: Add 40Gbase-ER4 media type.
This revision now requires review to proceed.Aug 20 2018, 6:37 PM

Can I get this patch re-reviewed before committing it?

This revision is now accepted and ready to land.Aug 21 2018, 5:47 PM
sys/net/if_media.h
503 ↗(On Diff #46991)

Small typo: Gbase -> GBase

Fix typo (from @hselasky)

However, I now notice that all of the new media types use "Base" instead of "base". Should
they all be changed to use one or the other? Or should the "new/IFM_X()" types continue
to use "Base"?

This revision now requires review to proceed.Aug 22 2018, 12:51 AM

I think "GBase" was the common before this change aswell.

This revision is now accepted and ready to land.Aug 22 2018, 7:35 AM
This revision was automatically updated to reflect the committed changes.