Lines Matching refs:port
3 * Handling of a single switch port
47 int port = dp->index;
53 ds->ops->port_stp_state_set(ds, port, state);
57 * for the given port, if we are moving it from Learning or
66 ds->ops->port_fast_age(ds, port);
86 int port = dp->index;
90 err = ds->ops->port_enable(ds, port, phy);
118 int port = dp->index;
127 ds->ops->port_disable(ds, port);
142 .port = dp->index,
147 /* Set the flooding mode before joining the port in the switch */
173 .port = dp->index,
178 /* Here the port is already unbridged. Reflect the current configuration
351 int port = dp->index;
358 err = ds->ops->port_egress_floods(ds, port, flags & BR_FLOOD,
368 int port = dp->index;
373 return ds->ops->port_egress_floods(ds, port, true, mrouter);
382 .port = dp->index,
394 .port = dp->index,
407 .port = dp->index,
419 int port = dp->index;
424 return ds->ops->port_fdb_dump(ds, port, cb, data);
433 .port = dp->index,
446 .port = dp->index,
459 .port = dp->index,
472 .port = dp->index,
609 int port = dp->index;
634 ds->ops->adjust_link(ds, port, phydev);
636 dev_dbg(ds->dev, "enabled port's phy: %s", phydev_name(phydev));
648 int port = dp->index;
655 "failed to register the fixed PHY of port %d\n",
656 port);
670 ds->ops->adjust_link(ds, port, phydev);
716 int port = dp->index;
722 ds->ops->phylink_mac_link_down(ds, port,