[v4,00/31] net/ena: v2.9.0 driver release

Message ID 20240312180716.8515-1-shaibran@amazon.com (mailing list archive)
Headers
Series net/ena: v2.9.0 driver release |

Message

Brandes, Shai March 12, 2024, 6:06 p.m. UTC
  From: Shai Brandes <shaibran@amazon.com>

Hi all, the ena v2.9.0 release introduces:
1. HAL upgrade:
   - renamed the 'base' folder to be 'hal'
   - separated the HAL patches instead of a bulk update.
2. Restructured ena stats and metrics.
3. Restructured the LLQ configuration:
   - configurable via devarg.
   - support device recommendation.
   - restructure the logic in driver.
4. Added support for the admin queue to work only in poll-mode
   - configurable via devarg.
   - allows to bind ports to uio_pci_generic kernel driver.
5. Reworked the device close to exhaust interrupt callbacks and alarms.
6. Fixed a bug in fast mbuf free.
Best regards.

---
v4:
* deleted patch "[06/33] net/ena: rename base folder to hal".
* reworked patch "[07/33] net/ena: restructure the llq policy setting process" so the code maintain backward compatibility in user devargs.
* modified the title of "[09/33] net/ena/hal: add a new csum offload bit"
* deleted patch "[10/33] net/ena/hal: added a bus parameter to ena memcpy macro"
* reworked the commit message of "[08/33] net/ena/hal: exponential backoff exp limit" to better describe the reasoning for the change.
* reworked the wording of "[28/33] net/ena/hal: cosmetic changes"
* fixed "[26/33] net/ena: cosmetic changes" which broke patch by patch build.

v3:
* Fixed missing admin queue missing intialization in patch 0032

v2:
* Fixed minor spelling issues from checkpatch


Shai Brandes (31):
  net/ena: rework the metrics multi-process functions
  net/ena: report new supported link speed capabilities
  net/ena: update imissed stat with Rx overruns
  net/ena: sub-optimal configuration notifications support
  net/ena: fix fast mbuf free
  net/ena: restructure the llq policy setting process
  net/ena/base: limit exponential backoff exp
  net/ena/base: add a new csum offload bit
  net/ena/base: optimize Rx ring submission queue
  net/ena/base: rename fields in completion descriptors
  net/ena/base: use correct read once on u8 field
  net/ena/base: add completion descriptor corruption check
  net/ena/base: malformed Tx descriptor error reason
  net/ena/base: phc feature modifications
  net/ena/base: restructure interrupt handling
  net/ena/base: add unlikely to error checks
  net/ena/base: missing admin interrupt reset reason
  net/ena/base: check for existing keep alive notification
  net/ena/base: modify memory barrier comment
  net/ena/base: rework Rx ring submission queue
  net/ena/base: remove operating system type enum
  net/ena/base: handle command abort
  net/ena/base: add support for device reset request
  net/ena: cosmetic changes
  net/ena/base: modify customer metrics memory management
  net/ena/base: modify logs to use unsigned format specifier
  net/ena: update device-preferred size of rings
  net/ena: exhaust interrupt callbacks in device close
  net/ena: support max large llq depth from the device
  net/ena: control path pure polling mode
  net/ena: upgrade driver version to 2.9.0

 doc/guides/nics/ena.rst                       |  47 ++-
 doc/guides/rel_notes/release_24_03.rst        |  11 +
 drivers/net/ena/base/ena_com.c                | 240 ++++++++++-----
 drivers/net/ena/base/ena_com.h                |  53 +++-
 .../net/ena/base/ena_defs/ena_admin_defs.h    |  92 ++++--
 .../net/ena/base/ena_defs/ena_eth_io_defs.h   |  49 ++-
 drivers/net/ena/base/ena_defs/ena_regs_defs.h |   3 +
 drivers/net/ena/base/ena_eth_com.c            |  53 ++--
 drivers/net/ena/base/ena_eth_com.h            |  14 +-
 drivers/net/ena/base/ena_plat_dpdk.h          |   6 +-
 drivers/net/ena/ena_ethdev.c                  | 280 ++++++++++++++----
 drivers/net/ena/ena_ethdev.h                  |  17 +-
 12 files changed, 662 insertions(+), 203 deletions(-)
  

Comments

Ferruh Yigit March 13, 2024, 4 p.m. UTC | #1
On 3/12/2024 6:06 PM, shaibran@amazon.com wrote:
> From: Shai Brandes <shaibran@amazon.com>
> 
> Hi all, the ena v2.9.0 release introduces:
> 1. HAL upgrade:
>    - renamed the 'base' folder to be 'hal'
>    - separated the HAL patches instead of a bulk update.
> 2. Restructured ena stats and metrics.
> 3. Restructured the LLQ configuration:
>    - configurable via devarg.
>    - support device recommendation.
>    - restructure the logic in driver.
> 4. Added support for the admin queue to work only in poll-mode
>    - configurable via devarg.
>    - allows to bind ports to uio_pci_generic kernel driver.
> 5. Reworked the device close to exhaust interrupt callbacks and alarms.
> 6. Fixed a bug in fast mbuf free.
> Best regards.
> 
> ---
> v4:
> * deleted patch "[06/33] net/ena: rename base folder to hal".
> * reworked patch "[07/33] net/ena: restructure the llq policy setting 
> process" so the code maintain backward compatibility in user devargs.
> * modified the title of "[09/33] net/ena/hal: add a new csum offload 
> bit"
> * deleted patch "[10/33] net/ena/hal: added a bus parameter to ena 
> memcpy macro"
> * reworked the commit message of "[08/33] net/ena/hal: exponential 
> backoff exp limit" to better describe the reasoning for the change.
> * reworked the wording of "[28/33] net/ena/hal: cosmetic changes"
> * fixed "[26/33] net/ena: cosmetic changes" which broke patch by patch 
> build.
> 
> v3:
> * Fixed missing admin queue missing intialization in patch 0032
> 
> v2:
> * Fixed minor spelling issues from checkpatch
> 
> 
> Shai Brandes (31):
>   net/ena: rework the metrics multi-process functions
>   net/ena: report new supported link speed capabilities
>   net/ena: update imissed stat with Rx overruns
>   net/ena: sub-optimal configuration notifications support
>   net/ena: fix fast mbuf free
>   net/ena: restructure the llq policy setting process
>   net/ena/base: limit exponential backoff exp
>   net/ena/base: add a new csum offload bit
>   net/ena/base: optimize Rx ring submission queue
>   net/ena/base: rename fields in completion descriptors
>   net/ena/base: use correct read once on u8 field
>   net/ena/base: add completion descriptor corruption check
>   net/ena/base: malformed Tx descriptor error reason
>   net/ena/base: phc feature modifications
>   net/ena/base: restructure interrupt handling
>   net/ena/base: add unlikely to error checks
>   net/ena/base: missing admin interrupt reset reason
>   net/ena/base: check for existing keep alive notification
>   net/ena/base: modify memory barrier comment
>   net/ena/base: rework Rx ring submission queue
>   net/ena/base: remove operating system type enum
>   net/ena/base: handle command abort
>   net/ena/base: add support for device reset request
>   net/ena: cosmetic changes
>   net/ena/base: modify customer metrics memory management
>   net/ena/base: modify logs to use unsigned format specifier
>   net/ena: update device-preferred size of rings
>   net/ena: exhaust interrupt callbacks in device close
>   net/ena: support max large llq depth from the device
>   net/ena: control path pure polling mode
>   net/ena: upgrade driver version to 2.9.0
>

Series applied to dpdk-next-net/main, thanks.
  
Brandes, Shai March 13, 2024, 5:07 p.m. UTC | #2
Thank you Ferruh, I know it was last minute patchset. We appreciate your effort!
All the best, Shai

בתאריך 13 במרץ 2024 18:00,‏ Ferruh Yigit <ferruh.yigit@amd.com> כתב:
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



On 3/12/2024 6:06 PM, shaibran@amazon.com wrote:
> From: Shai Brandes <shaibran@amazon.com>
>
> Hi all, the ena v2.9.0 release introduces:
> 1. HAL upgrade:
>    - renamed the 'base' folder to be 'hal'
>    - separated the HAL patches instead of a bulk update.
> 2. Restructured ena stats and metrics.
> 3. Restructured the LLQ configuration:
>    - configurable via devarg.
>    - support device recommendation.
>    - restructure the logic in driver.
> 4. Added support for the admin queue to work only in poll-mode
>    - configurable via devarg.
>    - allows to bind ports to uio_pci_generic kernel driver.
> 5. Reworked the device close to exhaust interrupt callbacks and alarms.
> 6. Fixed a bug in fast mbuf free.
> Best regards.
>
> ---
> v4:
> * deleted patch "[06/33] net/ena: rename base folder to hal".
> * reworked patch "[07/33] net/ena: restructure the llq policy setting
> process" so the code maintain backward compatibility in user devargs.
> * modified the title of "[09/33] net/ena/hal: add a new csum offload
> bit"
> * deleted patch "[10/33] net/ena/hal: added a bus parameter to ena
> memcpy macro"
> * reworked the commit message of "[08/33] net/ena/hal: exponential
> backoff exp limit" to better describe the reasoning for the change.
> * reworked the wording of "[28/33] net/ena/hal: cosmetic changes"
> * fixed "[26/33] net/ena: cosmetic changes" which broke patch by patch
> build.
>
> v3:
> * Fixed missing admin queue missing intialization in patch 0032
>
> v2:
> * Fixed minor spelling issues from checkpatch
>
>
> Shai Brandes (31):
>   net/ena: rework the metrics multi-process functions
>   net/ena: report new supported link speed capabilities
>   net/ena: update imissed stat with Rx overruns
>   net/ena: sub-optimal configuration notifications support
>   net/ena: fix fast mbuf free
>   net/ena: restructure the llq policy setting process
>   net/ena/base: limit exponential backoff exp
>   net/ena/base: add a new csum offload bit
>   net/ena/base: optimize Rx ring submission queue
>   net/ena/base: rename fields in completion descriptors
>   net/ena/base: use correct read once on u8 field
>   net/ena/base: add completion descriptor corruption check
>   net/ena/base: malformed Tx descriptor error reason
>   net/ena/base: phc feature modifications
>   net/ena/base: restructure interrupt handling
>   net/ena/base: add unlikely to error checks
>   net/ena/base: missing admin interrupt reset reason
>   net/ena/base: check for existing keep alive notification
>   net/ena/base: modify memory barrier comment
>   net/ena/base: rework Rx ring submission queue
>   net/ena/base: remove operating system type enum
>   net/ena/base: handle command abort
>   net/ena/base: add support for device reset request
>   net/ena: cosmetic changes
>   net/ena/base: modify customer metrics memory management
>   net/ena/base: modify logs to use unsigned format specifier
>   net/ena: update device-preferred size of rings
>   net/ena: exhaust interrupt callbacks in device close
>   net/ena: support max large llq depth from the device
>   net/ena: control path pure polling mode
>   net/ena: upgrade driver version to 2.9.0
>

Series applied to dpdk-next-net/main, thanks.