Searched refs:fwd_entry (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_acl_flex_actions.c | 560 struct mlxsw_afa_fwd_entry *fwd_entry; in mlxsw_afa_fwd_entry_create() local 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() 566 fwd_entry->ht_key.local_port = local_port; in mlxsw_afa_fwd_entry_create() 567 refcount_set(&fwd_entry->ref_count, 1); in mlxsw_afa_fwd_entry_create() 570 &fwd_entry->ht_node, in mlxsw_afa_fwd_entry_create() 576 &fwd_entry->kvdl_index, in mlxsw_afa_fwd_entry_create() 580 return fwd_entry; in mlxsw_afa_fwd_entry_create() 583 rhashtable_remove_fast(&mlxsw_afa->fwd_entry_ht, &fwd_entry->ht_node, in mlxsw_afa_fwd_entry_create() 586 kfree(fwd_entry); in mlxsw_afa_fwd_entry_create() [all …]
|
| /linux/drivers/net/dsa/b53/ |
| H A D | b53_common.c | 1876 u16 fwd_entry; in b53_arl_read_entry_89() local 1880 b53_read16(dev, B53_ARLIO_PAGE, B53_ARLTBL_DATA_ENTRY(idx), &fwd_entry); in b53_arl_read_entry_89() 1881 b53_arl_to_entry_89(ent, mac_vid, fwd_entry); in b53_arl_read_entry_89() 1887 u32 fwd_entry; in b53_arl_write_entry_89() local 1890 b53_arl_from_entry_89(&mac_vid, &fwd_entry, ent); in b53_arl_write_entry_89() 1894 B53_ARLTBL_DATA_ENTRY(idx), fwd_entry); in b53_arl_write_entry_89() 1900 u32 fwd_entry; in b53_arl_read_entry_95() local 1905 b53_read32(dev, B53_ARLIO_PAGE, B53_ARLTBL_DATA_ENTRY(idx), &fwd_entry); in b53_arl_read_entry_95() 1906 b53_arl_to_entry(ent, mac_vid, fwd_entry); in b53_arl_read_entry_95() 1912 u32 fwd_entry; in b53_arl_write_entry_95() local [all …]
|