]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Merge branch 'nfp-add-flower-app-with-representors'
authorDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:42:09 +0000 (11:42 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:42:09 +0000 (11:42 -0400)
commit74811a710e18c22eca1ffbf97ebd6201efea7d91
tree3ec952e7b6406a110428dbfd37994ef230a601b4
parentcf3db45dc1bedd628bae363a0d32d4ee11b4d9dd
parent24a021ed77ef8d090bf15ad1ac24d29fcfe9a410
Merge branch 'nfp-add-flower-app-with-representors'

Simon Horman says:

====================
nfp: add flower app with representors

this series adds a flower app to the NFP driver.
It initialises four types of netdevs:

* PF netdev - lower-device for communication of packets to device
* PF representor netdev
* VF representor netdevs
* Phys port representor netdevs

The PF netdev acts as a lower-device which sends and receives packets to
and from the firmware. The representors act as upper-devices. For TX
representors attach a metadata dst to the skb which is used by the PF
netdev to prepend metadata to the packet before forwarding the firmware. On
RX the PF netdev looks up the representor based on the prepended metadata
received from the firmware and forwards the skb to the representor after
removing the metadata.

Control queues are used to send and receive control messages which are
used to communicate configuration information with the firmware. These
are in separate vNIC to the queues belonging to the PF netdev. The control
queues are not exposed to use-space via a netdev or any other means.

The first 9 patches of this series provide app-independent infrastructure
to instantiate representors and the remaining 3 patches provide an app
which uses this infrastructure.

As the name implies this app is targeted at providing offload of TC flower.
Flower offload - allowing classifiers to be attached to representor netdevs
- is intended to be provided by follow-up patches at which point it will
become the dominant feature of the app.

Minor changes since v2 noted in changelogs of individual patches.
Review of v1 and v2 of this patchset have been addressed either
through discussion on-list or changes in this patchset.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>