Use if_initbaudrate().
This commit is contained in:
parent
9a41df2a0e
commit
989343faad
@ -876,7 +876,7 @@ ipoib_intf_alloc(const char *name)
|
||||
dev->if_output = ipoib_output;
|
||||
dev->if_input = ipoib_input;
|
||||
dev->if_resolvemulti = ipoib_resolvemulti;
|
||||
dev->if_baudrate = IF_Gbps(10UL);
|
||||
if_initbaudrate(dev, IF_Gbps(10));
|
||||
dev->if_broadcastaddr = priv->broadcastaddr;
|
||||
dev->if_snd.ifq_maxlen = ipoib_sendq_size * 2;
|
||||
sdl = (struct sockaddr_dl *)dev->if_addr->ifa_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user