Searched refs:fwd_entry (Results 1 – 3 of 3) sorted by relevance
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | core_acl_flex_actions.c | 563 fwd_entry = kzalloc(sizeof(*fwd_entry), GFP_KERNEL); in mlxsw_afa_fwd_entry_create() 564 if (!fwd_entry) in mlxsw_afa_fwd_entry_create() 570 &fwd_entry->ht_node, in mlxsw_afa_fwd_entry_create() 580 return fwd_entry; in mlxsw_afa_fwd_entry_create() 586 kfree(fwd_entry); in mlxsw_afa_fwd_entry_create() 597 kfree(fwd_entry); in mlxsw_afa_fwd_entry_destroy() 609 if (fwd_entry) { in mlxsw_afa_fwd_entry_get() 611 return fwd_entry; in mlxsw_afa_fwd_entry_get() 660 if (IS_ERR(fwd_entry)) { in mlxsw_afa_fwd_entry_ref_create() 661 err = PTR_ERR(fwd_entry); in mlxsw_afa_fwd_entry_ref_create() [all …]
|
| /drivers/net/dsa/b53/ |
| A D | b53_priv.h | 320 u64 mac_vid, u32 fwd_entry) in b53_arl_to_entry() argument 323 ent->port = fwd_entry & ARLTBL_DATA_PORT_ID_MASK; in b53_arl_to_entry() 324 ent->is_valid = !!(fwd_entry & ARLTBL_VALID); in b53_arl_to_entry() 325 ent->is_age = !!(fwd_entry & ARLTBL_AGE); in b53_arl_to_entry() 326 ent->is_static = !!(fwd_entry & ARLTBL_STATIC); in b53_arl_to_entry() 344 static inline void b53_arl_from_entry(u64 *mac_vid, u32 *fwd_entry, in b53_arl_from_entry() argument 349 *fwd_entry = ent->port & ARLTBL_DATA_PORT_ID_MASK; in b53_arl_from_entry() 351 *fwd_entry |= ARLTBL_VALID; in b53_arl_from_entry() 353 *fwd_entry |= ARLTBL_STATIC; in b53_arl_from_entry() 355 *fwd_entry |= ARLTBL_AGE; in b53_arl_from_entry()
|
| A D | b53_common.c | 1824 u32 fwd_entry; in b53_arl_read() local 1829 B53_ARLTBL_DATA_ENTRY(i), &fwd_entry); in b53_arl_read() 1830 b53_arl_to_entry(ent, mac_vid, fwd_entry); in b53_arl_read() 1832 if (!(fwd_entry & ARLTBL_VALID)) { in b53_arl_read() 1892 u32 fwd_entry; in b53_arl_op() local 1930 fwd_entry = 0; in b53_arl_op() 1960 b53_arl_from_entry(&mac_vid, &fwd_entry, &ent); in b53_arl_op() 1967 B53_ARLTBL_DATA_ENTRY(idx), fwd_entry); in b53_arl_op() 2040 u32 fwd_entry; in b53_arl_search_rd() local 2045 &fwd_entry); in b53_arl_search_rd() [all …]
|
Completed in 21 milliseconds