1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

Configure port RSS settings

This commit is contained in:
Alex Forencich 2021-12-12 17:44:39 -08:00
parent 11f31c896c
commit 22a27a479c

View File

@ -86,6 +86,9 @@ static int mqnic_start_port(struct net_device *ndev)
// set port MTU
mqnic_port_set_tx_mtu(priv->port[k], ndev->mtu + ETH_HLEN);
mqnic_port_set_rx_mtu(priv->port[k], ndev->mtu + ETH_HLEN);
// configure RSS
mqnic_port_set_rss_mask(priv->port[k], 0xffffffff);
}
// enable first port