Skip to content
  1. May 24, 2023
  2. May 23, 2023
    • Ratheesh Kannoth's avatar
      octeontx2-pf: Add support for page pool · b2e3406a
      Ratheesh Kannoth authored
      
      
      Page pool for each rx queue enhance rx side performance
      by reclaiming buffers back to each queue specific pool. DMA
      mapping is done only for first allocation of buffers.
      As subsequent buffers allocation avoid DMA mapping,
      it results in performance improvement.
      
      Image        |  Performance
      ------------ | ------------
      Vannila      |   3Mpps
                   |
      with this    |   42Mpps
      change	     |
      ---------------------------
      
      Signed-off-by: default avatarRatheesh Kannoth <rkannoth@marvell.com>
      Link: https://lore.kernel.org/r/20230522020404.152020-1-rkannoth@marvell.com
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      b2e3406a
    • Jakub Kicinski's avatar
      Merge tag 'mlx5-updates-2023-05-19' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 62a41dc7
      Jakub Kicinski authored
      
      
      Saeed Mahameed says:
      
      ====================
      mlx5-updates-2023-05-19
      
      mlx5 misc changes and code clean up:
      
      The following series contains general changes for improving
      E-Switch driver behavior.
      
      1) improving condition checking
      2) Code clean up
      3) Using metadata matching on send-to-vport rules.
      4) Using RoCE v2 instead of v1 for loopback rules.
      
      * tag 'mlx5-updates-2023-05-19' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux:
        net/mlx5e: E-Switch, Initialize E-Switch for eswitch manager
        net/mlx5: devlink, Only show PF related devlink warning when needed
        net/mlx5: E-Switch, Use metadata matching for RoCE loopback rule
        net/mlx5: E-Switch, Use RoCE version 2 for loopback traffic
        net/mlx5e: E-Switch, Add a check that log_max_l2_table is valid
        net/mlx5e: E-Switch: move debug print of adding mac to correct place
        net/mlx5e: E-Switch, Check device is PF when stopping esw offloads
        net/mlx5: Remove redundant vport_group_manager cap check
        net/mlx5e: E-Switch, Use metadata for vport matching in send-to-vport rules
        net/mlx5e: E-Switch, Allow get vport api if esw exists
        net/mlx5e: E-Switch, Update when to set other vport context
        net/mlx5e: Remove redundant __func__ arg from fs_err() calls
        net/mlx5e: E-Switch, Remove flow_source check for metadata matching
        net/mlx5: E-Switch, Remove redundant check
        net/mlx5: Remove redundant esw multiport validate function
      ====================
      
      Acked-by: default avatarJakub Kicinski <kuba@kernel.org>
      Link: https://lore.kernel.org/r/20230519175557.15683-1-saeed@kernel.org
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      62a41dc7
    • Russell King (Oracle)'s avatar
      net: phylink: require supported_interfaces to be filled · de5c9bf4
      Russell King (Oracle) authored
      We have been requiring the supported_interfaces bitmap to be filled in
      by MAC drivers that have a mac_select_pcs() method. Now that all MAC
      drivers fill in the supported_interfaces bitmap, it is time to enforce
      this. We have already required supported_interfaces to be set in order
      for optical SFPs to be configured in commit f81fa96d
      
       ("net: phylink:
      use phy_interface_t bitmaps for optical modules").
      
      Refuse phylink creation if supported_interfaces is empty, and remove
      code to deal with cases where this mask is empty.
      
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Link: https://lore.kernel.org/r/E1q0K1u-006EIP-ET@rmk-PC.armlinux.org.uk
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      de5c9bf4
    • Russell King (Oracle)'s avatar
      net: sfp: add support for a couple of copper multi-rate modules · 5859a99b
      Russell King (Oracle) authored
      
      
      Add support for the Fiberstore SFP-10G-T and Walsun HXSX-ATRC-1
      modules. Internally, the PCB silkscreen has what seems to be a part
      number of WT_502. Fiberstore use v2.2 whereas Walsun use v2.6.
      
      These modules contain a Marvell AQrate AQR113C PHY, accessible through
      I2C 0x51 using the "rollball" protocol. In both cases, the PHY is
      programmed to use 10GBASE-R with pause-mode rate adaption.
      
      Unlike the other rollball modules, these only need a four second delay
      before we can talk to the PHY.
      
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Link: https://lore.kernel.org/r/E1q0JfS-006Dqc-8t@rmk-PC.armlinux.org.uk
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      5859a99b
  3. May 22, 2023
  4. May 20, 2023