From 22a27a479cf75d6f2f72230c5c4b5f4f697df9cd Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sun, 12 Dec 2021 17:44:39 -0800 Subject: [PATCH] Configure port RSS settings --- modules/mqnic/mqnic_netdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/mqnic/mqnic_netdev.c b/modules/mqnic/mqnic_netdev.c index 908366736..cb748555a 100644 --- a/modules/mqnic/mqnic_netdev.c +++ b/modules/mqnic/mqnic_netdev.c @@ -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