1. 16 Dec, 2021 5 commits
    • Russell King (Oracle)'s avatar
      net: phylink: add pcs_validate() method · 0d22d4b6
      Russell King (Oracle) authored
      Add a hook for PCS to validate the link parameters. This avoids MAC
      drivers having to have knowledge of their PCS in their validate()
      method, thereby allowing several MAC drivers to be simplfied.
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0d22d4b6
    • Russell King (Oracle)'s avatar
      net: phylink: add mac_select_pcs() method to phylink_mac_ops · d1e86325
      Russell King (Oracle) authored
      mac_select_pcs() allows us to have an explicit point to query which
      PCS the MAC wishes to use for a particular PHY interface mode, thereby
      allowing us to add support to validate the link settings with the PCS.
      
      Phylink will also use this to select the PCS to be used during a major
      configuration event without the MAC driver needing to call
      phylink_set_pcs().
      
      Note that if mac_select_pcs() is present, the supported_interfaces
      bitmap must be filled in; this avoids mac_select_pcs() being called
      with PHY_INTERFACE_MODE_NA when we want to get support for all
      interface types. Phylink will return an error in phylink_create()
      unless this condition is satisfied.
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d1e86325
    • David S. Miller's avatar
      Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/nex · 4134c846
      David S. Miller authored
      t-queue
      
      Tony Nguyen says:
      
      ====================
      100GbE Intel Wired LAN Driver Updates 2021-12-15
      
      This series contains updates to ice driver only.
      
      Jake makes changes to flash update. This includes the following:
      
       * a new shadow-ram region similar to NVM region but for the device shadow
         RAM contents. This is distinct from NVM region because shadow RAM is
         built up during device init and may be different from the raw NVM flash
         data.
       * refactoring of the ice_flash_pldm_image to become the main flash update
         entry point. This is simpler than having both an
         ice_devlink_flash_update and an ice_flash_pldm_image. It will make
         additions like dry-run easier in the future.
       * reducing time to read Option ROM version information.
       * adding support for firmware activation via devlink reload, when
         possible.
      
      The major new work is the reload support, which allows activating firmware
      immediately without a reboot when possible. Reload support only supports
      firmware activation.
      
      Jesse improves transmit code: utilizing newer netif_tx* API, adding some
      prefetch calls, correcting expected conditions when calling ice_vsi_down(),
      and utilizing __netdev_tx_sent_queue() call.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4134c846
    • David S. Miller's avatar
      Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux · 823f7a54
      David S. Miller authored
      Saeed Mahameed says:
      
      ====================
      mlx5-next branch 2021-12-15
      
      Hi Dave, Jakub, Jason
      
      This pulls mlx5-next branch into net-next and rdma branches.
      All patches already reviewed on both rdma and netdev mailing lists.
      
      Please pull and let me know if there's any problem.
      
      1) Add multiple FDB steering priorities [1]
      2) Introduce HW bits needed to configure MAC list size of VF/SF.
         Required for ("net/mlx5: Memory optimizations") upcoming series [2].
      
      [1] https://lore.kernel.org/netdev/20211201193621.9129-1-saeed@kernel.org/
      [2] https://lore.kernel.org/lkml/20211208141722.13646-1-shayd@nvidia.com/
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      823f7a54
    • Jakub Kicinski's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next · bd1d97d8
      Jakub Kicinski authored
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter updates for net-next
      
      The following patchset contains Netfilter updates for net-next, mostly
      rather small housekeeping patches:
      
      1) Remove unused variable in IPVS, from GuoYong Zheng.
      
      2) Use memset_after in conntrack, from Kees Cook.
      
      3) Remove leftover function in nfnetlink_queue, from Florian Westphal.
      
      4) Remove redundant test on bool in conntrack, from Bernard Zhao.
      
      5) egress support for nft_fwd, from Lukas Wunner.
      
      6) Make pppoe work for br_netfilter, from Florian Westphal.
      
      7) Remove unused variable in conntrack resize routine, from luo penghao.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next:
        netfilter: conntrack: Remove useless assignment statements
        netfilter: bridge: add support for pppoe filtering
        netfilter: nft_fwd_netdev: Support egress hook
        netfilter: ctnetlink: remove useless type conversion to bool
        netfilter: nf_queue: remove leftover synchronize_rcu
        netfilter: conntrack: Use memset_startat() to zero struct nf_conn
        ipvs: remove unused variable for ip_vs_new_dest
      ====================
      
      Link: https://lore.kernel.org/r/20211215234911.170741-1-pablo@netfilter.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      bd1d97d8
  2. 15 Dec, 2021 35 commits