lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 31 Dec 2021 00:20:22 -0800
From:   Saeed Mahameed <saeed@...nel.org>
To:     "David S. Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>
Cc:     netdev@...r.kernel.org, Saeed Mahameed <saeedm@...dia.com>
Subject: [pull request][net-next v2 00/16] mlx5 updates 2021-12-28

From: Saeed Mahameed <saeedm@...dia.com>

Hi Dave, Hi Jakub,

Changes in V2, Patch #7, addressed comments by Jakub:
 - Remove redundant hex buffer clearing and reduce its size
 - Use bin2hex() instead of DIY loop
 - Don't check debugfs functions return values

Most of the patches in this series are trivial and basic, the only patch
worth mentioning is the addition of debugfs entry for dumping software
steering state, as we are defaulting to SW steering in this patchset,
so we would like to be prepared for any debug, just in case.

For more information please see tag log below.
Please pull and let me know if there is any problem.

Thanks,
Saeed.

The following changes since commit af30f8eaa8fe4ff1987280f716309711997bd979:

  net: dsa: bcm_sf2: refactor LED regs access (2021-12-30 17:28:32 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2021-12-28

for you to fetch changes up to aa36c94853b2bcc4953e065c462deb1ade7f55be:

  net/mlx5: Set SMFS as a default steering mode if device supports it (2021-12-31 00:17:44 -0800)

----------------------------------------------------------------
mlx5-updates-2021-12-28

mlx5 Software steering, New features and optimizations

This patch series brings various SW steering features, optimizations and
debug-ability focused improvements.

 1) Expose debugfs for dumping the SW steering resources
 2) Removing unused fields
 3) support for matching on new fields
 4) steering optimization for RX/TX-only rules
 5) Make Software steering the default steering mechanism when
    available, applies only to Switchdev mode FDB

>From Yevgeny Kliteynik and Muhammad Sammar:

 - Patch 1 fixes an error flow in creating matchers
 - Patch 2 fix lower case macro prefix "mlx5_" to "MLX5_"
 - Patch 3 removes unused struct member in mlx5dr_matcher
 - Patch 4 renames list field in matcher struct to list_node to reflect the
   fact that is field is for list node that is stored on another struct's lists
 - Patch 5 adds checking for valid Flex parser ID value
 - Patch 6 adds the missing reserved fields to dr_match_param and aligns it to
   the format that is defined by HW spec
 - Patch 7 adds support for dumping SW steering (SMFS) resources using debugfs
   in CSV format: domain and its tables, matchers and rules
 - Patch 8 adds support for a new destination type - UPLINK
 - Patch 9 adds WARN_ON_ONCE on refcount checks in SW steering object destructors
 - Patches 10, 11, 12 add misc5 flow table match parameters and add support for
   matching on tunnel headers 0 and 1
 - Patch 13 adds support for matching on geneve_tlv_option_0_exist field
 - Patch 14 implements performance optimization for for empty or RX/TX-only
   matchers by splitting RX and TX matchers handling: matcher connection in the
   matchers chain is split into two separate lists (RX only and TX only), which
   solves a usecase of many RX or TX only rules that create a long chain of
   RX/TX-only paths w/o the actual rules
 - Patch 15 ignores modify TTL if device doesn't support it instead of
   adding and unsupported action
 - Patch 16 sets SMFS as a default steering mode

----------------------------------------------------------------
Muhammad Sammar (5):
      net/mlx5: DR, Add missing reserved fields to dr_match_param
      net/mlx5: DR, Add support for dumping steering info
      net/mlx5: Add misc5 flow table match parameters
      net/mlx5: DR, Add misc5 to match_param structs
      net/mlx5: DR, Support matching on tunnel headers 0 and 1

Yevgeny Kliteynik (11):
      net/mlx5: DR, Fix error flow in creating matcher
      net/mlx5: DR, Fix lower case macro prefix "mlx5_" to "MLX5_"
      net/mlx5: DR, Remove unused struct member in matcher
      net/mlx5: DR, Rename list field in matcher struct to list_node
      net/mlx5: DR, Add check for flex parser ID value
      net/mlx5: DR, Add support for UPLINK destination type
      net/mlx5: DR, Warn on failure to destroy objects due to refcount
      net/mlx5: DR, Add support for matching on geneve_tlv_option_0_exist field
      net/mlx5: DR, Improve steering for empty or RX/TX-only matchers
      net/mlx5: DR, Ignore modify TTL if device doesn't support it
      net/mlx5: Set SMFS as a default steering mode if device supports it

 drivers/net/ethernet/mellanox/mlx5/core/Makefile   |   3 +-
 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c   |   3 +-
 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c  |   8 +-
 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h  |   2 +-
 .../mellanox/mlx5/core/steering/dr_action.c        |  23 +-
 .../ethernet/mellanox/mlx5/core/steering/dr_cmd.c  |  29 +-
 .../ethernet/mellanox/mlx5/core/steering/dr_dbg.c  | 649 +++++++++++++++++++++
 .../ethernet/mellanox/mlx5/core/steering/dr_dbg.h  |  15 +
 .../mellanox/mlx5/core/steering/dr_domain.c        |   5 +-
 .../mellanox/mlx5/core/steering/dr_matcher.c       | 250 ++++----
 .../ethernet/mellanox/mlx5/core/steering/dr_rule.c |  47 +-
 .../ethernet/mellanox/mlx5/core/steering/dr_ste.c  |  61 ++
 .../ethernet/mellanox/mlx5/core/steering/dr_ste.h  |   2 +
 .../mellanox/mlx5/core/steering/dr_ste_v0.c        |  25 +-
 .../mellanox/mlx5/core/steering/dr_ste_v1.c        |  52 +-
 .../mellanox/mlx5/core/steering/dr_table.c         |  94 +--
 .../mellanox/mlx5/core/steering/dr_types.h         | 262 ++++++---
 .../ethernet/mellanox/mlx5/core/steering/fs_dr.c   |  18 +-
 .../mellanox/mlx5/core/steering/mlx5_ifc_dr.h      |  16 +
 include/linux/mlx5/device.h                        |   1 +
 include/linux/mlx5/mlx5_ifc.h                      |  35 +-
 include/uapi/rdma/mlx5_user_ioctl_cmds.h           |   2 +-
 22 files changed, 1323 insertions(+), 279 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_dbg.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_dbg.h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ