Lines Matching refs:mdb
508 struct switchdev_obj_port_mdb mdb = { in br_mdb_switchdev_host_port() local
517 ip_eth_mc_map(mp->addr.dst.ip4, mdb.addr); in br_mdb_switchdev_host_port()
520 ipv6_eth_mc_map(&mp->addr.dst.ip6, mdb.addr); in br_mdb_switchdev_host_port()
523 mdb.obj.orig_dev = dev; in br_mdb_switchdev_host_port()
526 switchdev_port_obj_add(lower_dev, &mdb.obj, NULL); in br_mdb_switchdev_host_port()
529 switchdev_port_obj_del(lower_dev, &mdb.obj); in br_mdb_switchdev_host_port()
550 struct switchdev_obj_port_mdb mdb = { in br_mdb_notify() local
563 ip_eth_mc_map(mp->addr.dst.ip4, mdb.addr); in br_mdb_notify()
566 ipv6_eth_mc_map(&mp->addr.dst.ip6, mdb.addr); in br_mdb_notify()
568 mdb.obj.orig_dev = pg->key.port->dev; in br_mdb_notify()
576 mdb.obj.complete_priv = complete_info; in br_mdb_notify()
577 mdb.obj.complete = br_mdb_complete; in br_mdb_notify()
578 if (switchdev_port_obj_add(pg->key.port->dev, &mdb.obj, NULL)) in br_mdb_notify()
582 switchdev_port_obj_del(pg->key.port->dev, &mdb.obj); in br_mdb_notify()