Searched refs:policing (Results 1 – 6 of 6) sorted by relevance
37 struct sja1105_l2_policing_entry *policing; in sja1105_setup_bcast_policer() local61 policing = priv->static_config.tables[BLK_IDX_L2_POLICING].entries; 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()109 struct sja1105_l2_policing_entry *policing; in sja1105_setup_tc_policer() local133 policing = priv->static_config.tables[BLK_IDX_L2_POLICING].entries; in sja1105_setup_tc_policer()135 if (policing[(port * SJA1105_NUM_TC) + tc].sharindx != port) { in sja1105_setup_tc_policer()[all …]
1010 struct sja1105_l2_policing_entry *policing; in sja1105_init_l2_policing() local1030 policing = table->entries; in sja1105_init_l2_policing()1038 policing[port * SJA1105_NUM_TC + tc].sharindx = port; in sja1105_init_l2_policing()1040 policing[bcast].sharindx = port; in sja1105_init_l2_policing()1043 policing[mcast].sharindx = port; in sja1105_init_l2_policing()1053 policing[port].smax = 65535; /* Burst size in bytes */ in sja1105_init_l2_policing()1054 policing[port].rate = SJA1105_RATE_MBPS(1000); in sja1105_init_l2_policing()1055 policing[port].maxlen = mtu; in sja1105_init_l2_policing()1056 policing[port].partition = 0; in sja1105_init_l2_policing()2801 struct sja1105_l2_policing_entry *policing; in sja1105_change_mtu() local[all …]
51 - time-based ingress policing, via the tc-gate action
695 Say Y here if you want to do traffic policing, i.e. strict696 bandwidth limiting. This action replaces the existing policing
109 policing and translation how the channel program is programmed before
219 Time-based ingress policing