Home
last modified time | relevance | path

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

/drivers/net/ethernet/ti/
Dcpsw_switchdev.c65 unsigned long brport_flags) in cpsw_port_attr_br_flags_set() argument
73 if (brport_flags & BR_MCAST_FLOOD) in cpsw_port_attr_br_flags_set()
106 attr->u.brport_flags); in cpsw_port_attr_set()
114 attr->u.brport_flags); in cpsw_port_attr_set()
/drivers/net/ethernet/rocker/
Drocker_ofdpa.c201 u32 brport_flags; member
2426 ofdpa_port->brport_flags = BR_LEARNING; in ofdpa_port_pre_init()
2437 !!(ofdpa_port->brport_flags & BR_LEARNING)); in ofdpa_port_init()
2491 unsigned long brport_flags, in ofdpa_port_attr_bridge_flags_set() argument
2498 orig_flags = ofdpa_port->brport_flags; in ofdpa_port_attr_bridge_flags_set()
2499 ofdpa_port->brport_flags = brport_flags; in ofdpa_port_attr_bridge_flags_set()
2500 if ((orig_flags ^ ofdpa_port->brport_flags) & BR_LEARNING && in ofdpa_port_attr_bridge_flags_set()
2503 !!(ofdpa_port->brport_flags & BR_LEARNING)); in ofdpa_port_attr_bridge_flags_set()
2506 ofdpa_port->brport_flags = orig_flags; in ofdpa_port_attr_bridge_flags_set()
Drocker.h106 unsigned long brport_flags,
Drocker_main.c1583 unsigned long brport_flags, in rocker_world_port_attr_pre_bridge_flags_set() argument
1598 if (brport_flags & ~brport_flags_s) in rocker_world_port_attr_pre_bridge_flags_set()
1606 unsigned long brport_flags, in rocker_world_port_attr_bridge_flags_set() argument
1617 return wops->port_attr_bridge_flags_set(rocker_port, brport_flags, in rocker_world_port_attr_bridge_flags_set()
2083 attr->u.brport_flags, in rocker_port_attr_set()
2088 attr->u.brport_flags, in rocker_port_attr_set()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c656 unsigned long brport_flags) in mlxsw_sp_port_attr_br_pre_flags_set() argument
658 if (brport_flags & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD)) in mlxsw_sp_port_attr_br_pre_flags_set()
667 unsigned long brport_flags) in mlxsw_sp_port_attr_br_flags_set() argument
682 brport_flags & BR_FLOOD); in mlxsw_sp_port_attr_br_flags_set()
687 brport_flags & BR_LEARNING); in mlxsw_sp_port_attr_br_flags_set()
696 brport_flags & in mlxsw_sp_port_attr_br_flags_set()
702 memcpy(&bridge_port->flags, &brport_flags, sizeof(brport_flags)); in mlxsw_sp_port_attr_br_flags_set()
913 attr->u.brport_flags); in mlxsw_sp_port_attr_set()
918 attr->u.brport_flags); in mlxsw_sp_port_attr_set()
/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c726 if (attr->u.brport_flags & in prestera_port_obj_attr_set()
733 attr->u.brport_flags); in prestera_port_obj_attr_set()
/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c960 attr->u.brport_flags); in dpaa2_switch_port_attr_set()
964 attr->u.brport_flags); in dpaa2_switch_port_attr_set()