1. 28 Jan, 2022 3 commits
    • Jiri Pirko's avatar
      mlxsw: spectrum: Set basic trap groups from an array · 7aad5244
      Jiri Pirko authored
      Instead of calling the same code four times, do it in a loop over array
      which contains trap grups to be set.
      Signed-off-by: default avatarJiri Pirko <jiri@nvidia.com>
      Reviewed-by: default avatarPetr Machata <petrm@nvidia.com>
      Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      7aad5244
    • Jakub Kicinski's avatar
      Merge tag 'mlx5-updates-2022-01-27' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 3268ee8f
      Jakub Kicinski authored
      Saeed Mahameed says:
      
      ====================
      mlx5-updates-2022-01-27
      
      1) Dima, adds an internal mlx5 steering callback per steering provider
         (FW vs SW steering), to advertise steering capabilities implemented by
         each module, this helps upper modules in mlx5 to know what is
         supported and what's not without the need to tell what is the underlying
         steering mode.
         2nd patch is the usecase where this interface is used to implement
         Vlan Push/pop for uplink with SW steering, where in FW mode it's not
         supported yet.
      
      2) Roi Dayan improves code readability and maintainability
         as preparation step for multi attribute instance per flow
         in mlx5 TC module
      
         Currently the mlx5_flow object contains a single mlx5_attr instance.
         However, multi table actions (e.g. CT) instantiate multiple attr instances.
      
         This is a refactoring series in a preparation to support multiple
         attribute instances per flow.
         The commits prepare functions to get attr instance instead of using
         flow->attr and also using attr->flags if the flag is more relevant
         to be attr flag and not a flow flag considering there will be multiple
         attr instances. i.e. CT and SAMPLE flags.
      
      * tag 'mlx5-updates-2022-01-27' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux:
        net/mlx5: VLAN push on RX, pop on TX
        net/mlx5: Introduce software defined steering capabilities
        net/mlx5: Remove unused TIR modify bitmask enums
        net/mlx5e: CT, Remove redundant flow args from tc ct calls
        net/mlx5e: TC, Store mapped tunnel id on flow attr
        net/mlx5e: Test CT and SAMPLE on flow attr
        net/mlx5e: Refactor eswitch attr flags to just attr flags
        net/mlx5e: CT, Don't set flow flag CT for ct clear flow
        net/mlx5e: TC, Hold sample_attr on stack instead of pointer
        net/mlx5e: TC, Reject rules with multiple CT actions
        net/mlx5e: TC, Refactor mlx5e_tc_add_flow_mod_hdr() to get flow attr
        net/mlx5e: TC, Pass attr to tc_act can_offload()
        net/mlx5e: TC, Split pedit offloads verify from alloc_tc_pedit_action()
        net/mlx5e: TC, Move pedit_headers_action to parse_attr
        net/mlx5e: Move counter creation call to alloc_flow_attr_counter()
        net/mlx5e: Pass attr arg for attaching/detaching encaps
        net/mlx5e: Move code chunk setting encap dests into its own function
      ====================
      
      Link: https://lore.kernel.org/r/20220127204007.146300-1-saeed@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      3268ee8f
    • Jakub Kicinski's avatar
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue · 35c71aa0
      Jakub Kicinski authored
      Tony Nguyen says:
      
      ====================
      1GbE Intel Wired LAN Driver Updates 2022-01-27
      
      Christophe Jaillet removes useless DMA-32 fallback calls from applicable
      Intel drivers and simplifies code as a result of the removal.
      
      * '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue:
        igbvf: Remove useless DMA-32 fallback configuration
        igb: Remove useless DMA-32 fallback configuration
        igc: Remove useless DMA-32 fallback configuration
        ice: Remove useless DMA-32 fallback configuration
        iavf: Remove useless DMA-32 fallback configuration
        e1000e: Remove useless DMA-32 fallback configuration
        i40e: Remove useless DMA-32 fallback configuration
        ixgbevf: Remove useless DMA-32 fallback configuration
        ixgbe: Remove useless DMA-32 fallback configuration
        ixgb: Remove useless DMA-32 fallback configuration
      ====================
      
      Link: https://lore.kernel.org/r/20220127215224.422113-1-anthony.l.nguyen@intel.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      35c71aa0
  2. 27 Jan, 2022 37 commits