R&D/DPDK

vpp start.conf

sunshout 2017. 11. 15. 20:00

DPDK related


dpdk {

    ## Change default settings for all intefaces

    # dev default {

        ## Number of receive queues, enables RSS

        ## Default is 1

        # num-rx-queues 3


        ## Number of transmit queues, Default is equal

        ## to number of worker threads or 1 if no workers treads

        # num-tx-queues 3


        ## Number of descriptors in transmit and receive rings

        ## increasing or reducing number can impact performance

        ## Default is 1024 for both rx and tx

        # num-rx-desc 512

        # num-tx-desc 512


        ## VLAN strip offload mode for interface

        ## Default is off

        # vlan-strip-offload on

    # }




dpdk_config

  -> call dpdk_device_config (read configuration file then set default value)

      this is intialization of variables


dpdk_lib_config

  -> real configuration of dpdk instance