Searched refs:fwd_entry (Results 1 - 3 of 3) sorted by relevance
/linux-master/drivers/net/dsa/b53/ |
H A D | b53_priv.h | 286 u64 mac_vid, u32 fwd_entry) 289 ent->port = fwd_entry & ARLTBL_DATA_PORT_ID_MASK; 290 ent->is_valid = !!(fwd_entry & ARLTBL_VALID); 291 ent->is_age = !!(fwd_entry & ARLTBL_AGE); 292 ent->is_static = !!(fwd_entry & ARLTBL_STATIC); 297 static inline void b53_arl_from_entry(u64 *mac_vid, u32 *fwd_entry, argument 302 *fwd_entry = ent->port & ARLTBL_DATA_PORT_ID_MASK; 304 *fwd_entry |= ARLTBL_VALID; 306 *fwd_entry |= ARLTBL_STATIC; 308 *fwd_entry | 285 b53_arl_to_entry(struct b53_arl_entry *ent, u64 mac_vid, u32 fwd_entry) argument [all...] |
H A D | b53_common.c | 1642 u32 fwd_entry; local 1647 B53_ARLTBL_DATA_ENTRY(i), &fwd_entry); 1648 b53_arl_to_entry(ent, mac_vid, fwd_entry); 1650 if (!(fwd_entry & ARLTBL_VALID)) { 1671 u32 fwd_entry; local 1705 fwd_entry = 0; 1732 b53_arl_from_entry(&mac_vid, &fwd_entry, &ent); 1737 B53_ARLTBL_DATA_ENTRY(idx), fwd_entry); 1801 u32 fwd_entry; local 1806 B53_ARL_SRCH_RSTL(idx), &fwd_entry); [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_actions.c | 560 struct mlxsw_afa_fwd_entry *fwd_entry; local 563 fwd_entry = kzalloc(sizeof(*fwd_entry), GFP_KERNEL); 564 if (!fwd_entry) 566 fwd_entry->ht_key.local_port = local_port; 567 refcount_set(&fwd_entry->ref_count, 1); 570 &fwd_entry->ht_node, 576 &fwd_entry->kvdl_index, 580 return fwd_entry; 583 rhashtable_remove_fast(&mlxsw_afa->fwd_entry_ht, &fwd_entry 590 mlxsw_afa_fwd_entry_destroy(struct mlxsw_afa *mlxsw_afa, struct mlxsw_afa_fwd_entry *fwd_entry) argument 604 struct mlxsw_afa_fwd_entry *fwd_entry; local 616 mlxsw_afa_fwd_entry_put(struct mlxsw_afa *mlxsw_afa, struct mlxsw_afa_fwd_entry *fwd_entry) argument 626 struct mlxsw_afa_fwd_entry *fwd_entry; member in struct:mlxsw_afa_fwd_entry_ref 653 struct mlxsw_afa_fwd_entry *fwd_entry; local [all...] |
Completed in 121 milliseconds