-- port_limit : 2 # this option can limit the number of port of the platform
- version : 2
- interfaces : ["03:00.0","03:00.1"] #the interfaces using ./dpdk_setup_ports.py -s
- port_info : # set eh mac addr
- - dest_mac : [0x00,0x00,0x00,0x01,0x00,0x00] # router mac addr should be taken from router
- src_mac : [0x00,0x00,0x00,0x02,0x00,0x00] # source mac-addr - taken from ifconfig
- - dest_mac : [0x00,0x00,0x00,0x03,0x00,0x00] # router mac addr taken from router
- src_mac : [0x00,0x00,0x00,0x04,0x00,0x00] #source mac-addr taken from ifconfig
-
-
+- port_limit : 2
+ version : 2
+ # Change below line. Use sudo ./dpdk_setup_ports.py -s to see list of interfaces on your machine
+ interfaces : ["03:00.0", "03:00.1"]
+ port_info :
+ - default_gw : "1.1.1.1"
+ ip : "2.2.2.2"
+ - default_gw : "2.2.2.2"
+ ip : "1.1.1.1"
rte_mbuf_refcnt_update(struct rte_mbuf *m, int16_t value)
{
// TREX_PATCH - The code in #if 0 caused tx queue to hang when running:
- // sudo ./t-rex-64-o -f avl/sfr_delay_10_1g_no_bundeling.yaml -m 35 -p -d 100
+ // sudo ./t-rex-64-o -f avl/sfr_delay_10_1g_no_bundling.yaml -m 35 -p -d 100
#if 0
/*
* The atomic_add is an expensive operation, so we don't want to