Lines Matching refs:proto

279 		u16 proto;  in mlxsw_sp_bridge_device_create()  local
282 br_vlan_get_proto(br_dev, &proto); in mlxsw_sp_bridge_device_create()
283 if (proto == ETH_P_8021AD) in mlxsw_sp_bridge_device_create()
1521 u16 proto; in mlxsw_sp_bridge_port_vlan_add() local
1545 br_vlan_get_proto(bridge_port->bridge_device->dev, &proto); in mlxsw_sp_bridge_port_vlan_add()
1546 err = mlxsw_sp_port_pvid_set(mlxsw_sp_port, pvid, proto); in mlxsw_sp_bridge_port_vlan_add()
1558 mlxsw_sp_port_pvid_set(mlxsw_sp_port, old_pvid, proto); in mlxsw_sp_bridge_port_vlan_add()
1761 enum mlxsw_sp_l3proto proto, in mlxsw_sp_port_fdb_tunnel_uc_op() argument
1765 switch (proto) { in mlxsw_sp_port_fdb_tunnel_uc_op()
2294 u16 proto; in mlxsw_sp_bridge_port_vlan_del() local
2301 br_vlan_get_proto(bridge_port->bridge_device->dev, &proto); in mlxsw_sp_bridge_port_vlan_del()
2302 mlxsw_sp_port_pvid_set(mlxsw_sp_port, pvid, proto); in mlxsw_sp_bridge_port_vlan_del()
2968 enum mlxsw_sp_l3proto *proto, in mlxsw_sp_switchdev_vxlan_addr_convert() argument
2973 *proto = MLXSW_SP_L3_PROTO_IPV4; in mlxsw_sp_switchdev_vxlan_addr_convert()
2976 *proto = MLXSW_SP_L3_PROTO_IPV6; in mlxsw_sp_switchdev_vxlan_addr_convert()
2981 mlxsw_sp_switchdev_addr_vxlan_convert(enum mlxsw_sp_l3proto proto, in mlxsw_sp_switchdev_addr_vxlan_convert() argument
2985 switch (proto) { in mlxsw_sp_switchdev_addr_vxlan_convert()
2999 enum mlxsw_sp_l3proto proto, in mlxsw_sp_fdb_vxlan_call_notifiers() argument
3009 mlxsw_sp_switchdev_addr_vxlan_convert(proto, addr, &info.remote_ip); in mlxsw_sp_fdb_vxlan_call_notifiers()
3021 enum mlxsw_sp_l3proto proto, in mlxsw_sp_fdb_nve_call_notifiers() argument
3027 mlxsw_sp_fdb_vxlan_call_notifiers(dev, mac, proto, addr, vni, in mlxsw_sp_fdb_nve_call_notifiers()
3395 enum mlxsw_sp_l3proto proto; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() local
3405 &proto, &addr); in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3412 proto, &addr, true, false); in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3426 proto, &addr, false, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3546 enum mlxsw_sp_l3proto proto; in mlxsw_sp_switchdev_vxlan_fdb_add() local
3565 &proto, &addr); in mlxsw_sp_switchdev_vxlan_fdb_add()
3568 err = mlxsw_sp_nve_flood_ip_add(mlxsw_sp, fid, proto, &addr); in mlxsw_sp_switchdev_vxlan_fdb_add()
3590 mlxsw_sp_fid_index(fid), proto, in mlxsw_sp_switchdev_vxlan_fdb_add()
3619 enum mlxsw_sp_l3proto proto; in mlxsw_sp_switchdev_vxlan_fdb_del() local
3637 &proto, &addr); in mlxsw_sp_switchdev_vxlan_fdb_del()
3640 mlxsw_sp_nve_flood_ip_del(mlxsw_sp, fid, proto, &addr); in mlxsw_sp_switchdev_vxlan_fdb_del()
3646 mlxsw_sp_fid_index(fid), proto, &addr, in mlxsw_sp_switchdev_vxlan_fdb_del()