Searched refs:prs_shadow (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvpp2.c647 struct mvpp2_prs_shadow *prs_shadow; member in struct:mvpp2
1051 priv->prs_shadow[index].valid = true; mvpp2_prs_shadow_set()
1052 priv->prs_shadow[index].lu = lu; mvpp2_prs_shadow_set()
1059 priv->prs_shadow[index].ri_mask = ri_mask; mvpp2_prs_shadow_ri_set()
1060 priv->prs_shadow[index].ri = ri; mvpp2_prs_shadow_ri_set()
1349 if (!priv->prs_shadow[tid].valid || mvpp2_prs_flow_find()
1350 priv->prs_shadow[tid].lu != MVPP2_PRS_LU_FLOWS) mvpp2_prs_flow_find()
1379 if (!priv->prs_shadow[tid].valid) mvpp2_prs_tcam_first_free()
1391 if (priv->prs_shadow[MVPP2_PE_DROP_ALL].valid) { mvpp2_prs_mac_drop_all_set()
1428 if (priv->prs_shadow[MVPP2_PE_MAC_PROMISCUOUS].valid) { mvpp2_prs_mac_promisc_set()
1474 if (priv->prs_shadow[index].valid) { mvpp2_prs_mac_multi_set()
1526 if (priv->prs_shadow[tid].valid) { mvpp2_prs_dsa_tag_set()
1589 if (priv->prs_shadow[tid].valid) { mvpp2_prs_dsa_tag_ethertype_set()
1657 if (!priv->prs_shadow[tid].valid || mvpp2_prs_vlan_find()
1658 priv->prs_shadow[tid].lu != MVPP2_PRS_LU_VLAN) mvpp2_prs_vlan_find()
1715 if (!priv->prs_shadow[tid_aux].valid || mvpp2_prs_vlan_add()
1716 priv->prs_shadow[tid_aux].lu != MVPP2_PRS_LU_VLAN) mvpp2_prs_vlan_add()
1800 if (!priv->prs_shadow[tid].valid || mvpp2_prs_double_vlan_find()
1801 priv->prs_shadow[tid].lu != MVPP2_PRS_LU_VLAN) mvpp2_prs_double_vlan_find()
1855 if (!priv->prs_shadow[tid_aux].valid || mvpp2_prs_double_vlan_add()
1856 priv->prs_shadow[tid_aux].lu != MVPP2_PRS_LU_VLAN) mvpp2_prs_double_vlan_add()
2283 priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; mvpp2_prs_etype_init()
2284 priv->prs_shadow[pe.index].finish = false; mvpp2_prs_etype_init()
2313 priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; mvpp2_prs_etype_init()
2314 priv->prs_shadow[pe.index].finish = true; mvpp2_prs_etype_init()
2345 priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; mvpp2_prs_etype_init()
2346 priv->prs_shadow[pe.index].finish = true; mvpp2_prs_etype_init()
2382 priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; mvpp2_prs_etype_init()
2383 priv->prs_shadow[pe.index].finish = false; mvpp2_prs_etype_init()
2412 priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; mvpp2_prs_etype_init()
2413 priv->prs_shadow[pe.index].finish = false; mvpp2_prs_etype_init()
2443 priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; mvpp2_prs_etype_init()
2444 priv->prs_shadow[pe.index].finish = false; mvpp2_prs_etype_init()
2469 priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; mvpp2_prs_etype_init()
2470 priv->prs_shadow[pe.index].finish = true; mvpp2_prs_etype_init()
2912 priv->prs_shadow = devm_kcalloc(&pdev->dev, MVPP2_PRS_TCAM_SRAM_SIZE, mvpp2_prs_default_init()
2915 if (!priv->prs_shadow) mvpp2_prs_default_init()
2991 if (!priv->prs_shadow[tid].valid || mvpp2_prs_mac_da_range_find()
2992 (priv->prs_shadow[tid].lu != MVPP2_PRS_LU_MAC) || mvpp2_prs_mac_da_range_find()
2993 (priv->prs_shadow[tid].udf != udf_type)) mvpp2_prs_mac_da_range_find()
3031 if (priv->prs_shadow[tid].valid && mvpp2_prs_mac_da_accept()
3032 (priv->prs_shadow[tid].lu == MVPP2_PRS_LU_MAC) && mvpp2_prs_mac_da_accept()
3033 (priv->prs_shadow[tid].udf == mvpp2_prs_mac_da_accept()
3064 priv->prs_shadow[pe->index].valid = false; mvpp2_prs_mac_da_accept()
3095 priv->prs_shadow[pe->index].udf = MVPP2_PRS_UDF_MAC_DEF; mvpp2_prs_mac_da_accept()
3136 if (!priv->prs_shadow[tid].valid || mvpp2_prs_mcast_del_all()
3137 (priv->prs_shadow[tid].lu != MVPP2_PRS_LU_MAC) || mvpp2_prs_mcast_del_all()
3138 (priv->prs_shadow[tid].udf != MVPP2_PRS_UDF_MAC_DEF)) mvpp2_prs_mcast_del_all()

Completed in 98 milliseconds