Searched refs:mac_vid (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/net/dsa/b53/ |
D | b53_priv.h | 286 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()
|
D | b53_common.c | 1628 u64 mac_vid; in b53_arl_read() local 1632 B53_ARLTBL_MAC_VID_ENTRY(i), &mac_vid); in b53_arl_read() 1635 b53_arl_to_entry(ent, mac_vid, fwd_entry); in b53_arl_read() 1641 if ((mac_vid & ARLTBL_MAC_MASK) != mac) in b53_arl_read() 1644 ((mac_vid >> ARLTBL_VID_S) & ARLTBL_VID_MASK) != vid) in b53_arl_read() 1659 u64 mac, mac_vid = 0; in b53_arl_op() local 1719 b53_arl_from_entry(&mac_vid, &fwd_entry, &ent); in b53_arl_op() 1722 B53_ARLTBL_MAC_VID_ENTRY(idx), mac_vid); in b53_arl_op() 1787 u64 mac_vid; in b53_arl_search_rd() local 1791 B53_ARL_SRCH_RSTL_MACVID(idx), &mac_vid); in b53_arl_search_rd() [all …]
|