Coder Social home page Coder Social logo

flower-route's Introduction

Flower route

flower-route syncronizes a routing table toa TC-flower offload-capable NIC

*----------*   *-----------*
| e-Switch *---* Linux box |
*-*--------*   *-----------*
  | Nvidia ConnectX-5+ (ASAP²-capable)
  |
  | (tagged VLANs)
  |
*-*---------*   *---------------*
| L2 switch *---*  internal L3  |
*-*-*-*-----*   | routing cloud |
  | | |         *---------------*
  | | *-- PNI
  | |
  | *-- IX
  |
  *-- Transit

Supported hardware

Currently we have only tested with Connect-X 5 and 6, but other might work too. YMMV.

Every device have a different way to enable TC offload, a script for doing it for mlx5 devices, can be found in prepare-mlx5.sh.

Options

$ ./flower-routed --help
usage: ./flower-routed [OPTIONS]

flower-route syncronizes a routing table toa TC-flower offload-capable NIC

The following NIC's are currently Known to work:
- Mellanox ConnectX-4 onwards (those that have "ASAP²")
     (Currently only tested on Connect-X 5 and 6 Dx)

Options:
        -i, --iface <iface>               install offload rules on interface
        -t, --table <table>               routing table to syncronize with
        -p, --add-prefix <list> <prefix>  add static prefix
        -P, --load-prefix <list> <file>   load static prefixes from file
        -s, --scan-interval <secs>        time between netlink scans (dft: 10s)
        -T, --timeout <secs>              run for <n> seconds, and then exit
        -1, --one-off                     just sync once, and then exit
            --skip-hw                     for testing without hardware
            --dry-run                     don't make any changes to TC
        -v, --verbose                     increase verbosity
            --version                     show version
        -h, --help                        show this help text

TODO

Please check out our TODO list, patches are welcome.

License

flower-route is licensed under GPLv2 or later.

flower-route's People

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.