Searched refs:inspected_port (Results 1 – 1 of 1) sorted by relevance
793 struct mlxsw_sp_span_inspected_port *inspected_port; in mlxsw_sp_span_inspected_port_add() local832 inspected_port = kzalloc(sizeof(*inspected_port), GFP_KERNEL); in mlxsw_sp_span_inspected_port_add()833 if (!inspected_port) { in mlxsw_sp_span_inspected_port_add()837 inspected_port->local_port = port->local_port; in mlxsw_sp_span_inspected_port_add()838 inspected_port->type = type; in mlxsw_sp_span_inspected_port_add()839 inspected_port->bound = bind; in mlxsw_sp_span_inspected_port_add()840 list_add_tail(&inspected_port->list, &span_entry->bound_ports_list); in mlxsw_sp_span_inspected_port_add()862 struct mlxsw_sp_span_inspected_port *inspected_port; in mlxsw_sp_span_inspected_port_del() local866 inspected_port = mlxsw_sp_span_entry_bound_port_find(span_entry, type, in mlxsw_sp_span_inspected_port_del()868 if (!inspected_port) in mlxsw_sp_span_inspected_port_del()[all …]