Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c838 u32 new_rss_cfg = nn->rss_cfg; in nfp_net_set_rss_hash_opt() local
861 new_rss_cfg &= ~nfp_rss_flag; in nfp_net_set_rss_hash_opt()
864 new_rss_cfg |= nfp_rss_flag; in nfp_net_set_rss_hash_opt()
870 new_rss_cfg |= FIELD_PREP(NFP_NET_CFG_RSS_HFUNC, nn->rss_hfunc); in nfp_net_set_rss_hash_opt()
871 new_rss_cfg |= NFP_NET_CFG_RSS_MASK; in nfp_net_set_rss_hash_opt()
873 if (new_rss_cfg == nn->rss_cfg) in nfp_net_set_rss_hash_opt()
876 writel(new_rss_cfg, nn->dp.ctrl_bar + NFP_NET_CFG_RSS_CTRL); in nfp_net_set_rss_hash_opt()
881 nn->rss_cfg = new_rss_cfg; in nfp_net_set_rss_hash_opt()