Home
last modified time | relevance | path

Searched refs:policing (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_flower.c37 struct sja1105_l2_policing_entry *policing; in sja1105_setup_bcast_policer() local
60 policing = priv->static_config.tables[BLK_IDX_L2_POLICING].entries; 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()
108 struct sja1105_l2_policing_entry *policing; in sja1105_setup_tc_policer() local
132 policing = priv->static_config.tables[BLK_IDX_L2_POLICING].entries; in sja1105_setup_tc_policer()
134 if (policing[(port * SJA1105_NUM_TC) + tc].sharindx != port) { in sja1105_setup_tc_policer()
[all …]
Dsja1105_main.c629 struct sja1105_l2_policing_entry *policing; in sja1105_init_l2_policing() local
648 policing = table->entries; in sja1105_init_l2_policing()
655 policing[port * SJA1105_NUM_TC + tc].sharindx = port; in sja1105_init_l2_policing()
657 policing[bcast].sharindx = port; in sja1105_init_l2_policing()
667 policing[port].smax = 65535; /* Burst size in bytes */ in sja1105_init_l2_policing()
668 policing[port].rate = SJA1105_RATE_MBPS(1000); in sja1105_init_l2_policing()
669 policing[port].maxlen = mtu; in sja1105_init_l2_policing()
670 policing[port].partition = 0; in sja1105_init_l2_policing()
3207 struct sja1105_l2_policing_entry *policing; in sja1105_change_mtu() local
3215 policing = priv->static_config.tables[BLK_IDX_L2_POLICING].entries; in sja1105_change_mtu()
[all …]
DKconfig45 - time-based ingress policing, via the tc-gate action
/kernel/linux/linux-5.10/net/sched/
DKconfig758 Say Y here if you want to do traffic policing, i.e. strict
759 bandwidth limiting. This action replaces the existing policing
/kernel/linux/linux-5.10/Documentation/s390/
Dvfio-ccw.rst109 policing and translation how the channel program is programmed before
/kernel/linux/linux-5.10/Documentation/networking/dsa/
Dsja1105.rst433 Time-based ingress policing
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch17198 + policing is required. */