Page MenuHomeFreeBSD

bnxt: Return proper values for 'supported media' & 'media' of ifconfig.
ClosedPublic

Authored by bhargava.marreddy_broadcom.com on May 19 2017, 1:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 7, 8:59 AM
Unknown Object (File)
Thu, Sep 5, 11:48 PM
Unknown Object (File)
Sat, Aug 24, 5:40 AM
Unknown Object (File)
Thu, Aug 22, 11:56 PM
Unknown Object (File)
Sun, Aug 18, 8:42 AM
Unknown Object (File)
Jul 30 2024, 1:22 AM
Unknown Object (File)
Jul 9 2024, 8:10 AM
Unknown Object (File)
Jul 2 2024, 1:31 AM

Diff Detail

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

Event Timeline

I understand from the limited explanation in the review title, that this is a "return proper values" type of commit. The comments in the code and the way the code is structured seem to indicate that this code is trying to "workaround" something new or an existing bug. The way the code is implemented looks to bypass the existing detection and logic for media types in the code, as though there is something missing.

Can I get a better explanation on the failure case this code is trying to resolve? I don't know that it does what it is intended to do.

Yes, This is temporary workaround until our firmware team merges Link related features into main stream (ETA is 1 to 2 months).
For example, Current firmware is not filling interface_type which is required to derive Supported Speeds and workaround is to blindly support 10G, 25G, 50G & 100G when interface_type is 0.
I'm going to delete this workaround in future when our Firmware is ready with all Link related functionality.

Thanks,
Chenna.

This revision is now accepted and ready to land.May 23 2017, 8:00 PM

Hi,

Can you please commit this patch if no further reviews?

Thanks,
Bhargava Chenna, Marreddy

This revision was automatically updated to reflect the committed changes.