Searched refs:flood_domain_port (Results 1 – 3 of 3) sorted by relevance
1278 struct prestera_flood_domain_port *flood_domain_port; in prestera_flood_domain_port_create() local1282 flood_domain_port = kzalloc(sizeof(*flood_domain_port), GFP_KERNEL); in prestera_flood_domain_port_create()1283 if (!flood_domain_port) { in prestera_flood_domain_port_create()1288 flood_domain_port->vid = vid; in prestera_flood_domain_port_create()1293 list_add(&flood_domain_port->flood_domain_port_node, in prestera_flood_domain_port_create()1296 flood_domain_port->flood_domain = flood_domain; in prestera_flood_domain_port_create()1297 flood_domain_port->dev = dev; in prestera_flood_domain_port_create()1312 list_del(&flood_domain_port->flood_domain_port_node); in prestera_flood_domain_port_create()1313 kfree(flood_domain_port); in prestera_flood_domain_port_create()1337 struct prestera_flood_domain_port *flood_domain_port; in prestera_flood_domain_port_find() local[all …]
2459 struct prestera_flood_domain_port *flood_domain_port; in prestera_hw_flood_domain_ports_set() local2469 list_for_each_entry(flood_domain_port, &domain->flood_domain_port_list, in prestera_hw_flood_domain_ports_set()2484 list_for_each_entry(flood_domain_port, &domain->flood_domain_port_list, in prestera_hw_flood_domain_ports_set()2486 if (netif_is_lag_master(flood_domain_port->dev)) { in prestera_hw_flood_domain_ports_set()2487 if (prestera_lag_id(sw, flood_domain_port->dev, in prestera_hw_flood_domain_ports_set()2497 port = prestera_port_dev_lower_find(flood_domain_port->dev); in prestera_hw_flood_domain_ports_set()2505 req->ports[i].vid = __cpu_to_le16(flood_domain_port->vid); in prestera_hw_flood_domain_ports_set()
328 struct prestera_flood_domain_port *flood_domain_port; in prestera_mdb_port_del() local330 flood_domain_port = prestera_flood_domain_port_find(fl_domain, in prestera_mdb_port_del()333 if (flood_domain_port) in prestera_mdb_port_del()334 prestera_flood_domain_port_destroy(flood_domain_port); in prestera_mdb_port_del()