blob: 51fd29d82dd6bb939fa6369892e7011c57a889fb [file] [log] [blame]
Carmelo Casconed61fdb32017-10-30 10:09:57 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2017-present Open Networking Laboratory
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<drivers>
Carmelo Cascone1ae25062019-03-07 16:02:22 -080018 <driver name="barefoot" manufacturer="Barefoot Networks" hwVersion="1.0"
19 swVersion="1.0" extends="p4runtime">
Carmelo Cascone87892e22017-11-13 16:01:29 -080020 <behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
Carmelo Casconed61fdb32017-10-30 10:09:57 -070021 impl="org.onosproject.drivers.barefoot.TofinoPipelineProgrammable"/>
Carmelo Casconec32976e2019-04-08 14:50:52 -070022 <property name="tableReadCountersWithTableEntries">false</property>
Carmelo Cascone158b8c42018-07-04 19:42:37 +020023 <property name="tableDeleteBeforeUpdate">true</property>
Carmelo Casconed61fdb32017-10-30 10:09:57 -070024 </driver>
Carmelo Cascone1ae25062019-03-07 16:02:22 -080025
26 <driver name="stratum-tofino" manufacturer="Barefoot Networks"
27 hwVersion="Tofino" swVersion="Stratum" extends="stratum">
28 <behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
29 impl="org.onosproject.drivers.barefoot.TofinoPipelineProgrammable"/>
30 <!-- The current version of p4lang/PI used in Stratum does not
Carmelo Casconec32976e2019-04-08 14:50:52 -070031 support reading default table entries -->
Carmelo Cascone1ae25062019-03-07 16:02:22 -080032 <property name="supportDefaultTableEntry">false</property>
Carmelo Casconec32976e2019-04-08 14:50:52 -070033 <property name="tableReadCountersWithTableEntries">false</property>
Carmelo Cascone1ae25062019-03-07 16:02:22 -080034 </driver>
35
Carmelo Casconed61fdb32017-10-30 10:09:57 -070036</drivers>
37