Home
last modified time | relevance | path

Searched refs:mac_vid (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/dsa/b53/
Db53_priv.h286 u64 mac_vid, u32 fwd_entry) in b53_arl_to_entry() argument
293 u64_to_ether_addr(mac_vid, ent->mac); in b53_arl_to_entry()
294 ent->vid = mac_vid >> ARLTBL_VID_S; in b53_arl_to_entry()
297 static inline void b53_arl_from_entry(u64 *mac_vid, u32 *fwd_entry, in b53_arl_from_entry() argument
300 *mac_vid = ether_addr_to_u64(ent->mac); in b53_arl_from_entry()
301 *mac_vid |= (u64)(ent->vid & ARLTBL_VID_MASK) << ARLTBL_VID_S; in b53_arl_from_entry()
Db53_common.c1644 u64 mac_vid; in b53_arl_read() local
1648 B53_ARLTBL_MAC_VID_ENTRY(i), &mac_vid); in b53_arl_read()
1651 b53_arl_to_entry(ent, mac_vid, fwd_entry); in b53_arl_read()
1657 if ((mac_vid & ARLTBL_MAC_MASK) != mac) in b53_arl_read()
1660 ((mac_vid >> ARLTBL_VID_S) & ARLTBL_VID_MASK) != vid) in b53_arl_read()
1675 u64 mac, mac_vid = 0; in b53_arl_op() local
1735 b53_arl_from_entry(&mac_vid, &fwd_entry, &ent); in b53_arl_op()
1738 B53_ARLTBL_MAC_VID_ENTRY(idx), mac_vid); in b53_arl_op()
1803 u64 mac_vid; in b53_arl_search_rd() local
1807 B53_ARL_SRCH_RSTL_MACVID(idx), &mac_vid); in b53_arl_search_rd()
[all …]