Searched refs:inspected_port (Results 1 – 1 of 1) sorted by relevance
797 struct mlxsw_sp_span_inspected_port *inspected_port; in mlxsw_sp_span_inspected_port_add() local836 inspected_port = kzalloc(sizeof(*inspected_port), GFP_KERNEL); in mlxsw_sp_span_inspected_port_add()837 if (!inspected_port) { in mlxsw_sp_span_inspected_port_add()841 inspected_port->local_port = port->local_port; in mlxsw_sp_span_inspected_port_add()842 inspected_port->type = type; in mlxsw_sp_span_inspected_port_add()843 inspected_port->bound = bind; in mlxsw_sp_span_inspected_port_add()844 list_add_tail(&inspected_port->list, &span_entry->bound_ports_list); in mlxsw_sp_span_inspected_port_add()866 struct mlxsw_sp_span_inspected_port *inspected_port; in mlxsw_sp_span_inspected_port_del() local870 inspected_port = mlxsw_sp_span_entry_bound_port_find(span_entry, type, in mlxsw_sp_span_inspected_port_del()872 if (!inspected_port) in mlxsw_sp_span_inspected_port_del()[all …]