Searched refs:sharindx (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 50 rule->bcast_pol.sharindx = sja1105_find_free_l2_policer(priv); in sja1105_setup_bcast_policer() 55 if (rule->bcast_pol.sharindx == -1) { in sja1105_setup_bcast_policer() 63 if (policing[(ds->num_ports * SJA1105_NUM_TC) + port].sharindx != port) { in sja1105_setup_bcast_policer() 78 policing[bcast].sharindx = rule->bcast_pol.sharindx; in sja1105_setup_bcast_policer() 81 policing[rule->bcast_pol.sharindx].rate = div_u64(rate_bytes_per_sec * in sja1105_setup_bcast_policer() 83 policing[rule->bcast_pol.sharindx].smax = burst; in sja1105_setup_bcast_policer() 86 policing[rule->bcast_pol.sharindx].maxlen = VLAN_ETH_FRAME_LEN + in sja1105_setup_bcast_policer() 93 priv->flow_block.l2_policer_used[rule->bcast_pol.sharindx] = true; in sja1105_setup_bcast_policer() 121 rule->tc_pol.sharindx = sja1105_find_free_l2_policer(priv); in sja1105_setup_tc_policer() 127 if (rule->tc_pol.sharindx == -1) { in sja1105_setup_tc_policer() [all …]
|
H A D | sja1105_vl.c | 334 if (max_sharindx < rule->vl.sharindx) in sja1105_init_virtual_links() 335 max_sharindx = rule->vl.sharindx; in sja1105_init_virtual_links() 486 int sharindx = rule->vl.sharindx; in sja1105_init_virtual_links() local 489 vl_policing[i].sharindx = sharindx; in sja1105_init_virtual_links() 491 vl_policing[sharindx].type = 1; in sja1105_init_virtual_links() 494 vl_fwd[sharindx].type = 1; in sja1105_init_virtual_links() 495 vl_fwd[sharindx].priority = rule->vl.ipv; in sja1105_init_virtual_links() 496 vl_fwd[sharindx].partition = 0; in sja1105_init_virtual_links() 497 vl_fwd[sharindx].destports = rule->vl.destports; in sja1105_init_virtual_links() 634 rule->vl.sharindx = index; in sja1105_vl_gate()
|
H A D | sja1105.h | 218 int sharindx; member 223 int sharindx; member 230 int sharindx; member
|
H A D | sja1105_static_config.h | 309 u64 sharindx; member 410 u64 sharindx; member
|
H A D | sja1105_tas.c | 348 schedule[k].vlindex = e->rule->vl.sharindx; in sja1105_init_scheduling() 349 schedule[k].winstindex = e->rule->vl.sharindx; in sja1105_init_scheduling()
|
H A D | sja1105_static_config.c | 424 sja1105_packing(buf, &entry->sharindx, 63, 58, size, op); in sja1105_l2_policing_entry_packing() 438 sja1105_packing(buf, &entry->sharindx, 63, 57, size, op); in sja1110_l2_policing_entry_packing() 782 sja1105_packing(buf, &entry->sharindx, 51, 42, size, op); in sja1105_vl_policing_entry_packing() 798 sja1105_packing(buf, &entry->sharindx, 51, 40, size, op); in sja1110_vl_policing_entry_packing()
|
H A D | sja1105_main.c | 1036 policing[port * SJA1105_NUM_TC + tc].sharindx = port; in sja1105_init_l2_policing() 1038 policing[bcast].sharindx = port; in sja1105_init_l2_policing() 1041 policing[mcast].sharindx = port; in sja1105_init_l2_policing()
|