Use if_initbaudrate().
This commit is contained in:
parent
9a41df2a0e
commit
989343faad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241696
@ -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