|
58 | 58 |
|
59 | 59 | #USE_DPDK=1 |
60 | 60 |
|
61 | | -# Set PCIe address in the format <[domain:]bus:devid.func> for example: |
62 | | - |
63 | | -#DPDK_DEVICE=0000:43:00.0 |
| 61 | +# Required: Set number of parallel queues (RSS feature): |
| 62 | +#DPDK_QUEUES_COUNT=8 |
64 | 63 |
|
65 | 64 | # Set mapping of DPDK lcores to threads: |
| 65 | +#DPDK_LCORES="(0-7)@(0,2,4,6,8,10,12,14)" |
| 66 | + |
| 67 | +# Extra options for DPDK EAL, passed to e= option of `dpdk` or `dpdk-ring` plugin. |
| 68 | +# * Use --file-prefix to separate DPDK application into new namespace. |
| 69 | +# * Use --proc-type=secondary for Option B) to receive packets via mrings created |
| 70 | +# by some other primary DPDK application. |
| 71 | +#DPDK_EXTRA_EAL="--file-prefix 0000:17:00.0_0 --proc-type=secondary" |
| 72 | + |
| 73 | +# Additional options of DPDK plugin separated by `;` |
| 74 | +# m ~ Size of the memory pool for received packets (only for Option A) |
| 75 | +# b ~ Size of the MBUF packet buffer |
| 76 | +#DPDK_OPTS="m=2000;b=2048" |
| 77 | + |
| 78 | +#---------------------------------------- |
| 79 | +# Option A) DPDK direct device |
| 80 | +#---------------------------------------- |
66 | 81 |
|
67 | | -#DPDK_LCORES="(0-7)@(0-7)" |
| 82 | +# Required: Set PCIe address in the format <[domain:]bus:devid.func> for example: |
| 83 | +#DPDK_DEVICE="0000:43:00.0" |
68 | 84 |
|
69 | | -# Set network device port: |
| 85 | +# Note that DPDK_DEVICE can be extended by driver-specific parameters, e.g.: |
| 86 | +# |
| 87 | +#DPDK_DEVICE=0000:17:00.0,rxhdr_dynfield=1,reta_index_global=1,queue_driver=native |
| 88 | +# |
| 89 | +# this example shows parameters for FPGA firmware by CESNET: |
| 90 | +# rxhdr_dynfield=1 ~ memory allocation |
| 91 | +# reta_index_global=1 ~ enable redirection table to enhance RSS among multiple ports |
| 92 | +# queue_driver=native ~ DPDK driver mode |
70 | 93 |
|
| 94 | +# Required: Set network device port, can be a list separated by comma: |
71 | 95 | #DPDK_PORT=0 |
72 | 96 |
|
73 | | -# Set number of parallel queues (RSS feature) |
| 97 | +#---------------------------------------- |
| 98 | +# Option B) DPDK mring input instead of DPDK_DEVICE |
| 99 | +#---------------------------------------- |
74 | 100 |
|
75 | | -#DPDK_QUEUES_COUNT=8 |
| 101 | +# Enable option B) instead of A), receive packets via DPDK mrings |
| 102 | +#DPDK_RING=1 |
| 103 | + |
| 104 | +# Required: set pattern to generate mring identifiers, use %i of printf format to place index: |
| 105 | +#DPDK_RING_PATTERN="rx_ipfixprobe_%i" |
| 106 | + |
| 107 | +# set starting index to generate mring identifiers (e.g., startidx=8 with DPDK_QUEUES_COUNT=4 makes indexes 8, 9, 10, 11) |
| 108 | +#DPDK_RING_STARTIDX=0 |
76 | 109 |
|
77 | 110 | #=================================================== |
78 | 111 |
|
|
0 commit comments