Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
799 changed files
with
36,804 additions
and
36,379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file renamed
BIN
+573 KB
OpenNSL_3.4.1.6_Release_Notes_CDP.pdf → OpenNSL_3.5.0.1_Release_Notes_CDP.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
opennsl-3.4.1.6 | ||
opennsl-3.5.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
This document describes how to install OpenNSL binary provided | ||
in this package on the supported Agema DNX platforms with x86 CPU card. | ||
|
||
Building OpenNSL | ||
================ | ||
Source code for OpenNSL sample applications may be built on the switch. Use the | ||
following steps to compile OpenNSL including sample applications. | ||
|
||
1) Extract the code tarball into the destination directory say opennsl_root. | ||
|
||
2) Go to output directory: opennsl_root/opennsl/output/ag-x86-dnx-deb80 | ||
|
||
3) Issue "make" to create an OpenNSL shared library object, linux kernel modules. | ||
|
||
4) The deliverables folder : opennsl_root/opennsl/output/ag-x86-dnx-deb80/build | ||
shall have the following files. | ||
a) Linux kernel module : linux-kernel-bde.ko | ||
b) Linux user module : linux-user-bde.ko | ||
c) KNET driver module : linux-bcm-knet.ko | ||
d) OpenNSL shared object library : libopennsl.so | ||
|
||
Building example Applications | ||
============================= | ||
NOTE: This section is applicable only if the package includes example applications. | ||
|
||
Source code for OpenNSL sample applications may be built on the switch. The | ||
example applications are dynamically linked with the OpenNSL shared library. | ||
Use the following steps to compile example applications. | ||
|
||
1) Go to output directory: opennsl_root/opennsl/output/ag-x86-dnx-deb80 | ||
|
||
2) Issue "make examples" to compile all the sample applications | ||
|
||
|
||
Downloading and running OpenNSL sample applications | ||
=================================================== | ||
|
||
1) cd to target deliverables directory: | ||
opennsl_root/opennsl/output/ag-x86-dnx-deb80 | ||
|
||
2) Use the following commands to update the linux kernel modules | ||
i ) Execute "lsmod" to list the installed linux kernel modules. | ||
ii ) Remove the linux kernel and user modules by using "rmmod" command. | ||
iii) Install linux kernel modules built for OpenNSL platform by using | ||
the following commands. Please ensure that the modules are removed | ||
before inserting it using 'rmmod' command. | ||
# mknod /dev/linux-kernel-bde c 127 0 | ||
# mknod /dev/linux-user-bde c 126 0 | ||
# mknod /dev/linux-bcm-knet c 122 0 | ||
# insmod linux-kernel-bde.ko | ||
# insmod linux-user-bde.ko | ||
# insmod linux-bcm-knet.ko ftmh_lb_key_ext=1 | ||
Note: The following additional parameters needs to be passed to "insmod linux-bcm-knet.ko" if required. Use "modinfo" command to list the valid parameters. | ||
a) Pass "ftmh_lb_key_ext=1", if "system_ftmh_load_balancing_ext_mode" is enabled in config file. | ||
b) Pass "ftmh_stacking_ext=1", if "stacking_enable" is set to "1" in config file. | ||
|
||
3) Install OpenNSL shared library. The destination directory to install the | ||
shared library depends on the host environment configuration. Install the | ||
library files in a location included in the system's library search path. | ||
# mv libopennsl.so.1 /usr/lib | ||
# cd /usr/lib | ||
# ln -sf libopennsl.so.1 libopennsl.so | ||
|
||
4) Download the platform specific configuration files to switch. Set the OPENNSL_CONFIG_FILE path to point to configuration files. Refer to OpenNSL documentation, section "Customizing OpenNSL platform" for more details. | ||
|
||
5) cd to the target deliverables directory and run the sample application. | ||
# chmod +x sample_application | ||
#./sample_application | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Before you can use the libopennsl.so.1 in this directory you must first issue | ||
the command `gunzip libopennsl.so.1.gz; ln -s libopennsl.so.1 libopennsl.so`. |
Oops, something went wrong.