Home
last modified time | relevance | path

Searched refs:pgt_entry_port (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_pgt.c116 return pgt_entry_port; in mlxsw_sp_pgt_entry_port_lookup()
224 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()
236 return pgt_entry_port; in mlxsw_sp_pgt_entry_port_create()
239 kfree(pgt_entry_port); in mlxsw_sp_pgt_entry_port_create()
249 list_del(&pgt_entry_port->list); in mlxsw_sp_pgt_entry_port_destroy()
252 kfree(pgt_entry_port); in mlxsw_sp_pgt_entry_port_destroy()
272 if (IS_ERR(pgt_entry_port)) { in mlxsw_sp_pgt_entry_port_add()
273 err = PTR_ERR(pgt_entry_port); in mlxsw_sp_pgt_entry_port_add()
[all …]