Bug 240945 - [hyper-v] [netvsc] hn network driver incorrectly detects baudrate
Summary: [hyper-v] [netvsc] hn network driver incorrectly detects baudrate
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.3-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-virtualization mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-30 17:20 UTC by Nova_Logic
Modified: 2019-11-29 12:42 UTC (History)
0 users

See Also:
geostel: maintainer-feedback?
geostel: mfc-stable12?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nova_Logic 2019-09-30 17:20:54 UTC
Hi!
I have VM with latests pfsense, I was curious why net incorrectly detects link speed ( 10 gbps instead 25gbps), 
had found that baudrate was manually hardcoded in driver.
By that line:
	ifp->if_baudrate = IF_Gbps(10);
in:
https://github.com/freebsd/freebsd/commit/e57ec55e201d11e94f8ef77f0eee70cbe212ca28

Since networking moving forward it would be great to detect link speeds correctly and allow more than 10 gbps in hyper-v vms.

P.S.
My hypervsiros using win 2019, and QLogic FastLinQ QL41212HLCU Dual-Port 25GbE Adapters