Home
last modified time | relevance | path

Searched refs:new_rss_cfg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1339 u32 new_rss_cfg = nn->rss_cfg; in nfp_net_set_rss_hash_opt() local
1362 new_rss_cfg &= ~nfp_rss_flag; in nfp_net_set_rss_hash_opt()
1365 new_rss_cfg |= nfp_rss_flag; in nfp_net_set_rss_hash_opt()
1371 new_rss_cfg |= FIELD_PREP(NFP_NET_CFG_RSS_HFUNC, nn->rss_hfunc); in nfp_net_set_rss_hash_opt()
1372 new_rss_cfg |= NFP_NET_CFG_RSS_MASK; in nfp_net_set_rss_hash_opt()
1374 if (new_rss_cfg == nn->rss_cfg) in nfp_net_set_rss_hash_opt()
1377 writel(new_rss_cfg, nn->dp.ctrl_bar + NFP_NET_CFG_RSS_CTRL); in nfp_net_set_rss_hash_opt()
1382 nn->rss_cfg = new_rss_cfg; in nfp_net_set_rss_hash_opt()