![ASIX AXM57104 Скачать руководство пользователя страница 34](http://html1.mh-extra.com/html/asix/axm57104/axm57104_user-manual_2982937034.webp)
34
Copyright (C) 2020 Reserved by ASIX Electronics Corporation, All Rights Reserved.
AXM57104
TSN Ethernet Switch PCIe Card User Guide
Reference Design User Guide
7. AXM57104 Qav Config
The “
axm57104_qav_config
” program is used for set Qav configurations by external configuration file with
JSON
format. User can execute the programs in console independently or call the program by other software
process.
Type below command in console for help:
# axm57104_qav_config
Or
# axm57104_qav_config
–h
It will show all operations:
Figure 7 - 1
7-1 Read Configuration
Below command is an example for read Qav configuration of priority queue 0 of port 0.
# axm57104_qav_config
–c SWITCH –n 0 –p 0 –r
Figure 7 - 2
7-2 Write Configuration
Below command is an example for write Qav configuration of priority queue 0 of port 0 by JSON file.
# axm57104_qav_config
–c SWITCH –n 0 –p 0 –w ./configs/qav_config_file.json
The path of below JSON file is only an example and you should specify a correct path in your environment.
The reference JSON file you can refer to
“
configs/qav_file.json
” in software package path.
Or you can refer to the Qav JSON file of our demo in later chapter.
Figure 7 - 3