Searched refs:pgt_entry_port (Results 1 – 1 of 1) sorted by relevance
112 struct mlxsw_sp_pgt_entry_port *pgt_entry_port; in mlxsw_sp_pgt_entry_port_lookup() local114 list_for_each_entry(pgt_entry_port, &pgt_entry->ports_list, list) { in mlxsw_sp_pgt_entry_port_lookup()115 if (pgt_entry_port->local_port == local_port) in mlxsw_sp_pgt_entry_port_lookup()116 return pgt_entry_port; in mlxsw_sp_pgt_entry_port_lookup()221 struct mlxsw_sp_pgt_entry_port *pgt_entry_port; in mlxsw_sp_pgt_entry_port_create() local224 pgt_entry_port = kzalloc(sizeof(*pgt_entry_port), GFP_KERNEL); in mlxsw_sp_pgt_entry_port_create()225 if (!pgt_entry_port) in mlxsw_sp_pgt_entry_port_create()233 pgt_entry_port->local_port = local_port; in mlxsw_sp_pgt_entry_port_create()234 list_add(&pgt_entry_port->list, &pgt_entry->ports_list); in mlxsw_sp_pgt_entry_port_create()236 return pgt_entry_port; in mlxsw_sp_pgt_entry_port_create()[all …]