Home
last modified time | relevance | path

Searched refs:flow_id (Results 1 – 25 of 80) sorted by relevance

1234

/linux/drivers/net/ethernet/intel/ice/
H A Dice_arfs.c124 e->flow_id, e->fltr_info.q_index); in ice_arfs_del_flow_rules()
164 ep->arfs_entry->flow_id, in ice_arfs_add_flow_rules()
186 arfs_entry->flow_id, in ice_arfs_is_flow_expired()
302 u16 rxq_idx, u32 flow_id) in ice_arfs_build_entry() argument
342 arfs_entry->flow_id = flow_id; in ice_arfs_build_entry()
398 u16 rxq_idx, u32 flow_id) in ice_rx_flow_steer() argument
447 if (arfs_entry->flow_id != flow_id) in ice_rx_flow_steer()
464 arfs_entry = ice_arfs_build_entry(vsi, &fk, rxq_idx, flow_id); in ice_rx_flow_steer()
H A Dice_arfs.h19 u32 flow_id; member
46 u16 rxq_idx, u32 flow_id);
73 u16 __always_unused rxq_idx, u32 __always_unused flow_id) in ice_rx_flow_steer() argument
H A Dice_virtchnl_fdir.c44 u32 flow_id; member
1698 resp->flow_id = conf->flow_id; in ice_vc_add_fdir_fltr_post()
1707 vf->vf_id, conf->flow_id, in ice_vc_add_fdir_fltr_post()
1715 ice_vc_fdir_remove_entry(vf, conf, conf->flow_id); in ice_vc_add_fdir_fltr_post()
1763 ice_vc_fdir_remove_entry(vf, conf, conf->flow_id); in ice_vc_del_fdir_fltr_post()
1772 vf->vf_id, conf->flow_id, in ice_vc_del_fdir_fltr_post()
2030 ret = ice_vc_fdir_insert_entry(vf, conf, &conf->flow_id); in ice_vc_add_fdir_raw()
2067 ice_vc_fdir_remove_entry(vf, conf, conf->flow_id); in ice_vc_add_fdir_raw()
2178 ret = ice_vc_fdir_insert_entry(vf, conf, &conf->flow_id); in ice_vc_add_fdir_fltr()
2210 ice_vc_fdir_remove_entry(vf, conf, conf->flow_id); in ice_vc_add_fdir_fltr()
[all …]
H A Dice_lan_tx_rx.h236 __le32 flow_id; member
275 __le16 flow_id; member
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs.c435 reg = MCSX_CPM_RX_SLAVE_SECY_MAP_MEMX(map->flow_id); in cn10kb_mcs_flowid_secy_map()
438 reg = MCSX_CPM_TX_SLAVE_SECY_MAP_MEM_0X(map->flow_id); in cn10kb_mcs_flowid_secy_map()
444 void mcs_ena_dis_flowid_entry(struct mcs *mcs, int flow_id, int dir, int ena) in mcs_ena_dis_flowid_entry() argument
450 if (flow_id > 63) in mcs_ena_dis_flowid_entry()
454 if (flow_id > 63) in mcs_ena_dis_flowid_entry()
460 val = mcs_reg_read(mcs, reg) | BIT_ULL(flow_id); in mcs_ena_dis_flowid_entry()
462 val = mcs_reg_read(mcs, reg) & ~BIT_ULL(flow_id); in mcs_ena_dis_flowid_entry()
467 void mcs_flowid_entry_write(struct mcs *mcs, u64 *data, u64 *mask, int flow_id, int dir) in mcs_flowid_entry_write() argument
474 reg = MCSX_CPM_RX_SLAVE_FLOWID_TCAM_DATAX(reg_id, flow_id); in mcs_flowid_entry_write()
478 reg = MCSX_CPM_RX_SLAVE_FLOWID_TCAM_MASKX(reg_id, flow_id); in mcs_flowid_entry_write()
[all …]
H A Dmcs_cnf10kb.c79 reg = MCSX_CPM_RX_SLAVE_SECY_MAP_MEMX(map->flow_id); in cnf10kb_mcs_flowid_secy_map()
81 reg = MCSX_CPM_TX_SLAVE_SECY_MAP_MEM_0X(map->flow_id); in cnf10kb_mcs_flowid_secy_map()
84 reg = MCSX_CPM_TX_SLAVE_SECY_MAP_MEM_1X(map->flow_id); in cnf10kb_mcs_flowid_secy_map()
H A Dmcs_rvu_if.c489 mcs_ena_dis_flowid_entry(mcs, req->flow_id, req->dir, req->ena); in rvu_mbox_handler_mcs_flowid_ena_entry()
614 req->flow_id, req->dir); in rvu_mbox_handler_mcs_flowid_entry_write()
618 map.flow_id = req->flow_id; in rvu_mbox_handler_mcs_flowid_entry_write()
622 mcs_ena_dis_flowid_entry(mcs, req->flow_id, in rvu_mbox_handler_mcs_flowid_entry_write()
/linux/drivers/net/ethernet/sfc/siena/
H A Drx_common.c847 channel->rps_flow_id[rc] = req->flow_id; in efx_filter_rfs_work()
856 req->rxq_index, req->flow_id, rc, arfs_id); in efx_filter_rfs_work()
863 req->rxq_index, req->flow_id, rc, arfs_id); in efx_filter_rfs_work()
872 req->rxq_index, req->flow_id, rc, arfs_id); in efx_filter_rfs_work()
879 req->rxq_index, req->flow_id, rc, arfs_id); in efx_filter_rfs_work()
895 u16 rxq_index, u32 flow_id) in efx_siena_filter_rfs() argument
912 if (flow_id == RPS_FLOW_ID_INVALID) { in efx_siena_filter_rfs()
986 req->flow_id = flow_id; in efx_siena_filter_rfs()
999 bool (*expire_one)(struct efx_nic *efx, u32 flow_id, unsigned int index); in __efx_siena_filter_rfs_expire()
1002 u32 flow_id; in __efx_siena_filter_rfs_expire() local
[all …]
H A Drx_common.h98 u16 rxq_index, u32 flow_id);
/linux/drivers/net/ethernet/sfc/
H A Drx_common.c854 channel->rps_flow_id[rc] = req->flow_id; in efx_filter_rfs_work()
863 req->rxq_index, req->flow_id, rc, arfs_id); in efx_filter_rfs_work()
870 req->rxq_index, req->flow_id, rc, arfs_id); in efx_filter_rfs_work()
879 req->rxq_index, req->flow_id, rc, arfs_id); in efx_filter_rfs_work()
886 req->rxq_index, req->flow_id, rc, arfs_id); in efx_filter_rfs_work()
901 u16 rxq_index, u32 flow_id) in efx_filter_rfs() argument
918 if (flow_id == RPS_FLOW_ID_INVALID) { in efx_filter_rfs()
992 req->flow_id = flow_id; in efx_filter_rfs()
1004 bool (*expire_one)(struct efx_nic *efx, u32 flow_id, unsigned int index); in __efx_filter_rfs_expire()
1007 u32 flow_id; in __efx_filter_rfs_expire() local
[all …]
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.c141 n->flow_id, n->fltr_id); in enic_flow_may_expire()
172 u16 rxq_index, u32 flow_id) in enic_rx_flow_steer() argument
250 n->flow_id = flow_id; in enic_rx_flow_steer()
275 n->flow_id = flow_id; in enic_rx_flow_steer()
H A Denic_clsf.h18 u16 rxq_index, u32 flow_id);
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_fwd.c255 flow->flow_id = (uint32_t) a0; in usnic_fwd_alloc_flow()
274 a0 = flow->flow_id; in usnic_fwd_dealloc_flow()
281 flow->flow_id, flow->vnic_idx, in usnic_fwd_dealloc_flow()
286 flow->flow_id, status); in usnic_fwd_dealloc_flow()
297 flow->flow_id); in usnic_fwd_dealloc_flow()
H A Dusnic_fwd.h64 uint32_t flow_id; member
H A Dusnic_debugfs.c131 "%u", qp_flow->flow->flow_id); in usnic_debugfs_flow_add()
/linux/drivers/net/ethernet/sfc/falcon/
H A Drx.c843 u16 rxq_index, u32 flow_id) in ef4_filter_rfs() argument
851 if (flow_id == RPS_FLOW_ID_INVALID) in ef4_filter_rfs()
889 channel->rps_flow_id[rc] = flow_id; in ef4_filter_rfs()
897 ntohs(spec.loc_port), rxq_index, flow_id, rc); in ef4_filter_rfs()
903 ntohs(spec.loc_port), rxq_index, flow_id, rc); in ef4_filter_rfs()
910 bool (*expire_one)(struct ef4_nic *efx, u32 flow_id, unsigned int index); in __ef4_filter_rfs_expire()
912 u32 flow_id; in __ef4_filter_rfs_expire() local
923 flow_id = channel->rps_flow_id[index]; in __ef4_filter_rfs_expire()
925 if (flow_id != RPS_FLOW_ID_INVALID && in __ef4_filter_rfs_expire()
926 expire_one(efx, flow_id, index)) { in __ef4_filter_rfs_expire()
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_rx_filter.h16 u32 flow_id; member
38 int ionic_rx_filter_save(struct ionic_lif *lif, u32 flow_id, u16 rxq_index,
H A Dionic_debugfs.c245 f->filter_id, f->flow_id, f->state, in lif_filters_show()
250 f->filter_id, f->flow_id, f->state, in lif_filters_show()
255 f->filter_id, f->flow_id, f->state, in lif_filters_show()
261 f->filter_id, f->flow_id, f->state, in lif_filters_show()
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.h200 u16 flow_id; member
230 cls_flows[(i)].flow_id == cls_flows[(i) - 1].flow_id) \
H A Dmvpp2_cls.c17 .flow_id = _id, \
474 mvpp2_prs_add_flow(priv, flow->flow_id, flow->prs_ri.ri, in mvpp2_cls_flow_prs_init()
485 le.lkpid = flow->flow_id; in mvpp2_cls_flow_lkp_init()
493 le.data |= MVPP2_CLS_LKP_FLOW_PTR(MVPP2_CLS_FLT_FIRST(flow->flow_id)); in mvpp2_cls_flow_lkp_init()
589 for (i = MVPP2_CLS_FLT_FIRST(flow->flow_id); in mvpp2_cls_flow_init()
590 i <= MVPP2_CLS_FLT_LAST(flow->flow_id); i++) { in mvpp2_cls_flow_init()
595 if (i == MVPP2_CLS_FLT_LAST(flow->flow_id)) in mvpp2_cls_flow_init()
602 mvpp2_cls_flow_read(priv, MVPP2_CLS_FLT_C2_RSS_ENTRY(flow->flow_id), in mvpp2_cls_flow_init()
618 MVPP2_CLS_FLT_HASH_ENTRY(i, flow->flow_id), in mvpp2_cls_flow_init()
753 flow_index = MVPP2_CLS_FLT_HASH_ENTRY(port->id, flow->flow_id); in mvpp2_port_rss_hash_opts_set()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c92 int flow_id; member
437 arfs_rule->rxq, arfs_rule->flow_id, in arfs_may_expire_flow()
659 u16 rxq, u32 flow_id) in arfs_alloc_rule() argument
690 rule->flow_id = flow_id; in arfs_alloc_rule()
732 u16 rxq_index, u32 flow_id) in mlx5e_rx_flow_steer() argument
772 arfs_rule = arfs_alloc_rule(priv, arfs_t, &fk, rxq_index, flow_id); in mlx5e_rx_flow_steer()
/linux/include/linux/dma/
H A Dti-cppi5.h225 u32 *pkt_id, u32 *flow_id) in cppi5_desc_get_pktids() argument
229 *flow_id = (desc_hdr->pkt_info1 & CPPI5_INFO1_DESC_FLOWID_MASK) >> in cppi5_desc_get_pktids()
240 u32 pkt_id, u32 flow_id) in cppi5_desc_set_pktids() argument
246 desc_hdr->pkt_info1 |= (flow_id << CPPI5_INFO1_DESC_FLOWID_SHIFT) & in cppi5_desc_set_pktids()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwsignal.c1671 u8 flow_id, max_idx, cur_idx, exp_idx, end_idx; in brcmf_fws_rxreorder() local
1678 flow_id = reorder_data[BRCMF_RXREORDER_FLOWID_OFFSET]; in brcmf_fws_rxreorder()
1688 rfi = ifp->drvr->reorder_flows[flow_id]; in brcmf_fws_rxreorder()
1691 flow_id); in brcmf_fws_rxreorder()
1695 flow_id); in brcmf_fws_rxreorder()
1705 ifp->drvr->reorder_flows[flow_id] = NULL; in brcmf_fws_rxreorder()
1714 flow_id, max_idx); in brcmf_fws_rxreorder()
1723 ifp->drvr->reorder_flows[flow_id] = rfi; in brcmf_fws_rxreorder()
1741 flow_id, rfi->cur_idx, rfi->exp_idx, rfi->pend_pkts); in brcmf_fws_rxreorder()
1758 flow_id, cur_idx, exp_idx, rfi->pend_pkts); in brcmf_fws_rxreorder()
[all …]
/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.c463 u8 flow_id; in opa_vnic_get_def_port() local
466 flow_id = ((entropy & 0xf) + (entropy >> 4)); in opa_vnic_get_def_port()
467 return adapter->flow_tbl[flow_id & (OPA_VNIC_FLOW_TBL_SIZE - 1)]; in opa_vnic_get_def_port()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.h118 u32 flow_id; member

1234