summaryrefslogtreecommitdiffstats
path: root/scripts/cfg/cfg_example2.yaml
blob: b72b061995e89ebab256404da0486fdcbb4fd65f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- port_limit      : 2         # this option can limit the number of port of the platform
  version       : 2
  interfaces    : ["03:00.0","03:00.1","13:00.1","13:00.0"]   # list of the interfaces to bind run ./dpdk_nic_bind.py --status 
  port_info       :  # set eh mac addr 
          - dest_mac        :   [0x0,0x0,0x0,0x1,0x0,0x00]  # port 0
            src_mac         :   [0x0,0x0,0x0,0x2,0x0,0x00]
          - dest_mac        :   [0x0,0x0,0x0,0x2,0x0,0x00]  # port 1
            src_mac         :   [0x0,0x0,0x0,0x1,0x0,0x00]
          - dest_mac        :   [0x0,0x0,0x0,0x5,0x0,0x00]  # port 2
            src_mac         :   [0x0,0x0,0x0,0x6,0x0,0x00]
          - dest_mac        :   [0x0,0x0,0x0,0x6,0x0,0x01]  # port 3
            src_mac         :   [0x0,0x0,0x0,0x5,0x0,0x02]
          - dest_mac        :   [0x0,0x0,0x0,0x9,0x0,0x03]  # port 4
            src_mac         :   [0x0,0x0,0x0,0xa,0x0,0x04]
          - dest_mac        :   [0x0,0x0,0x0,0xa,0x0,0x05]  # port 5
            src_mac         :   [0x0,0x0,0x0,0x9,0x0,0x06]
          - dest_mac        :   [0x0,0x0,0x0,0xd,0x0,0x07]  # port 6
            src_mac         :   [0x0,0x0,0x0,0xe,0x0,0x08]
          - dest_mac        :   [0x0,0x0,0x0,0xe,0x0,0x09]  # port 7
            src_mac         :   [0x0,0x0,0x0,0xd,0x0,0x0a]