| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New commits:
d29522a dpsw: set mem_size field in ls-addsw to 0 by default
d7512d2 dpdmux: set mem_size field in ls-addmux to 0 by default
8fd3a6b restool: increase version to v2.3
53140e4 restool: change version string formatting
34e4e27 add man page for restool
2d46b18 restool: add bash completion script
2b876b5 dpdmai: add support for the new DPDMAI_OPT_CG_PER_PRIORITY create option
6188bc5 restool: support new dpsw_create and dpdmux_create option mem_size
0dd8744 restool: add DPSW_OPT_BP_PER_IF in dpsw create and ls-addsw
1bdfa99 ls-delete: take into account different naming for device links
6dd9314 dpni: memset the statistics
feddfa6 dpsw: add support to configure the component-type
282bd30 restool: add support for DPDMUX_OPT_AUTO_MAX_FRAME_LEN
23cdaec restool: print max_frame_length in info command
2876f7c dpni: add page_6 missing structure to dpn_statistics_v10
18c53fc restool: info command shows newly added stats
96ce70e dpdmux: dump interface statistics in info command output
afd9831 scripts: add the ls-delete helper script
0977d12 ls-addni: create a DPMCP for each DPIO created
disable manpage generation.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Fix:
| restool.c: In function 'main':
| restool.c:1346:68: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
| 1346 | DEBUG_PRINTF("restool built on " __DATE__ " " __TIME__ "\n");
| | ^
| restool.c:1346:42: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix:
In function 'create_dpbp_v9',
inlined from 'create_dpbp' at dpbp_commands.c:465:11:
dpbp_commands.c:371:17: error: 'dpbp_cfg' may be used uninitialized [-Werror=maybe-uninitialized]
371 | error = dpbp_create(&restool.mc_io, 0, dpbp_cfg, &dpbp_handle);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from dpbp_commands.c:43:
dpbp_commands.c: In function 'create_dpbp':
mc_v9/fsl_dpbp.h:108:5: note: by argument 3 of type 'const struct dpbp_cfg *' to 'dpbp_create' declared here
108 | int dpbp_create(struct fsl_mc_io *mc_io,
| ^~~~~~~~~~~
dpbp_commands.c:448:25: note: 'dpbp_cfg' declared here
448 | struct dpbp_cfg dpbp_cfg;
| ^~~~~~~~
| In function 'create_dprtc_v9',
| inlined from 'create_dprtc' at dprtc_commands.c:463:11:
| dprtc_commands.c:369:17: error: 'dprtc_cfg' may be used uninitialized [-Werror=maybe-uninitialized]
| 369 | error = dprtc_create(&restool.mc_io, 0, dprtc_cfg, &dprtc_handle);
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from dprtc_commands.c:42:
| dprtc_commands.c: In function 'create_dprtc':
| mc_v9/fsl_dprtc.h:126:5: note: by argument 3 of type 'const struct dprtc_cfg *' to 'dprtc_create' declared here
| 126 | int dprtc_create(struct fsl_mc_io *mc_io,
| | ^~~~~~~~~~~~
| dprtc_commands.c:447:26: note: 'dprtc_cfg' declared here
| 447 | struct dprtc_cfg dprtc_cfg;
| | ^~~~~~~~~
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Fix:
error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
cc1: all warnings being treated as errors
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New commits:
8ddbe4c dpni: fix info --verbose behavior
e5c6451 restool: fix another set of error revealed with -O2
91b82e3 restool: fix some compile errors with gcc 10.2
802764f restool: yocto build issue
59fe80d restool: display all object attrs on dpsw info
d002c5f increase restool version to v2.1
820c1bf restool: add DPNI_OPT_SHARED_FS in dpni create and ls-addni
6e18fe0 dprc: fix dpdmux num_ifs in the generated DPL
8e42057 restool: support new dpsw_create DPSW_OPT_LAG_DIS option
1d5aaf5 dprc: export the DPNI_OPT_NO_MAC_FILTER option in DTS
5b9f225 restool: support new dpni_create dist_key_size parameter
d99f9b7 dpsw: add update command to configure taildrop on a DPSW
1e9c4d2 restool: use --help in all circumstances
7064bec Restool: print MAC address in dpmac info command
31b02be Modify the default value of num-priorities
ebddd1b Fix restool create help command output
ec19874 restool: fix get_device_file() function
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update restool to LSDK-20.04 release from NXP which contains
following patches:
f0cec09 ls-main: fix endpoint parsing
59fefb1 Fixed restool dpcon create --help output
7bce792 ls-debug: Automatically create the DPDBG object only for valid commands
e00bcf9 Does not create DPDBG object in case of help command
3bff664 DPRC: set-locked on a child container
9607517 DPDBG: not available for mc version lower then 10.20.0
8fa1d5c add default interface support for dpdmux in restool
94114f5 Integrate the DPDBG object in restool:
9f6c465 ls-main: disable autorescan while in ls-* scripts
67011ba ls-main: introduce the get_interface_name function
cb63b6a scripts: explicity rescan the bus
3b40ef1 restool: add global option --rescan
42859dc scripts: print error message when endpoint does not exists
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
|
|
|
|
|
|
| |
*update to lsdk 1909 tag
include the following changes:
55a1f37 - dprc: add support for option DPRC_CFG_OPT_PL_ALLOWED
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
|
|
|
|
|
| |
*Update to lsdk 1903 tag
include the following changes:
8b1dd40 - dprc: fix compile error (only witn gcc 8.x)
8eb494d - dprc: enable DPDMUX_METHOD_CUSTOM in dpdmux generate dpl
dc120ff - add support for num cgs in restool for mc 10.14
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1812 tag
include the following changes
2b4dd21 - dprc: generate-dpl: export only the objects that exist
2c3202b - dpdmux: rename flib_ops
8106ce7 - export flib_ops in the restool header
ea39c04 - dpmac: update interface type enum
c54067a - dpseci: fix 16 queues support
1c2dde0 - dpmac: display counters in info command
40dddfc - scripts: dynamically setup the DPCON objects needed
eb49d17 - scripts: dynamically determine the number of DPIOs needed
2255cab - dpmac: add DPMAC_ETH_IF_CAUI as one of the supported phy types
cbee183 - dpseci: increase the maximum number of queues
ce7d849 - dpni: increase the maximum number of queues
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1809 tag
include the following changes:
9815bb6 - update flib_ops to use the v10 MC API
dbcc644 - dprc: generate-dpl: use MC APIs that support big-endian seamlessly
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*include the following changes:
2815572 - dpdmai: add --num-queues create parameter
a5f268b - scripts: suppress unit_address_vs_reg warnings when using newer dtc
0e2846a - scripts: Fix MC version check
d9cbf56 - dprc: use the corect specifier for uint16_t
1b49539 - dpni: print both rx and tx tcs number
10af575 - dpni: add support for 16 TX tcs
ad33877 - dpni: add DPNI_OPT_SINGLE_SENDER option
887deae - scripts: Infer switch ports number from specified endpoints
c8111df - scripts: Avoid word splitting
7a15d3e - ls-addsw: show netdev names when creating a dpsw
81fb178 - ls-addmux: fix endpoint discovery
254aef8 - update copyright years
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*include the following changes:
2634746 - dpdmux: add TCAM custom classification option
1c1d7a0 - scripts: add custom steering method to help message
888a386 - update dpdmux help to reflect that it can only be connected to a dpmac
aef8cda - add big-endian check for MC versions lower than V10
6ec9eeb - tranzition to the new form of MC APIs
9ca1a16 - mc_get_version does not require open on root dprc
660c48d - ls-append-dpl: set objects created in child dprc as plugged
7a0433d - scripts: add preliminary version of ls-append-dpl script
976391f - dpni: align option names with the DPL format
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*include the following changes:
90fe5c4 - ls-addni: accept arguments also as hex numbers
e3d1d6a - scripts: fix syntax error due to bash vs sh differences
59df620 - scripts: replace 'nproc' with cross-platform implementation
117f2a5 - scripts: do not compare strings with regexp expressions
378cd08 - scripts: use proper arithmetic operations
5224840 - scripts: workaround for a improper sed substitution
4a1df34 - scripts: use Bourne shell instead of bash
e103601 - scripts: use Bourne shell's pattern matching
2127850 - scripts: use strings instead of arrays
899d6c7 - scripts: use proper arithmetic operation syntax
09f8400 - scripts: use restool --full-path option
e316b4c - scripts: remove unnecessary arrays
6039bd1 - dprc: add --full-path option to dprc list command
978f00c - scripts: move shebang on the first line
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*include the following changes:
8f08b9d - scripts: remove symbolic links from repo
a22e095 - Makefile: change instalation path to $(DESTDIR)/usr/local/bin
9279f35 - Makefile: remove useless assignments
b92d1e1 - Makefile: do not force a specific hash style
fbea3ee - Makefile: create restool as a dynamically linked binary
1546b8a - Makefile: automatically generate list of source files
7ef0194 - remove unused variables
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
*add ls1043ardb and ls1046ardb support
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
87c3abe - scripts: fix improper usage of bash arithmetic operations
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*include the following changes
f01f2ea - add NXP Copyright where necessary
2a413ea - dpsw: change dpsw.X to dpsw.0 in help text
eeee9e8 - dpni: remove unused variable
837e541 - dpdmux: add support for L3 custom forwarding method
42f39ea - dpseci: add congestion group option for dpseci create
1516311 - dpni: execute dpni create even if MC10.2
55bdffd - add MC version compatiblilty check to wrapper scripts
fc29c3d - dprc: export connect configuration parameters to users
3fd971d - avoid INTEGER overflow in params of get_option_value function
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
*fix the below error
|<50>ERROR: restool-git-r0 do_fetch: Fetcher failure: Unable to find revision eba25cdfdccef45f7ba02dd2f829b9b55198fbb1
|in branch sdk-v2.0.x even from upstream
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|