DPDK, with patches for FM10K Silicom cards with inline Switch Manager https://gist.github.com/WeebDataHoarder/634f2ef54e0c6cde0ccdb00e377e5e28
Go to file
Viacheslav Ovsiienko b176cb32b5 doc: announce ethdev API change for Rx split
The DPDK datapath in the transmit direction is very flexible.
The applications can build multi-segment packets and manages
almost all data aspects - the memory pools where segments
are allocated from, the segment lengths, the memory attributes
like external, registered, etc.

In the receiving direction, the datapath is much less flexible,
the applications can only specify the memory pool to configure
the receiving queue and nothing more. The packet being received
can only be pushed to the chain of the mbufs of the same data
buffer size and allocated from the same pool. In order to extend
the receiving datapath buffer description it is proposed to add
the new fields into rte_eth_rxconf structure:

struct rte_eth_rxconf {
    ...
    uint16_t rx_split_num; /* number of segments to split */
    uint16_t *rx_split_len; /* array of segment lengths */
    struct rte_mempool **mp; /* array of segment memory pools */
    ...
};

The non-zero value of rx_split_num field configures the receiving
queue to split ingress packets into multiple segments to the mbufs
allocated from various memory pools according to the specified
lengths. The zero value of rx_split_num field provides the
backward compatibility and queue should be configured in a regular
way (with single/multiple mbufs of the same data buffer length
allocated from the single memory pool).

The new approach would allow splitting the ingress packets into
multiple parts pushed to the memory with different attributes.
For example, the packet headers can be pushed to the embedded data
buffers within mbufs and the application data into the external
buffers attached to mbufs allocated from the different memory
pools. The memory attributes for the split parts may differ
either - for example the application data may be pushed into
the external memory located on the dedicated physical device,
say GPU or NVMe. This would improve the DPDK receiving datapath
flexibility preserving compatibility with existing API.

The proposed extended description of receiving buffers might be
considered by other vendors to be involved into similar features
support, it is the subject for the further discussion.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-08-06 23:47:49 +02:00
.ci ci: reduce examples in static builds 2020-04-17 23:34:08 +02:00
app app/testpmd: fix timestamp init in txonly mode 2020-07-30 00:41:24 +02:00
buildtools doc: fix build when sphinx reports version to stderr 2020-07-31 01:09:26 +02:00
config net/bnxt: remove EEM system memory support 2020-07-30 00:41:24 +02:00
devtools devtools: summarize git log check 2020-07-31 01:09:26 +02:00
doc doc: announce ethdev API change for Rx split 2020-08-06 23:47:49 +02:00
drivers net/bnxt: fix flow counter query 2020-08-05 21:25:47 +02:00
examples examples/packet_ordering: use proper exit method 2020-07-30 23:36:39 +02:00
kernel kernel/linux: error out on module build failure 2020-05-19 17:59:57 +02:00
lib ethdev: remove device-specific comments from VLAN API 2020-08-05 20:01:49 +02:00
license eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
mk regex/mlx5: support probing 2020-07-21 19:04:05 +02:00
usertools add python2 deprecation notice 2020-07-21 22:58:18 +02:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
.travis.yml version: 20.08-rc0 2020-05-27 11:37:33 +02:00
ABI_VERSION version: 20.08-rc0 2020-05-27 11:37:33 +02:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS devtools: add new SPDX license compliance checker 2020-07-31 01:09:26 +02:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson.build build: check AVX512 rather than binutils version 2020-07-05 21:32:40 +02:00
meson_options.txt trace: introduce new subsystem 2020-04-23 15:39:06 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.08-rc4 2020-08-06 02:47:03 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org