Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c425 if (!(rss->flowkey_cfg & in otx2_get_rss_hash_opts()
431 if (rss->flowkey_cfg & NIX_FLOW_KEY_TYPE_VLAN) in otx2_get_rss_hash_opts()
437 if (rss->flowkey_cfg & NIX_FLOW_KEY_TYPE_TCP) in otx2_get_rss_hash_opts()
442 if (rss->flowkey_cfg & NIX_FLOW_KEY_TYPE_UDP) in otx2_get_rss_hash_opts()
447 if (rss->flowkey_cfg & NIX_FLOW_KEY_TYPE_SCTP) in otx2_get_rss_hash_opts()
470 u32 rss_cfg = rss->flowkey_cfg; in otx2_set_rss_hash_opts()
538 rss->flowkey_cfg = rss_cfg; in otx2_set_rss_hash_opts()
Dotx2_common.c261 req->flowkey_cfg = rss->flowkey_cfg; in otx2_set_flowkey_cfg()
355 rss->flowkey_cfg = rss->enable ? rss->flowkey_cfg : in otx2_rss_init()
Dotx2_txrx.c177 if (rss->flowkey_cfg) { in otx2_set_rxhash()
178 if (rss->flowkey_cfg & in otx2_set_rxhash()
Dotx2_common.h53 u32 flowkey_cfg; member
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c2596 alg_idx = get_flowkey_alg_idx(nix_hw, req->flowkey_cfg); in rvu_mbox_handler_nix_rss_flowkey_cfg()
2600 req->flowkey_cfg); in rvu_mbox_handler_nix_rss_flowkey_cfg()
2612 u32 flowkey_cfg, minkey_cfg; in nix_rx_flowkey_alg_cfg() local
2624 flowkey_cfg = NIX_FLOW_KEY_TYPE_IPV4 | NIX_FLOW_KEY_TYPE_IPV6; in nix_rx_flowkey_alg_cfg()
2625 rc = reserve_flowkey_alg_idx(rvu, blkaddr, flowkey_cfg); in nix_rx_flowkey_alg_cfg()
2630 minkey_cfg = flowkey_cfg; in nix_rx_flowkey_alg_cfg()
2631 flowkey_cfg = minkey_cfg | NIX_FLOW_KEY_TYPE_TCP; in nix_rx_flowkey_alg_cfg()
2632 rc = reserve_flowkey_alg_idx(rvu, blkaddr, flowkey_cfg); in nix_rx_flowkey_alg_cfg()
2637 flowkey_cfg = minkey_cfg | NIX_FLOW_KEY_TYPE_UDP; in nix_rx_flowkey_alg_cfg()
2638 rc = reserve_flowkey_alg_idx(rvu, blkaddr, flowkey_cfg); in nix_rx_flowkey_alg_cfg()
[all …]
Dmbox.h630 u32 flowkey_cfg; /* Flowkey types selected */ member