mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Initialize if_baudrate using IF_Gbps() macro.
Note that if_baudrate is a long, and 32-bits isn't enough to properly represent 10Gb/s. Pointed out by: dwhite
This commit is contained in:
parent
7abb97dcd8
commit
e5062938d1
1 changed files with 1 additions and 1 deletions
|
|
@ -4240,7 +4240,7 @@ mxge_attach(device_t dev)
|
|||
goto abort_with_rings;
|
||||
}
|
||||
|
||||
ifp->if_baudrate = 100000000;
|
||||
ifp->if_baudrate = IF_Gbps(10UL);
|
||||
ifp->if_capabilities = IFCAP_RXCSUM | IFCAP_TXCSUM | IFCAP_TSO4 |
|
||||
IFCAP_VLAN_MTU | IFCAP_LRO;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue