Lines Matching refs:mdb
346 struct switchdev_obj_port_mdb mdb = { in br_mdb_switchdev_host_port() local
355 ip_eth_mc_map(entry->addr.u.ip4, mdb.addr); in br_mdb_switchdev_host_port()
358 ipv6_eth_mc_map(&entry->addr.u.ip6, mdb.addr); in br_mdb_switchdev_host_port()
361 mdb.obj.orig_dev = dev; in br_mdb_switchdev_host_port()
364 switchdev_port_obj_add(lower_dev, &mdb.obj, NULL); in br_mdb_switchdev_host_port()
367 switchdev_port_obj_del(lower_dev, &mdb.obj); in br_mdb_switchdev_host_port()
386 struct switchdev_obj_port_mdb mdb = { in __br_mdb_notify() local
400 ip_eth_mc_map(entry->addr.u.ip4, mdb.addr); in __br_mdb_notify()
403 ipv6_eth_mc_map(&entry->addr.u.ip6, mdb.addr); in __br_mdb_notify()
406 mdb.obj.orig_dev = port_dev; in __br_mdb_notify()
412 mdb.obj.complete_priv = complete_info; in __br_mdb_notify()
413 mdb.obj.complete = br_mdb_complete; in __br_mdb_notify()
414 if (switchdev_port_obj_add(port_dev, &mdb.obj, NULL)) in __br_mdb_notify()
418 switchdev_port_obj_del(port_dev, &mdb.obj); in __br_mdb_notify()