No description, website, or topics provided.
C Python Perl Shell Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
package
src
target
verification
.cproject
.gitignore
.project
EZdk
EZide
README.md
cli.mk
cp.mk
deb.mk
dp.mk
make.mk
makefile
pack.mk

README.md

ATC - accelerated TC


Overview



The Linux® Traffic Control (TC) is a network
ingress and egress classification, action and traffic management subsystem. It
was first developed for the purpose of classifying packets and for traffic
management and virtual output queuing but has since evolved to support
arbitrary actions not related specifically to traffic management. 

The Mellanox Accelerated TC (ATC) solution improves upon the Linux TC by
moving the packet processing functionality from Linux network stack to the Indigo
NPS-400 network processor, installed in the Indigo NPS-400 Platform to improve
performance to up to 400Gb/s.

Prepare ATC enviroment


1. Pull latest ATC from GitHub

git clone git@github.com:Mellanox/ATC.git
git checkout release/24.0100

2. Download openNPU

openNPU


  Follow instructions in the above link on how to setup EZdk openNPU enviroment.

  The version must be 18_0400.

3. Remove EZdk soft link

  Go to ATC project folder and remove the soft link to EZdk. use the following commands:
  rm EZdk

4. Add soft link to openNPU EZdk

Use the following command to link EZdk openNPU to ATC application:
ln -s <local openNPU folder>/EZdk EZdk

Build ATC application


The ATC build process has 2 steps:

  • Build ATC application

  • Build ATC debian package

Compile ATC

To compile the ATC application go to ATC directory and run make atc command.
Make will compile the control plane (cp.mk) code and the data plane (dp.mk) code.

Build ATC debian package

In order to build a debian package you must run the following command on a debian machine:

       make deb-atc

In case you don't have a debian machine, use a virtual machine running debian and mount

the ATC directory on it. Afterwards, perform the above command in the debian machine.

The output of the above command is a debian package file under ATC folder. for example:

      atc_24.0100.0000_amd64.deb

Copy the package to the Indigo NPS-400 appliance box and install it using the following command:

      dpkg -i atc_24.0100.0000_amd64.deb - also works for upgrade.

In case you want to remove ATC package from Indigo NPS-400 appliance, run the following command:

      dpkg -r atc

To purge (also removes ATC config):

      dpkg -P atc

For more information on ATC application, features, setup and more see:

  • Manual [add link here]

  • Release notes [add link here]