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
17 /* NU Switch has specific handling as number of bits in ALE entries
18 * are different than other versions of ALE. Also there are specific
19 * registers for unknown vlan specific fields. So use nu_switch_ale
61 /* port controls */
87 /* ALE unicast entry flags - passed into cpsw_ale_add_ucast() */
111 int cpsw_ale_add_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
113 int cpsw_ale_del_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
119 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag,
121 int cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port);
122 void cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti, int port);
123 int cpsw_ale_rx_ratelimit_bc(struct cpsw_ale *ale, int port, unsigned int ratelimit_pps);
124 int cpsw_ale_rx_ratelimit_mc(struct cpsw_ale *ale, int port, unsigned int ratelimit_pps);
126 int cpsw_ale_control_get(struct cpsw_ale *ale, int port, int control);
127 int cpsw_ale_control_set(struct cpsw_ale *ale, int port,
134 return test_bit(vid, ale->p0_untag_vid_mask); in cpsw_ale_get_vlan_p0_untag()