mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-17 22:23:45 -04:00
Extend basic structures of the driver (e.g. 'idpf_vport', 'idpf_*_queue', 'idpf_vport_user_config_data') by adding members necessary to support XDP. Add extra XDP Tx queues needed to support XDP_TX and XDP_REDIRECT actions without interfering with regular Tx traffic. Also add functions dedicated to support XDP initialization for Rx and Tx queues and call those functions from the existing algorithms of queues configuration. Signed-off-by: Michal Kubiak <michal.kubiak@intel.com> Co-developed-by: Alexander Lobakin <aleksander.lobakin@intel.com> Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com> Tested-by: Ramu R <ramu.r@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
28 lines
736 B
Plaintext
28 lines
736 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (C) 2024 Intel Corporation
|
|
|
|
config IDPF
|
|
tristate "Intel(R) Infrastructure Data Path Function Support"
|
|
depends on PCI_MSI
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
select DIMLIB
|
|
select LIBETH_XDP
|
|
help
|
|
This driver supports Intel(R) Infrastructure Data Path Function
|
|
devices.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called idpf.
|
|
|
|
if IDPF
|
|
|
|
config IDPF_SINGLEQ
|
|
bool "idpf singleq support"
|
|
help
|
|
This option enables support for legacy single Rx/Tx queues w/no
|
|
completion and fill queues. Only enable if you have hardware which
|
|
wants to work in this mode as it increases the driver size and adds
|
|
runtme checks on hotpath.
|
|
|
|
endif # IDPF
|