Searched refs:sharindx (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/dsa/sja1105/ |
| H A D | sja1105_flower.c | 49 rule->bcast_pol.sharindx = sja1105_find_free_l2_policer(priv); in sja1105_setup_bcast_policer() 54 if (rule->bcast_pol.sharindx == -1) { in sja1105_setup_bcast_policer() 62 if (policing[(SJA1105_NUM_PORTS * SJA1105_NUM_TC) + port].sharindx != port) { in sja1105_setup_bcast_policer() 77 policing[bcast].sharindx = rule->bcast_pol.sharindx; in sja1105_setup_bcast_policer() 80 policing[rule->bcast_pol.sharindx].rate = div_u64(rate_bytes_per_sec * in sja1105_setup_bcast_policer() 82 policing[rule->bcast_pol.sharindx].smax = burst; in sja1105_setup_bcast_policer() 85 policing[rule->bcast_pol.sharindx].maxlen = VLAN_ETH_FRAME_LEN + in sja1105_setup_bcast_policer() 92 priv->flow_block.l2_policer_used[rule->bcast_pol.sharindx] = true; in sja1105_setup_bcast_policer() 120 rule->tc_pol.sharindx = sja1105_find_free_l2_policer(priv); in sja1105_setup_tc_policer() 126 if (rule->tc_pol.sharindx == -1) { in sja1105_setup_tc_policer() [all …]
|
| H A D | sja1105_vl.c | 321 if (max_sharindx < rule->vl.sharindx) in sja1105_init_virtual_links() 322 max_sharindx = rule->vl.sharindx; in sja1105_init_virtual_links() 471 int sharindx = rule->vl.sharindx; in sja1105_init_virtual_links() local 474 vl_policing[i].sharindx = sharindx; in sja1105_init_virtual_links() 476 vl_policing[sharindx].type = 1; in sja1105_init_virtual_links() 479 vl_fwd[sharindx].type = 1; in sja1105_init_virtual_links() 480 vl_fwd[sharindx].priority = rule->vl.ipv; in sja1105_init_virtual_links() 481 vl_fwd[sharindx].partition = 0; in sja1105_init_virtual_links() 482 vl_fwd[sharindx].destports = rule->vl.destports; in sja1105_init_virtual_links() 621 rule->vl.sharindx = index; in sja1105_vl_gate()
|
| H A D | sja1105.h | 158 int sharindx; member 163 int sharindx; member 170 int sharindx; member
|
| H A D | sja1105_static_config.h | 253 u64 sharindx; member 343 u64 sharindx; member
|
| H A D | sja1105_tas.c | 347 schedule[k].vlindex = e->rule->vl.sharindx; in sja1105_init_scheduling() 348 schedule[k].winstindex = e->rule->vl.sharindx; in sja1105_init_scheduling()
|
| H A D | sja1105_static_config.c | 300 sja1105_packing(buf, &entry->sharindx, 63, 58, size, op); in sja1105_l2_policing_entry_packing() 503 sja1105_packing(buf, &entry->sharindx, 51, 42, size, op); in sja1105_vl_policing_entry_packing()
|
| H A D | sja1105_main.c | 655 policing[port * SJA1105_NUM_TC + tc].sharindx = port; in sja1105_init_l2_policing() 657 policing[bcast].sharindx = port; in sja1105_init_l2_policing()
|