Lines Matching +full:port +full:- +full:specific
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Texas Instruments N-Port Ethernet Switch Address Lookup Engine APIs
20 /* NU Switch has specific handling as number of bits in ALE entries
21 * are different than other versions of ALE. Also there are specific
22 * registers for unknown vlan specific fields. So use nu_switch_ale
115 /* port controls */
141 /* ALE unicast entry flags - passed into cpsw_ale_add_ucast() */
165 int cpsw_ale_add_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
167 int cpsw_ale_del_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
173 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag,
175 int cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port);
176 void cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti, int port);
177 int cpsw_ale_rx_ratelimit_bc(struct cpsw_ale *ale, int port, unsigned int ratelimit_pps);
178 int cpsw_ale_rx_ratelimit_mc(struct cpsw_ale *ale, int port, unsigned int ratelimit_pps);
180 int cpsw_ale_control_get(struct cpsw_ale *ale, int port, int control);
181 int cpsw_ale_control_set(struct cpsw_ale *ale, int port,
189 return test_bit(vid, ale->p0_untag_vid_mask); in cpsw_ale_get_vlan_p0_untag()