net/ntnic: bugfixes and refactoring
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest34 patches 2 repliesIn review
- v131 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/34 | net/ntnic: fix index verificationdrivers/ | +1 | 0 replies | |
| 2/34 | net/ntnic: add thread check return codedrivers/ | +5 | 0 replies | |
| 3/34 | net/ntnic: add return code handlingdrivers/ | +4 | 0 replies | |
| 4/34 | net/ntnic: add array index verificationdrivers/ drivers/ | +32 | 0 replies | |
| 5/34 | net/ntnic: fix realloc memory leakdrivers/ | +10 | 0 replies | |
| 6/34 | net/ntnic: fix array index verificationdrivers/ | +1 | 0 replies | |
| 7/34 | net/ntnic: add var definition transparentlydrivers/ | +3 | 0 replies | |
| 8/34 | net/ntnic: add proper var freeddrivers/ | +2 | 0 replies | |
| 9/34 | net/ntnic: remove unused codedrivers/ | +2 | 0 replies | |
| 10/34 | net/ntnic: fix potentially overflowdrivers/ | +1 | 0 replies | |
| 11/34 | net/ntnic: add null checkingdrivers/ | +6 | 0 replies | |
| 12/34 | net/ntnic: fix overflow issuedrivers/ | +1 | 0 replies | |
| 13/34 | net/ntnic: fix untrusted loop bounddrivers/ | +1 | 0 replies | |
| 14/34 | net/ntnic: add null checkingdrivers/ | +1 | 0 replies | |
| 15/34 | net/ntnic: move null checkingdrivers/ | +2 | 0 replies | |
| 16/34 | net/ntnic: fix var sizedrivers/ | +2 | 0 replies | |
| 17/34 | net/ntnic: fix var overflowdrivers/ | +1 | 0 replies | |
| 18/34 | net/ntnic: remove unused codedrivers/ | +1 | 0 replies | |
| 19/34 | net/ntnic: remove convert error funcdrivers/ drivers/ | +53 | 0 replies | |
| 20/34 | net/ntnic: fix array verificationdrivers/ | +1 | 0 replies | |
| 21/34 | net/ntnic: fix memory leakdrivers/ | +2 | 0 replies | |
| 22/34 | net/ntnic: remove extra address-of operatordrivers/ | +1 | 0 replies | |
| 23/34 | net/ntnic: remove extra check for nulldrivers/ | +1 | 0 replies | |
| 24/34 | net/ntnic: remove unused codedrivers/ | +0 | 0 replies | |
| 25/34 | net/ntnic: refactor RSS implementationdrivers/ drivers/ drivers/ +8 more | +695 | 0 replies | |
| 26/34 | net/ntnic: fix age timeout recalculation into fpga unitdrivers/ | +10 | 0 replies | |
| 27/34 | net/ntnic: rework age event generationdrivers/ | +5 | 0 replies | |
| 28/34 | net/ntnic: fix group printdrivers/ drivers/ drivers/ | +45 | 0 replies | |
| 29/34 | net/ntnic: extend module mappingdrivers/ | +24 | 0 replies | |
| 30/34 | net/ntnic: refactoring of the FPGA initializationdrivers/ | +1 | 0 replies | |
| 31/34 | net/ntnic: remove shutdown threaddrivers/ | +7 | 0 replies | |
| 32/34 | net/ntnic: add checks for action modifydrivers/ | +79 | 0 replies | |
| 33/34 | net/ntnic: add IFR DROP counterdrivers/ drivers/ drivers/ +11 more | +208 | 0 replies | |
| 34/34 | net/ntnic: remove tag EXPERIMENTALMAINTAINERS | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/34] net/ntnic: bugfixes and refactoring
This patch set addresses fixing issues in the ntnic PMD driver.
Changes in this patch:
The issues detected by the Coverity Scan tool.
The problems that were detected by the internal tests. Fix for Bug 1622: ntnic: using signals and threads:
https://bugs.dpdk.org/show_bug.cgi?id=1622.
The handling of signals within the PMD driver was removed. For manipulation with all threads dedicated EAL API
(rte_thread_create_internal_control) is used.
Product by design requires usage of threads inside PMD driver.
Danylo Vodopianov (26):
net/ntnic: fix index verification
net/ntnic: add thread check return code net/ntnic: add return code handling
net/ntnic: add array index verification net/ntnic: fix realloc memory leak
net/ntnic: fix array index verification net/ntnic: add var definition transparently net/ntnic: add proper var freed
net/ntnic: remove unused code
net/ntnic: fix potentially overflow
net/ntnic: add null checking
net/ntnic: fix overflow issue
net/ntnic: fix untrusted loop bound
net/ntnic: add null checking
net/ntnic: move null checking
net/ntnic: fix var size
net/ntnic: fix var overflow
net/ntnic: remove unused code
net/ntnic: remove convert error func net/ntnic: fix array verification
net/ntnic: fix memory leak
net/ntnic: remove unused code
net/ntnic: refactor RSS implementation net/ntnic: fix age timeout recalculation into fpga unit net/ntnic: rework age event generation net/ntnic: fix group print
Oleksandr Kolomeiets (2):
net/ntnic: remove extra address-of operator
net/ntnic: remove extra check for null
Serhii Iliushyk (6):
net/ntnic: extend module mapping net/ntnic: refactoring of the FPGA initialization net/ntnic: remove shutdown thread net/ntnic: add checks for action modify net/ntnic: add IFR DROP counter net/ntnic: remove tag EXPERIMENTAL
MAINTAINERS | 2 +- .../net/ntnic/adapter/nt4ga_stat/nt4ga_stat.c | 18 +- drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c | 10 +- drivers/net/ntnic/include/create_elements.h | 1 - drivers/net/ntnic/include/flow_api.h | 10 +- drivers/net/ntnic/include/flow_api_engine.h | 2 + drivers/net/ntnic/include/hw_mod_backend.h | 24 +- drivers/net/ntnic/include/hw_mod_tpe_v3.h | 5 + drivers/net/ntnic/include/ntnic_stat.h | 9 + .../link_mgmt/link_100g/nt4ga_link_100g.c | 2 +- drivers/net/ntnic/meson.build | 1 + drivers/net/ntnic/nthw/core/nthw_fpga.c | 14 +- drivers/net/ntnic/nthw/flow_api/flow_api.c | 83 +- .../nthw/flow_api/flow_backend/flow_backend.c | 28 +- drivers/net/ntnic/nthw/flow_api/flow_group.c | 26 + .../net/ntnic/nthw/flow_api/flow_hsh_cfg.c | 661 +++++++++++++ .../net/ntnic/nthw/flow_api/flow_hsh_cfg.h | 17 + .../ntnic/nthw/flow_api/hw_mod/hw_mod_flm.c | 14 +- .../ntnic/nthw/flow_api/hw_mod/hw_mod_hsh.c | 19 +- .../ntnic/nthw/flow_api/hw_mod/hw_mod_pdb.c | 18 +- .../ntnic/nthw/flow_api/hw_mod/hw_mod_tpe.c | 58 +- .../profile_inline/flow_api_hw_db_inline.c | 29 +- .../profile_inline/flow_api_profile_inline.c | 925 +++--------------- .../profile_inline/flow_api_profile_inline.h | 8 +- .../ntnic/nthw/flow_filter/flow_nthw_ifr.c | 32 + .../ntnic/nthw/flow_filter/flow_nthw_ifr.h | 15 +- .../ntnic/nthw/flow_filter/flow_nthw_rpp_lr.c | 10 +- drivers/net/ntnic/nthw/stat/nthw_stat.c | 2 + .../nthw/supported/nthw_fpga_mod_str_map.c | 24 + drivers/net/ntnic/ntnic_ethdev.c | 69 +- drivers/net/ntnic/ntnic_filter/ntnic_filter.c | 155 ++- drivers/net/ntnic/ntnic_mod_reg.h | 11 +- drivers/net/ntnic/ntnic_xstats/ntnic_xstats.c | 10 +- 33 files changed, 1204 insertions(+), 1108 deletions(-) create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_hsh_cfg.c create mode 100644 drivers/net/ntnic/nthw/flow_api/flow_hsh_cfg.h
Signature · 1 line
2.45.0