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

/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c37 struct sja1105_l2_policing_entry *policing; local
61 policing = priv->static_config.tables[BLK_IDX_L2_POLICING].entries;
63 if (policing[(ds->num_ports * SJA1105_NUM_TC) + port].sharindx != port) {
78 policing[bcast].sharindx = rule->bcast_pol.sharindx;
81 policing[rule->bcast_pol.sharindx].rate = div_u64(rate_bytes_per_sec *
83 policing[rule->bcast_pol.sharindx].smax = burst;
86 policing[rule->bcast_pol.sharindx].maxlen = VLAN_ETH_FRAME_LEN +
109 struct sja1105_l2_policing_entry *policing; local
133 policing = priv->static_config.tables[BLK_IDX_L2_POLICING].entries;
135 if (policing[(por
464 struct sja1105_l2_policing_entry *policing; local
[all...]
H A Dsja1105_main.c963 /* The L2 policing table is 2-stage. The table is looked up for each frame
967 * within the policing table itself, which is used to resolve the policer that
1010 struct sja1105_l2_policing_entry *policing; local
1030 policing = table->entries;
1038 policing[port * SJA1105_NUM_TC + tc].sharindx = port;
1040 policing[bcast].sharindx = port;
1043 policing[mcast].sharindx = port;
1053 policing[port].smax = 65535; /* Burst size in bytes */
1054 policing[port].rate = SJA1105_RATE_MBPS(1000);
1055 policing[por
2797 struct sja1105_l2_policing_entry *policing; local
2916 struct sja1105_l2_policing_entry *policing; local
2934 struct sja1105_l2_policing_entry *policing; local
[all...]

Completed in 125 milliseconds