Skip to content
  1. Oct 19, 2021
  2. Oct 18, 2021
    • Erik Ekman's avatar
      sfc: Fix reading non-legacy supported link modes · 041c6148
      Erik Ekman authored
      
      
      Everything except the first 32 bits was lost when the pause flags were
      added. This makes the 50000baseCR2 mode flag (bit 34) not appear.
      
      I have tested this with a 10G card (SFN5122F-R7) by modifying it to
      return a non-legacy link mode (10000baseCR).
      
      Signed-off-by: default avatarErik Ekman <erik@kryo.se>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      041c6148
    • Ansuel Smith's avatar
      net: dsa: qca8k: fix delay applied to wrong cpu in parse_port_config · 06dd34a6
      Ansuel Smith authored
      
      
      Fix delay settings applied to wrong cpu in parse_port_config. The delay
      values is set to the wrong index as the cpu_port_index is incremented
      too early. Start the cpu_port_index to -1 so the correct value is
      applied to address also the case with invalid phy mode and not available
      port.
      
      Signed-off-by: default avatarAnsuel Smith <ansuelsmth@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      06dd34a6
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next · 7adaf56e
      David S. Miller authored
      
      
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter/IPVS updates for net-next
      
      The following patchset contains Netfilter/IPVS for net-next:
      
      1) Add new run_estimation toggle to IPVS to stop the estimation_timer
         logic, from Dust Li.
      
      2) Relax superfluous dynset check on NFT_SET_TIMEOUT.
      
      3) Add egress hook, from Lukas Wunner.
      
      4) Nowadays, almost all hook functions in x_table land just call the hook
         evaluation loop. Remove remaining hook wrappers from iptables and IPVS.
         From Florian Westphal.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7adaf56e
    • David S. Miller's avatar
      Merge branch 'rtl8365mb-vc-support' · c87350ce
      David S. Miller authored
      Alvin Šipraga says:
      
      ====================
      net: dsa: add support for RTL8365MB-VC
      
      This series adds support for Realtek's RTL8365MB-VC, a 4+1 port
      10/100/1000M Ethernet switch. The driver - rtl8365mb - was developed by
      Michael Ramussen and myself.
      
      This version of the driver is relatively slim, implementing only the
      standalone port functionality and no offload capabilities. It is based
      on a previous RFC series [1] from August, and the main difference is the
      removal of some spurious VLAN operations. Otherwise I have simply
      addressed most of the feedback. Please see the respective patches for
      more detail.
      
      In parallel I am working on offloading the bridge layer capabilities,
      but I would like to get the basic stuff upstreamed as soon as possible.
      
      v3 -> v4:
        - get irq before setting virq parents (fixes kernel test robot
          warning)
        - remove pad-to-72-bytes logic in tagger xmit (fixes DENG Qingfang's
          suggestion); no longer needed as we set CPU minimum RX size to 64
          bytes
        - use mutex to protect MIB counter access instead of a spinlock (fixes
          Jakub's feedback on v3 statistics refactoring)
      
      v2 -> v3:
        - move IRQ setup earlier in probe per Florian's suggestion
        - fix compilation error on some archs due to FIELD_PREP use in v1
        - follow Jakub's suggestion and use the standard ethtool stats API;
          NOTE: new patch in the series for relevant DSA plumbing
        - following the stats change, it became apparent that the rtl8366
          helper library is no longer that helpful; scrap it and implement
          the ethtool ops specifically for this chip
      
      v1 -> v2:
        - drop DSA port type checks during MAC configuration
        - use OF properties to configure RGMII TX/RX delay
        - don't set default fwd_offload_mark if packet is trapped to CPU
        - remove port mapping macros
        - update device tree bindings documentation with an example
        - cosmetic changes to the tagging driver using FIELD_* macros
      
      [1] https://lore.kernel.org/netdev/20210822193145.1312668-1-alvin@pqrs.dk/
      
      
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c87350ce