; limitations under the License.
link 0 down
-link 0 config 192.16.100.10 8
+link 0 config 202.16.100.10 8
link 0 up
+
link 1 down
-link 1 config 152.16.40.10 8
+link 1 config 172.16.40.10 8
link 1 up
-p 1 arpadd 1 152.16.40.20 00:00:00:00:00:02
-p 1 arpadd 0 192.16.100.20 00:00:00:00:00:01
+; routeadd <port #> <ipv4 nhip address in decimal> <Mask>
+routeadd 0 202.16.100.20 0xff000000
+routeadd 1 172.16.40.20 0xff000000
+
+; IPv4 static ARP
+;p 1 arpadd 1 172.16.40.20 00:00:00:00:00:04
+;p 1 arpadd 0 202.16.100.20 00:00:00:00:00:01
+
p action add 0 accept
p action add 0 fwd 0
p action add 0 count
+
p action add 1 accept
p action add 1 fwd 1
p action add 1 count
-p acl add 1 192.16.100.0 8 152.16.40.0 8 0 65535 0 65535 0 0 1
-p acl add 1 152.16.40.0 8 192.16.100.0 8 0 65535 0 65535 0 0 0
+; IPv4 rules
+p acl add 1 202.16.100.20 8 172.16.40.20 8 0 65535 0 65535 0 0 1
+p acl add 1 172.16.40.20 8 202.16.100.20 8 0 65535 0 65535 0 0 0
p acl applyruleset
+
set fwd rxonly
set_sym_hash_ena_per_port 0 enable
set_hash_global_config 0 simple_xor ipv4-udp enable
; See the License for the specific language governing permissions and
; limitations under the License.
+[EAL]
+# add pci whitelist eg below
+w = 05:00.0
+w = 05:00.1
+
[PIPELINE0]
type = MASTER
core = 0
core = 1
pktq_in = SWQ0
pktq_out = TXQ0.0 TXQ1.0
-arp_route_tbl = (98102814,ff000000,1,98102814) (c0106414,ff000000,0,c0106414)
-ports_mac_list = 00:00:00:00:00:01 00:00:00:00:00:02
pktq_in_prv = RXQ0.0
prv_to_pub_map = (0,1)
prv_que_handler = (0)
; limitations under the License.
link 0 down
-link 0 config 192.16.100.10 8
+link 0 config 202.16.100.10 8
link 0 up
+
link 1 down
-link 1 config 192.16.40.10 8
+link 1 config 172.16.40.10 8
link 1 up
-;p 1 arpadd 1 192.16.40.20 00:00:00:00:00:02
-;p 1 arpadd 0 192.16.100.20 00:00:00:00:00:01
+; routeadd <port #> <ipv4 nhip address in decimal> <Mask>
+routeadd 0 202.16.100.20 0xff000000
+routeadd 1 172.16.40.20 0xff000000
+
+; IPv4 static ARP
+;p 1 arpadd 1 172.16.40.20 00:00:00:00:00:04
+;p 1 arpadd 0 202.16.100.20 00:00:00:00:00:01
+
p action add 0 accept
p action add 0 fwd 0
p action add 0 count
+
p action add 1 accept
p action add 1 fwd 1
p action add 1 count
-p acl add 1 192.16.100.0 8 192.16.40.0 8 0 65535 0 65535 0 0 1
-p acl add 1 192.16.40.0 8 192.16.100.0 8 0 65535 0 65535 0 0 0
-p acl applyruleset
+; IPv4 rules
+p acl add 1 202.16.100.20 8 172.16.40.20 8 0 65535 0 65535 0 0 1
+p acl add 1 172.16.40.20 8 202.16.100.20 8 0 65535 0 65535 0 0 0
+p acl applyruleset
\ No newline at end of file
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
+[EAL]
+# add pci whitelist eg below
+w = 05:00.0
+w = 05:00.1
[PIPELINE0]
type = MASTER
type = ARPICMP
core = 1
pktq_in = SWQ2
-pktq_out = TXQ0.0 TXQ1.0
-arp_route_tbl = (c0102814,ffffff00,1,98102814) (c0106414,ffffff00,0,c0106414)
-ports_mac_list = 00:00:00:00:00:01 00:00:00:00:00:02
+pktq_out = SWQ7
pktq_in_prv = RXQ0.0
prv_to_pub_map = (0,1)
prv_que_handler = (0)
[PIPELINE5]
type = TXRX
core = 5
-pktq_in = SWQ5 SWQ6
-pktq_out = TXQ0.1 TXQ1.1
+pktq_in = SWQ5 SWQ6 SWQ7
+pktq_out = TXQ0.0 TXQ1.0
pipeline_txrx_type = TXTX
link 0 down
link 0 config fec0:0000:0000:0000:6a05:caff:fe30:21a0 64
link 0 up
+
link 1 down
link 1 config 2012:0000:0000:0000:6a05:caff:fe30:2071 64
link 1 up
-p 1 arpadd 0 fec0::6a05:caff:fe30:21b0 00:00:00:00:00:01
-p 1 arpadd 1 2012::6a05:caff:fe30:2081 00:00:00:00:00:02
+
+;routeadd <port #> <ipv6 nhip address in hex> <Depth>
+routeadd 0 fec0::6a05:caff:fe30:21b0 64
+routeadd 1 2012::6a05:caff:fe30:2081 64
+
+; IPv6 static ARP
+;p 1 arpadd 0 fec0::6a05:caff:fe30:21b0 00:00:00:00:00:01
+;p 1 arpadd 1 2012::6a05:caff:fe30:2081 00:00:00:00:00:04
+
p action add 0 accept
-p action add 0 fwd 1
+p action add 0 fwd 0
p action add 0 count
p action add 1 accept
-p action add 1 fwd 0
+p action add 1 fwd 1
p action add 1 count
-
-;p action add 0 conntrack
-;p action add 1 conntrack
-;p action add 2 conntrack
-;p action add 3 conntrack
-
-p acl add 1 fec0::6a05:caff:fe30:21b0 64 2012::6a05:caff:fe30:2081 64 0 65535 0 65535 0 0 0
-p acl add 1 2012::6a05:caff:fe30:2081 64 fec0::6a05:caff:fe30:21b0 64 0 65535 0 65535 0 0 1
+; IPv6 rules
+p acl add 1 fec0::6a05:caff:fe30:21b0 64 2012::6a05:caff:fe30:2081 64 0 65535 0 65535 0 0 1
+p acl add 1 2012::6a05:caff:fe30:2081 64 fec0::6a05:caff:fe30:21b0 64 0 65535 0 65535 0 0 0
p acl applyruleset
+
set fwd rxonly
set_sym_hash_ena_per_port 0 enable
set_hash_global_config 0 simple_xor ipv6-udp enable
; See the License for the specific language governing permissions and
; limitations under the License.
+[EAL]
+# add pci whitelist eg below
+w = 05:00.0
+w = 05:00.1
+
[PIPELINE0]
type = MASTER
core = 0
core = 1
pktq_in = SWQ0
pktq_out = TXQ0.0 TXQ1.0
-nd_route_tbl = (fe80::6a05:caff:fe30:21b0,64,0,fe80::6a05:caff:fe30:21b0)
-nd_route_tbl = (2012::6a05:caff:fe30:2081,64,1,2012::6a05:caff:fe30:2081)
-ports_mac_list = 00:00:00:00:00:01 00:00:00:00:00:02
pktq_in_prv = RXQ0.0
prv_to_pub_map = (0,1)
prv_que_handler = (0)
; limitations under the License.
link 0 down
-link 0 config fe80:0000:0000:0000:6a05:caff:fe30:21a0 64
+link 0 config fec0:0000:0000:0000:6a05:caff:fe30:21a0 64
link 0 up
+
link 1 down
link 1 config 2012:0000:0000:0000:6a05:caff:fe30:2071 64
link 1 up
-p 1 arpadd 0 fe80::6a05:caff:fe30:21b0 00:00:00:00:00:01
-p 1 arpadd 1 2012::6a05:caff:fe30:2081 3c:fd:fe:a1:37:aa
+
+;routeadd <port #> <ipv6 nhip address in hex> <Depth>
+routeadd 0 fec0::6a05:caff:fe30:21b0 64
+routeadd 1 2012::6a05:caff:fe30:2081 64
+
+; IPv6 static ARP
+;p 1 arpadd 0 fec0::6a05:caff:fe30:21b0 00:00:00:00:00:01
+;p 1 arpadd 1 2012::6a05:caff:fe30:2081 00:00:00:00:00:04
+
p action add 0 accept
-p action add 0 fwd 1
+p action add 0 fwd 0
p action add 0 count
p action add 1 accept
-p action add 1 fwd 0
+p action add 1 fwd 1
p action add 1 count
-
-;p action add 0 conntrack
-;p action add 1 conntrack
-;p action add 2 conntrack
-;p action add 3 conntrack
-
-p acl add 1 fe80::6a05:caff:fe30:21b0 64 2012::6a05:caff:fe30:2081 64 0 65535 0 65535 0 0 0
-p acl add 1 2012::6a05:caff:fe30:2081 64 fe80::6a05:caff:fe30:21b0 64 0 65535 0 65535 0 0 1
-p acl applyruleset
-
+; IPv6 rules
+p acl add 1 fec0::6a05:caff:fe30:21b0 64 2012::6a05:caff:fe30:2081 64 0 65535 0 65535 0 0 1
+p acl add 1 2012::6a05:caff:fe30:2081 64 fec0::6a05:caff:fe30:21b0 64 0 65535 0 65535 0 0 0
+p acl applyruleset
\ No newline at end of file
; See the License for the specific language governing permissions and
; limitations under the License.
+[EAL]
+# add pci whitelist eg below
+w = 05:00.0
+w = 05:00.1
+
[PIPELINE0]
type = MASTER
core = 0
type = ARPICMP
core = 1
pktq_in = SWQ2
-pktq_out = TXQ0.0 TXQ1.0
-nd_route_tbl = (fe80::6a05:caff:fe30:21b0,64,0,fe80::6a05:caff:fe30:21b0)
-nd_route_tbl = (2012::6a05:caff:fe30:2081,64,1,2012::6a05:caff:fe30:2081)
-ports_mac_list = 00:00:00:00:00:01 00:00:00:00:00:02
+pktq_out = SWQ7
pktq_in_prv = RXQ0.0
prv_to_pub_map = (0,1)
prv_que_handler = (0)
[PIPELINE5]
type = TXRX
core = 5
-pktq_in = SWQ5 SWQ6
-pktq_out = TXQ0.1 TXQ1.1
+pktq_in = SWQ5 SWQ6 SWQ7
+pktq_out = TXQ0.0 TXQ1.0
pipeline_txrx_type = TXTX