Coder Social home page Coder Social logo

atc's Introduction

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 [email protected]: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]

atc's People

Contributors

allas11 avatar antonh1 avatar deran1980 avatar ksagi avatar roysror avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.