summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorShahaf Shuler <shahafs@mellanox.com>2017-10-04 11:17:58 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2017-10-06 02:49:50 +0200
commitce17eddefc20285bbfe575bdc07f42f0b20f34cb (patch)
tree94f3f0b22d17f9bed8f24fe1ca14294e03c23142 /examples
parent73332ab85ef64324aa944789e714450a0b3fb8a8 (diff)
downloaddpdk-ce17eddefc20.zip
dpdk-ce17eddefc20.tar.gz
dpdk-ce17eddefc20.tar.xz
ethdev: introduce Rx queue offloads API
Introduce a new API to configure Rx offloads. In the new API, offloads are divided into per-port and per-queue offloads. The PMD reports capability for each of them. Offloads are enabled using the existing DEV_RX_OFFLOAD_* flags. To enable per-port offload, the offload should be set on both device configuration and queue configuration. To enable per-queue offload, the offloads can be set only on queue configuration. Applications should set the ignore_offload_bitfield bit on rxmode structure in order to move to the new API. The old Rx offloads API is kept for the meanwhile, in order to enable a smooth transition for PMDs and application to the new API. Signed-off-by: Shahaf Shuler <shahafs@mellanox.com> Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions