1. 26 Feb, 2024 25 commits
  2. 24 Feb, 2024 12 commits
  3. 23 Feb, 2024 3 commits
    • Sneh Shah's avatar
      net: stmmac: dwmac-qcom-ethqos: Add support for 2.5G SGMII · a818bd12
      Sneh Shah authored
      Serdes phy needs to operate at 2500 mode for 2.5G speed and 1000
      mode for 1G/100M/10M speed.
      Added changes to configure serdes phy and mac based on link speed.
      Changing serdes phy speed involves multiple register writes for
      serdes block. To avoid redundant write operations only update serdes
      phy when new speed is different.
      For 2500 speed MAC PCS autoneg needs to disabled. Added changes to
      disable MAC PCS autoneg if ANE parameter is not set.
      Signed-off-by: default avatarSneh Shah <quic_snehshah@quicinc.com>
      Tested-by: Abhishek Chauhan <quic_abchauha@quicinc.com> # sa8775p-ride
      Reviewed-by: default avatarAbhishek Chauhan <quic_abchauha@quicinc.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a818bd12
    • Praveen Kumar Kannoju's avatar
      bonding: rate-limit bonding driver inspect messages · a4634aa7
      Praveen Kumar Kannoju authored
      Through the routine bond_mii_monitor(), bonding driver inspects and commits
      the slave state changes. During the times when slave state change and
      failure in aqcuiring rtnl lock happen at the same time, the routine
      bond_mii_monitor() reschedules itself to come around after 1 msec to commit
      the new state.
      
      During this, it executes the routine bond_miimon_inspect() to re-inspect
      the state chane and prints the corresponding slave state on to the console.
      Hence we do see a message at every 1 msec till the rtnl lock is acquired
      and state chage is committed.
      
      This patch doesn't change how bond functions. It only simply limits this
      kind of log flood.
      Signed-off-by: default avatarPraveen Kumar Kannoju <praveen.kannoju@oracle.com>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Reviewed-by: default avatarHangbin Liu <liuhangbin@gmail.com>
      Acked-by: default avatarJay Vosburgh <jay.vosburgh@canonical.com>
      Link: https://lore.kernel.org/r/20240221082752.4660-1-praveen.kannoju@oracle.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      a4634aa7
    • Jakub Kicinski's avatar
      Merge tag 'nf-next-24-02-21' of https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next · 4679f4f1
      Jakub Kicinski authored
      Florian Westphal says:
      
      ====================
      netfilter updates for net-next
      
      1. Prefer KMEM_CACHE() macro to create kmem caches, from Kunwu Chan.
      
      Patches 2 and 3 consolidate nf_log NULL checks and introduces
      extra boundary checks on family and type to make it clear that no out
      of bounds access will happen.  No in-tree user currently passes such
      values, but thats not clear from looking at the function.
      From Pablo Neira Ayuso.
      
      Patch 4, also from Pablo, gets rid of unneeded conditional in
      nft_osf init function.
      
      Patch 5, from myself, fixes erroneous Kconfig dependencies that
      came in an earlier net-next pull request. This should get rid
      of the xtables related build failure reports.
      
      Patches 6 to 10 are an update to nftables' concatenated-ranges
      set type to speed up element insertions.  This series also
      compacts a few data structures and cleans up a few oddities such
      as reliance on ZERO_SIZE_PTR when asking to allocate a set with
      no elements. From myself.
      
      Patches 11 moves the nf_reinject function from the netfilter core
      (vmlinux) into the nfnetlink_queue backend, the only location where
      this is called from. Also from myself.
      
      Patch 12, from Kees Cook, switches xtables' compat layer to use
      unsafe_memcpy because xt_entry_target cannot easily get converted
      to a real flexible array (its UAPI and used inside other structs).
      
      * tag 'nf-next-24-02-21' of https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next:
        netfilter: x_tables: Use unsafe_memcpy() for 0-sized destination
        netfilter: move nf_reinject into nfnetlink_queue modules
        netfilter: nft_set_pipapo: use GFP_KERNEL for insertions
        netfilter: nft_set_pipapo: speed up bulk element insertions
        netfilter: nft_set_pipapo: shrink data structures
        netfilter: nft_set_pipapo: do not rely on ZERO_SIZE_PTR
        netfilter: nft_set_pipapo: constify lookup fn args where possible
        netfilter: xtables: fix up kconfig dependencies
        netfilter: nft_osf: simplify init path
        netfilter: nf_log: validate nf_logger_find_get()
        netfilter: nf_log: consolidate check for NULL logger in lookup function
        netfilter: expect: Simplify the allocation of slab caches in nf_conntrack_expect_init
      ====================
      
      Link: https://lore.kernel.org/r/20240221112637.5396-1-fw@strlen.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      4679f4f1