Go to file
Andrew Boyer 18a4446586 net/ionic: revise configuration flag handling
Configuration flags come to the driver in dev_configure(). From there,
the driver calls ionic_lif_configure() to update the lif->feature
bitfield, and then programs the port.

Features like VLAN_RX_FILTER and RX_HASH cannot be disabled in the
device, so do nothing in response to requests to disable them. (The
device config would ideally show them enabled by default, but some
DTS tests fail if RSS_HASH is set but RSS is not.)

Move features from the per-queue to per-port lists. IONIC does not
really support per-queue configuration: the stack disallows disabling
a queue feature if it is enabled on the port, while the device
disallows enabling a queue feature if it is disabled on the port.
Thus all configuration is per-port.

Move the guts of ionic_vlan_offload_set() into a new function,
ionic_lif_configure_vlan_offload(), so it can be called by
ionic_lif_configure().

Move the check for DEV_RX_OFFLOAD_SCATTER from rx_queue_setup() up
into ionic_lif_configure().

Warn if rx_drop_en is not set.

Signed-off-by: Andrew Boyer <aboyer@pensando.io>
2021-01-19 03:30:32 +01:00
.ci ci: enable v21 ABI checks 2020-12-14 15:34:04 +01:00
.github/workflows ci: fix package installation in GitHub Actions 2020-12-19 09:21:25 +01:00
app app/testpmd: fix IP checksum calculation 2021-01-19 03:30:32 +01:00
buildtools build: fix linker flags on Windows 2021-01-13 22:13:37 +01:00
config cryptodev: add enqueue and dequeue callbacks 2021-01-19 18:05:44 +01:00
devtools cryptodev: add enqueue and dequeue callbacks 2021-01-19 18:05:44 +01:00
doc net/enic: use 64B completion queue entries if available 2021-01-19 03:30:32 +01:00
drivers net/ionic: revise configuration flag handling 2021-01-19 03:30:32 +01:00
examples examples/l3fwd: remove limitation on Tx queue count 2021-01-19 13:12:59 +01:00
kernel kni: fix build on RHEL 8.3 2020-11-27 01:39:54 +01:00
lib ethdev: avoid blocking telemetry for link status 2021-01-19 03:30:32 +01:00
license license: add licenses for exception cases 2020-12-11 12:22:19 +01:00
usertools usertools: remove dpdk-setup.sh 2020-11-27 17:25:24 +01: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 ci: enable v21 ABI checks 2020-12-14 15:34:04 +01:00
ABI_VERSION version: 21.02-rc0 2020-11-30 10:55:22 +01:00
MAINTAINERS maintainers: update for testpmd 2021-01-19 17:11:52 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt build: update meson for Marvell Armada drivers 2021-01-08 16:03:05 +01:00
meson.build examples: fix flattening directory layout on install 2020-11-12 19:33:06 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 21.02-rc0 2020-11-30 10:55:22 +01: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