Lines Matching full:adding

1281 static enum mlxsw_reg_sfd_op mlxsw_sp_sfd_op(bool adding)  in mlxsw_sp_sfd_op()  argument
1283 return adding ? MLXSW_REG_SFD_OP_WRITE_EDIT : in mlxsw_sp_sfd_op()
1291 bool adding, bool dynamic) in mlxsw_sp_port_fdb_tunnel_uc_op() argument
1314 mlxsw_reg_sfd_pack(sfd_pl, mlxsw_sp_sfd_op(adding), 0); in mlxsw_sp_port_fdb_tunnel_uc_op()
1333 const char *mac, u16 fid, bool adding, in __mlxsw_sp_port_fdb_uc_op() argument
1345 mlxsw_reg_sfd_pack(sfd_pl, mlxsw_sp_sfd_op(adding), 0); in __mlxsw_sp_port_fdb_uc_op()
1361 const char *mac, u16 fid, bool adding, in mlxsw_sp_port_fdb_uc_op() argument
1364 return __mlxsw_sp_port_fdb_uc_op(mlxsw_sp, local_port, mac, fid, adding, in mlxsw_sp_port_fdb_uc_op()
1370 bool adding) in mlxsw_sp_rif_fdb_op() argument
1372 return __mlxsw_sp_port_fdb_uc_op(mlxsw_sp, 0, mac, fid, adding, in mlxsw_sp_rif_fdb_op()
1379 bool adding, bool dynamic) in mlxsw_sp_port_fdb_uc_lag_op() argument
1389 mlxsw_reg_sfd_pack(sfd_pl, mlxsw_sp_sfd_op(adding), 0); in mlxsw_sp_port_fdb_uc_lag_op()
1408 struct switchdev_notifier_fdb_info *fdb_info, bool adding) in mlxsw_sp_port_fdb_set() argument
1435 adding, false); in mlxsw_sp_port_fdb_set()
1440 vid, adding, false); in mlxsw_sp_port_fdb_set()
1444 u16 fid, u16 mid_idx, bool adding) in mlxsw_sp_port_mdb_op() argument
1454 mlxsw_reg_sfd_pack(sfd_pl, mlxsw_sp_sfd_op(adding), 0); in mlxsw_sp_port_mdb_op()
2366 __be32 vni, bool adding) in mlxsw_sp_fdb_vxlan_call_notifiers() argument
2372 type = adding ? SWITCHDEV_VXLAN_FDB_ADD_TO_BRIDGE : in mlxsw_sp_fdb_vxlan_call_notifiers()
2380 info.offloaded = adding; in mlxsw_sp_fdb_vxlan_call_notifiers()
2389 bool adding) in mlxsw_sp_fdb_nve_call_notifiers() argument
2393 adding); in mlxsw_sp_fdb_nve_call_notifiers()
2411 bool adding) in mlxsw_sp_fdb_notify_mac_process() argument
2451 adding, true); in mlxsw_sp_fdb_notify_mac_process()
2459 type = adding ? SWITCHDEV_FDB_ADD_TO_BRIDGE : SWITCHDEV_FDB_DEL_TO_BRIDGE; in mlxsw_sp_fdb_notify_mac_process()
2460 mlxsw_sp_fdb_call_notifiers(type, mac, vid, bridge_port->dev, adding); in mlxsw_sp_fdb_notify_mac_process()
2465 adding = false; in mlxsw_sp_fdb_notify_mac_process()
2472 bool adding) in mlxsw_sp_fdb_notify_mac_lag_process() argument
2515 adding, true); in mlxsw_sp_fdb_notify_mac_lag_process()
2523 type = adding ? SWITCHDEV_FDB_ADD_TO_BRIDGE : SWITCHDEV_FDB_DEL_TO_BRIDGE; in mlxsw_sp_fdb_notify_mac_lag_process()
2524 mlxsw_sp_fdb_call_notifiers(type, mac, vid, bridge_port->dev, adding); in mlxsw_sp_fdb_notify_mac_lag_process()
2529 adding = false; in mlxsw_sp_fdb_notify_mac_lag_process()
2537 bool adding, in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process() argument
2562 if (adding && !br_port_flag_is_set(dev, BR_LEARNING)) in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2565 if (adding && netif_is_vxlan(dev)) { in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2588 bool adding) in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() argument
2614 err = __mlxsw_sp_fdb_notify_mac_uc_tunnel_process(mlxsw_sp, fid, adding, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2621 &addr, adding, true); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2627 &addr, vni, adding); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2629 type = adding ? SWITCHDEV_FDB_ADD_TO_BRIDGE : in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2631 mlxsw_sp_fdb_call_notifiers(type, mac, vid, nve_dev, adding); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()