[Intel-wired-lan] [PATCH v7 2/2] i40e: add support for XDP_TX action

Bowers, AndrewX andrewx.bowers at intel.com
Thu May 25 19:02:01 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Björn Töpel
> Sent: Tuesday, May 23, 2017 10:56 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>; intel-wired-
> lan at lists.osuosl.org; alexander.duyck at gmail.com
> Cc: daniel at iogearbox.net; Topel, Bjorn <bjorn.topel at intel.com>; Karlsson,
> Magnus <magnus.karlsson at intel.com>
> Subject: [Intel-wired-lan] [PATCH v7 2/2] i40e: add support for XDP_TX action
> 
> From: Björn Töpel <bjorn.topel at intel.com>
> 
> This patch adds proper XDP_TX action support. For each Tx ring, an additional
> XDP Tx ring is allocated and setup. This version does the DMA mapping in the
> fast-path, which will penalize performance for IOMMU enabled systems.
> Further, debugfs support is not wired up for the XDP Tx rings.
> 
> Signed-off-by: Björn Töpel <bjorn.topel at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h         |   1 +
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c |  42 +++-
>  drivers/net/ethernet/intel/i40e/i40e_main.c    | 277
> +++++++++++++++++++------
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c    | 118 ++++++++++-
>  drivers/net/ethernet/intel/i40e/i40e_txrx.h    |  11 +
>  5 files changed, 373 insertions(+), 76 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list