Home
last modified time | relevance | path

Searched refs:ofdpa_port (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/rocker/
Drocker_ofdpa.c134 struct ofdpa_port *ofdpa_port; member
193 struct ofdpa_port { struct
247 static __be16 ofdpa_port_vid_to_vlan(const struct ofdpa_port *ofdpa_port, in ofdpa_port_vid_to_vlan() argument
256 vlan_id = ofdpa_port->internal_vlan_id; in ofdpa_port_vid_to_vlan()
264 static u16 ofdpa_port_vlan_to_vid(const struct ofdpa_port *ofdpa_port, in ofdpa_port_vlan_to_vid() argument
273 static bool ofdpa_port_is_slave(const struct ofdpa_port *ofdpa_port, in ofdpa_port_is_slave() argument
276 return ofdpa_port->bridge_dev && in ofdpa_port_is_slave()
277 !strcmp(ofdpa_port->bridge_dev->rtnl_link_ops->kind, kind); in ofdpa_port_is_slave()
280 static bool ofdpa_port_is_bridged(const struct ofdpa_port *ofdpa_port) in ofdpa_port_is_bridged() argument
282 return ofdpa_port_is_slave(ofdpa_port, "bridge"); in ofdpa_port_is_bridged()
[all …]