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: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-30 17:20 UTC by Nova_Logic
Modified: 2019-12-22 00:41 UTC (History)
1 user (show)

See Also:
geostel: mfc-stable12?
geostel: mfc-stable11?
geostel: mfc-stable10?


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
Comment 1 Nova_Logic 2019-12-20 14:11:15 UTC
also it's not working in freebsd 12.1,seems it affects every freebsd installation on hyper-v