Fix r284612: As pointed out by jhb, in stable branches, if_baudrate
is 32b on 32b platforms. So rather than a simple MFC of r284612, we need to use if_initbaudrate() to properly express a 40Gb speed. Spotted by: jhb Sponsored by: Netflix
This commit is contained in:
parent
ae7c0e0461
commit
00b69b27e8
@ -2324,7 +2324,7 @@ ixl_setup_interface(device_t dev, struct ixl_vsi *vsi)
|
||||
}
|
||||
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_baudrate = IF_Gbps(40);
|
||||
if_initbaudrate(ifp, IF_Gbps(40));
|
||||
ifp->if_init = ixl_init;
|
||||
ifp->if_softc = vsi;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
|
Loading…
Reference in New Issue
Block a user