DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ajit Khaparde <ajit.khaparde@broadcom.com>
To: dev@dpdk.org
Subject: [PATCH v3 00/11] sync Truflow support with latest release
Date: Thu,  4 May 2023 10:36:01 -0700	[thread overview]
Message-ID: <20230504173612.17696-1-ajit.khaparde@broadcom.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 11816 bytes --]

Update Truflow support to latest release, deprecating code, updating
the copyright date and hsi structure, syncing the truflow core,
adding ULP shared session support, RSS action support, Queue
action support, rte meter support, and more.

Please apply.

v2->v3:
- update some commit messages
- removed some empty lines in the patches
- removed some dead and unnecessary code
- fixed some checkpatch errors

Version 2 fixes:
- misspellings
- whitespace issues
- signed off issues


Kishore Padmanabha (1):
  net/bnxt: fix multi-root card support

Randy Schacher (8):
  net/bnxt: remove deprecated features
  net/bnxt: update bnxt hsi structure
  net/bnxt: update copyright date and cleanup whitespace
  net/bnxt: update Truflow core
  net/bnxt: update ULP shared session support
  net/bnxt: add RSS and Queue action in TruFLow
  net/bnxt: add support for rte meter
  net/bnxt: add support for eCPRI packet parsing

Shuanglin Wang (1):
  net/bnxt: set RSS config based on RSS mode

Somnath Kotur (1):
  net/bnxt: update PTP support on Thor

 .mailmap                                      |     1 +
 doc/guides/nics/features/bnxt.ini             |     3 +
 drivers/net/bnxt/bnxt.h                       |    66 +-
 drivers/net/bnxt/bnxt_cpr.c                   |     2 +-
 drivers/net/bnxt/bnxt_cpr.h                   |     2 +-
 drivers/net/bnxt/bnxt_ethdev.c                |   209 +-
 drivers/net/bnxt/bnxt_filter.c                |     2 +-
 drivers/net/bnxt/bnxt_filter.h                |     6 +-
 drivers/net/bnxt/bnxt_flow.c                  |    75 +-
 drivers/net/bnxt/bnxt_hwrm.c                  |   272 +-
 drivers/net/bnxt/bnxt_hwrm.h                  |    40 +-
 drivers/net/bnxt/bnxt_irq.c                   |     2 +-
 drivers/net/bnxt/bnxt_irq.h                   |     3 +-
 drivers/net/bnxt/bnxt_nvm_defs.h              |     3 +-
 drivers/net/bnxt/bnxt_reps.c                  |     4 +-
 drivers/net/bnxt/bnxt_reps.h                  |     2 +-
 drivers/net/bnxt/bnxt_ring.c                  |     7 +-
 drivers/net/bnxt/bnxt_ring.h                  |     3 +-
 drivers/net/bnxt/bnxt_rxq.c                   |   159 +-
 drivers/net/bnxt/bnxt_rxq.h                   |     2 +-
 drivers/net/bnxt/bnxt_rxr.c                   |    15 +-
 drivers/net/bnxt/bnxt_rxr.h                   |     3 +-
 drivers/net/bnxt/bnxt_rxtx_vec_avx2.c         |     2 +-
 drivers/net/bnxt/bnxt_rxtx_vec_common.h       |     2 +-
 drivers/net/bnxt/bnxt_rxtx_vec_neon.c         |     2 +-
 drivers/net/bnxt/bnxt_rxtx_vec_sse.c          |     2 +-
 drivers/net/bnxt/bnxt_stats.c                 |     2 +-
 drivers/net/bnxt/bnxt_stats.h                 |     2 +-
 drivers/net/bnxt/bnxt_txq.c                   |     3 +-
 drivers/net/bnxt/bnxt_txq.h                   |     2 +-
 drivers/net/bnxt/bnxt_txr.c                   |    55 +-
 drivers/net/bnxt/bnxt_txr.h                   |     4 +-
 drivers/net/bnxt/bnxt_util.c                  |     2 +-
 drivers/net/bnxt/bnxt_util.h                  |     3 +-
 drivers/net/bnxt/bnxt_vnic.c                  |   974 +-
 drivers/net/bnxt/bnxt_vnic.h                  |    80 +-
 drivers/net/bnxt/hsi_struct_def_dpdk.h        |  5723 ++-
 drivers/net/bnxt/meson.build                  |     5 +-
 drivers/net/bnxt/rte_pmd_bnxt.c               |     2 +-
 drivers/net/bnxt/rte_pmd_bnxt.h               |     2 +-
 drivers/net/bnxt/tf_core/bitalloc.c           |     3 +-
 drivers/net/bnxt/tf_core/bitalloc.h           |     3 +-
 drivers/net/bnxt/tf_core/cfa_resource_types.h |     5 +-
 drivers/net/bnxt/tf_core/cfa_tcam_mgr.c       |  2116 +
 drivers/net/bnxt/tf_core/cfa_tcam_mgr.h       |   523 +
 .../net/bnxt/tf_core/cfa_tcam_mgr_device.h    |   101 +
 .../net/bnxt/tf_core/cfa_tcam_mgr_hwop_msg.c  |   201 +
 .../net/bnxt/tf_core/cfa_tcam_mgr_hwop_msg.h  |    28 +
 drivers/net/bnxt/tf_core/cfa_tcam_mgr_p4.c    |   921 +
 drivers/net/bnxt/tf_core/cfa_tcam_mgr_p4.h    |    20 +
 drivers/net/bnxt/tf_core/cfa_tcam_mgr_p58.c   |   926 +
 drivers/net/bnxt/tf_core/cfa_tcam_mgr_p58.h   |    20 +
 drivers/net/bnxt/tf_core/cfa_tcam_mgr_sbmp.h  |   126 +
 .../net/bnxt/tf_core/cfa_tcam_mgr_session.c   |   377 +
 .../net/bnxt/tf_core/cfa_tcam_mgr_session.h   |    54 +
 drivers/net/bnxt/tf_core/dpool.c              |     3 +-
 drivers/net/bnxt/tf_core/dpool.h              |     3 +-
 drivers/net/bnxt/tf_core/ll.c                 |     2 +-
 drivers/net/bnxt/tf_core/ll.h                 |     2 +-
 drivers/net/bnxt/tf_core/lookup3.h            |     1 -
 drivers/net/bnxt/tf_core/meson.build          |    38 +-
 drivers/net/bnxt/tf_core/rand.c               |     2 +-
 drivers/net/bnxt/tf_core/rand.h               |     3 +-
 drivers/net/bnxt/tf_core/stack.c              |     2 +-
 drivers/net/bnxt/tf_core/stack.h              |     3 +-
 drivers/net/bnxt/tf_core/tf_common.h          |     3 +-
 drivers/net/bnxt/tf_core/tf_core.c            |    56 +-
 drivers/net/bnxt/tf_core/tf_core.h            |   189 +-
 drivers/net/bnxt/tf_core/tf_device.c          |    53 +-
 drivers/net/bnxt/tf_core/tf_device.h          |     9 +-
 drivers/net/bnxt/tf_core/tf_device_p4.c       |    24 +-
 drivers/net/bnxt/tf_core/tf_device_p4.h       |     3 +-
 drivers/net/bnxt/tf_core/tf_device_p58.c      |    94 +-
 drivers/net/bnxt/tf_core/tf_device_p58.h      |     2 +-
 drivers/net/bnxt/tf_core/tf_em.h              |     3 +-
 drivers/net/bnxt/tf_core/tf_em_common.c       |    10 +-
 drivers/net/bnxt/tf_core/tf_em_common.h       |     4 +-
 .../net/bnxt/tf_core/tf_em_hash_internal.c    |     2 +-
 drivers/net/bnxt/tf_core/tf_em_host.c         |     3 +-
 drivers/net/bnxt/tf_core/tf_em_internal.c     |    13 +-
 drivers/net/bnxt/tf_core/tf_ext_flow_handle.h |     4 +-
 drivers/net/bnxt/tf_core/tf_global_cfg.c      |     2 +-
 drivers/net/bnxt/tf_core/tf_global_cfg.h      |     3 +-
 drivers/net/bnxt/tf_core/tf_hash.c            |     2 +-
 drivers/net/bnxt/tf_core/tf_hash.h            |     3 +-
 drivers/net/bnxt/tf_core/tf_identifier.c      |   111 +-
 drivers/net/bnxt/tf_core/tf_identifier.h      |     7 +-
 drivers/net/bnxt/tf_core/tf_if_tbl.c          |    59 +-
 drivers/net/bnxt/tf_core/tf_if_tbl.h          |    11 +-
 drivers/net/bnxt/tf_core/tf_msg.c             |   217 +-
 drivers/net/bnxt/tf_core/tf_msg.h             |    38 +-
 drivers/net/bnxt/tf_core/tf_msg_common.h      |     3 +-
 drivers/net/bnxt/tf_core/tf_project.h         |     3 +-
 drivers/net/bnxt/tf_core/tf_resources.h       |     3 +-
 drivers/net/bnxt/tf_core/tf_rm.c              |   135 +-
 drivers/net/bnxt/tf_core/tf_rm.h              |     6 +-
 drivers/net/bnxt/tf_core/tf_session.c         |   121 +-
 drivers/net/bnxt/tf_core/tf_session.h         |    80 +-
 .../net/bnxt/tf_core/tf_shadow_identifier.c   |   190 -
 .../net/bnxt/tf_core/tf_shadow_identifier.h   |   229 -
 drivers/net/bnxt/tf_core/tf_shadow_tcam.c     |   837 -
 drivers/net/bnxt/tf_core/tf_shadow_tcam.h     |   195 -
 drivers/net/bnxt/tf_core/tf_sram_mgr.c        |   117 +-
 drivers/net/bnxt/tf_core/tf_sram_mgr.h        |    23 +-
 drivers/net/bnxt/tf_core/tf_tbl.c             |     8 +-
 drivers/net/bnxt/tf_core/tf_tbl.h             |     4 +-
 drivers/net/bnxt/tf_core/tf_tbl_sram.c        |    25 +-
 drivers/net/bnxt/tf_core/tf_tbl_sram.h        |     6 +-
 drivers/net/bnxt/tf_core/tf_tcam.c            |   451 +-
 drivers/net/bnxt/tf_core/tf_tcam.h            |    41 +-
 drivers/net/bnxt/tf_core/tf_tcam_mgr_msg.c    |   286 +
 drivers/net/bnxt/tf_core/tf_tcam_mgr_msg.h    |    49 +
 drivers/net/bnxt/tf_core/tf_tcam_shared.c     |  1146 +-
 drivers/net/bnxt/tf_core/tf_tcam_shared.h     |     4 +-
 drivers/net/bnxt/tf_core/tf_util.c            |     5 +-
 drivers/net/bnxt/tf_core/tf_util.h            |     3 +-
 drivers/net/bnxt/tf_core/tfp.c                |     2 +-
 drivers/net/bnxt/tf_core/tfp.h                |     4 +-
 drivers/net/bnxt/tf_ulp/bnxt_tf_common.h      |     3 +-
 drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c    |   251 +-
 drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.h    |    37 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp.c            |   850 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp.h            |   121 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c       |   280 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp_meter.c      |   909 +
 .../bnxt/tf_ulp/generic_templates/meson.build |    18 +-
 .../generic_templates/ulp_template_db_act.c   |  7000 +++-
 .../generic_templates/ulp_template_db_class.c | 33556 +++++++++++-----
 .../generic_templates/ulp_template_db_enum.h  |  4366 +-
 .../generic_templates/ulp_template_db_field.h |   689 +-
 .../generic_templates/ulp_template_db_tbl.c   | 16055 ++++++--
 .../ulp_template_db_thor_act.c                |  8714 ++--
 .../ulp_template_db_thor_class.c              | 10746 +++--
 .../ulp_template_db_wh_plus_act.c             |  1157 +-
 .../ulp_template_db_wh_plus_class.c           |   288 +-
 drivers/net/bnxt/tf_ulp/meson.build           |    26 +-
 drivers/net/bnxt/tf_ulp/ulp_def_rules.c       |    16 +-
 drivers/net/bnxt/tf_ulp/ulp_fc_mgr.c          |    26 +-
 drivers/net/bnxt/tf_ulp/ulp_fc_mgr.h          |     8 +-
 drivers/net/bnxt/tf_ulp/ulp_flow_db.c         |    29 +-
 drivers/net/bnxt/tf_ulp/ulp_flow_db.h         |    14 +-
 drivers/net/bnxt/tf_ulp/ulp_gen_hash.c        |     2 +-
 drivers/net/bnxt/tf_ulp/ulp_gen_hash.h        |     3 +-
 drivers/net/bnxt/tf_ulp/ulp_gen_tbl.c         |    37 +-
 drivers/net/bnxt/tf_ulp/ulp_gen_tbl.h         |     5 +-
 drivers/net/bnxt/tf_ulp/ulp_ha_mgr.c          |   131 +-
 drivers/net/bnxt/tf_ulp/ulp_ha_mgr.h          |     6 +-
 drivers/net/bnxt/tf_ulp/ulp_mapper.c          |   726 +-
 drivers/net/bnxt/tf_ulp/ulp_mapper.h          |     4 +-
 drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c        |     2 +-
 drivers/net/bnxt/tf_ulp/ulp_mark_mgr.h        |     3 +-
 drivers/net/bnxt/tf_ulp/ulp_matcher.c         |    14 +-
 drivers/net/bnxt/tf_ulp/ulp_matcher.h         |     3 +-
 drivers/net/bnxt/tf_ulp/ulp_port_db.c         |    64 +-
 drivers/net/bnxt/tf_ulp/ulp_port_db.h         |    35 +-
 drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c |    30 +-
 drivers/net/bnxt/tf_ulp/ulp_rte_parser.c      |   504 +-
 drivers/net/bnxt/tf_ulp/ulp_rte_parser.h      |    46 +-
 drivers/net/bnxt/tf_ulp/ulp_template_struct.h |    25 +-
 drivers/net/bnxt/tf_ulp/ulp_tun.c             |     2 +-
 drivers/net/bnxt/tf_ulp/ulp_tun.h             |     3 +-
 drivers/net/bnxt/tf_ulp/ulp_utils.c           |     2 +-
 drivers/net/bnxt/tf_ulp/ulp_utils.h           |     3 +-
 163 files changed, 79517 insertions(+), 25424 deletions(-)
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr.c
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr.h
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_device.h
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_hwop_msg.c
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_hwop_msg.h
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_p4.c
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_p4.h
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_p58.c
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_p58.h
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_sbmp.h
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_session.c
 create mode 100644 drivers/net/bnxt/tf_core/cfa_tcam_mgr_session.h
 delete mode 100644 drivers/net/bnxt/tf_core/tf_shadow_identifier.c
 delete mode 100644 drivers/net/bnxt/tf_core/tf_shadow_identifier.h
 delete mode 100644 drivers/net/bnxt/tf_core/tf_shadow_tcam.c
 delete mode 100644 drivers/net/bnxt/tf_core/tf_shadow_tcam.h
 create mode 100644 drivers/net/bnxt/tf_core/tf_tcam_mgr_msg.c
 create mode 100644 drivers/net/bnxt/tf_core/tf_tcam_mgr_msg.h
 create mode 100644 drivers/net/bnxt/tf_ulp/bnxt_ulp_meter.c

-- 
2.39.2 (Apple Git-143)


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4218 bytes --]

             reply	other threads:[~2023-05-04 17:36 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-04 17:36 Ajit Khaparde [this message]
2023-05-04 17:36 ` [PATCH v3 01/11] net/bnxt: remove deprecated features Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 02/11] net/bnxt: update bnxt hsi structure Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 03/11] net/bnxt: update copyright date and cleanup whitespace Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 04/11] net/bnxt: update Truflow core Ajit Khaparde
2023-06-10 18:32   ` Thomas Monjalon
2023-06-28 16:29     ` [PATCH v4 00/11] sync Truflow support with latest release Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 01/11] net/bnxt: remove deprecated features Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 02/11] net/bnxt: update bnxt hsi structure Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 03/11] net/bnxt: update copyright date and cleanup whitespace Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 04/11] net/bnxt: update Truflow core Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 05/11] net/bnxt: update ULP shared session support Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 06/11] net/bnxt: add RSS and Queue action in TruFLow Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 07/11] net/bnxt: add support for rte meter Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 08/11] net/bnxt: update PTP support on Thor Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 09/11] net/bnxt: fix multi-root card support Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 10/11] net/bnxt: add support for eCPRI packet parsing Ajit Khaparde
2023-06-28 16:29       ` [PATCH v4 11/11] net/bnxt: set RSS config based on RSS mode Ajit Khaparde
2023-06-28 16:35     ` [PATCH v3 04/11] net/bnxt: update Truflow core Ajit Khaparde
2023-06-28 19:07       ` Thomas Monjalon
2023-06-29  4:30         ` Ajit Khaparde
2023-06-30 12:16           ` Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 05/11] net/bnxt: update ULP shared session support Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 06/11] net/bnxt: add RSS and Queue action in TruFLow Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 07/11] net/bnxt: add support for rte meter Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 08/11] net/bnxt: update PTP support on Thor Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 09/11] net/bnxt: fix multi-root card support Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 10/11] net/bnxt: add support for eCPRI packet parsing Ajit Khaparde
2023-05-04 17:36 ` [PATCH v3 11/11] net/bnxt: set RSS config based on RSS mode Ajit Khaparde
2023-05-10 17:16 ` [PATCH v3 00/11] sync Truflow support with latest release Ajit Khaparde

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=20230504173612.17696-1-ajit.khaparde@broadcom.com \
    --to=ajit.khaparde@broadcom.com \
    --cc=dev@dpdk.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).