All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bowers, AndrewX <andrewx.bowers@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [next PATCH S2-V2 02/12] i40e: Implement DDP support in i40e driver
Date: Wed, 13 Feb 2019 20:14:44 +0000	[thread overview]
Message-ID: <26D9FDECA4FBDD4AADA65D8E2FC68A4A1D365FA0@ORSMSX104.amr.corp.intel.com> (raw)
In-Reply-To: <20190206230826.24970-2-alice.michael@intel.com>

> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Wednesday, February 6, 2019 3:08 PM
> To: Michael, Alice <alice.michael@intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Loktionov, Aleksandr <aleksandr.loktionov@intel.com>
> Subject: [Intel-wired-lan] [next PATCH S2-V2 02/12] i40e: Implement DDP
> support in i40e driver
> 
> From: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
> 
> This patch introduces DDP (Dynamic Device Personalization) which allows
> loading profiles that change the way internal parser interprets processed
> frames. To load DDP profiles it utilizes ethtool flash feature. The files with
> recipes must be located in /var/lib/firmware directory. Afterwards the recipe
> can be loaded by invoking:
> 
>     ethtool -f <if_name> <file_name> 100
>     ethtool -f <if_name> - 100
> 
> See further usage details of this feature in the i40e documentation, or visit
> https://software.intel.com/en-us/articles/dynamic-device-personalization-
> for-intel-ethernet-700-series
> 
> The driver shall verify DDP profile can be loaded in accordance with the rules:
> * Package with Group ID 0 are exclusive and can only be loaded the first.
> * Packages with Group ID 0x01-0xFE can only be loaded simultaneously
>    with the packages from the same group.
> * Packages with Group ID 0xFF are compatible with all other packages.
> 
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/Makefile      |   1 +
>  drivers/net/ethernet/intel/i40e/i40e.h        |  25 +
>  drivers/net/ethernet/intel/i40e/i40e_common.c | 253 ++++++++-
>  drivers/net/ethernet/intel/i40e/i40e_ddp.c    | 481 ++++++++++++++++++
>  .../net/ethernet/intel/i40e/i40e_ethtool.c    |   1 +
>  drivers/net/ethernet/intel/i40e/i40e_main.c   |   1 +
>  .../net/ethernet/intel/i40e/i40e_prototype.h  |   6 +
>  drivers/net/ethernet/intel/i40e/i40e_type.h   |  23 +
>  8 files changed, 769 insertions(+), 22 deletions(-)  create mode 100644
> drivers/net/ethernet/intel/i40e/i40e_ddp.c

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



  reply	other threads:[~2019-02-13 20:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-06 23:08 [Intel-wired-lan] [next PATCH S2-V2 01/12] i40e: Queues are reserved despite "Invalid argument" error Alice Michael
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 02/12] i40e: Implement DDP support in i40e driver Alice Michael
2019-02-13 20:14   ` Bowers, AndrewX [this message]
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 03/12] i40e: don't allow changes to HW vlan stripping on active port vlans Alice Michael
2019-03-02  0:00   ` Bowers, AndrewX
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 04/12] i40e: save PTP time before a device reset Alice Michael
2019-02-12 19:51   ` Keller, Jacob E
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 05/12] i40e: Fix for 10G ports LED not blinking Alice Michael
2019-02-13 20:15   ` Bowers, AndrewX
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 06/12] i40e: Update i40e_init_dcb to return correct error Alice Michael
2019-02-13 20:16   ` Bowers, AndrewX
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 07/12] i40e: Remove misleading messages for untrusted VF Alice Michael
2019-02-13 20:16   ` Bowers, AndrewX
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 08/12] i40e: Changed maximum supported FW API version to 1.8 Alice Michael
2019-02-13 20:17   ` Bowers, AndrewX
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 09/12] i40e: The driver now prints the API version in error message Alice Michael
2019-02-12  9:41   ` Ludkiewicz, Adam
2019-02-13 20:17   ` Bowers, AndrewX
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 10/12] i40e: Report advertised link modes on 40GBASE_SR4 Alice Michael
2019-02-12  9:41   ` Ludkiewicz, Adam
2019-02-13 20:21   ` Bowers, AndrewX
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 11/12] i40e: Able to add up to 16 MAC filters on an untrusted VF Alice Michael
2019-02-13 20:24   ` Bowers, AndrewX
2019-02-06 23:08 ` [Intel-wired-lan] [next PATCH S2-V2 12/12] i40e: Fix misleading error message Alice Michael
2019-02-13 20:24   ` Bowers, AndrewX
2019-02-13 18:57 ` [Intel-wired-lan] [next PATCH S2-V2 01/12] i40e: Queues are reserved despite "Invalid argument" error Bowers, AndrewX

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26D9FDECA4FBDD4AADA65D8E2FC68A4A1D365FA0@ORSMSX104.amr.corp.intel.com \
    --to=andrewx.bowers@intel.com \
    --cc=intel-wired-lan@osuosl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.