1. 09 Jun, 2023 12 commits
  2. 08 Jun, 2023 28 commits
    • Jakub Kicinski's avatar
      Merge branch 'tools-ynl-generate-code-for-the-devlink-family' · 392c108b
      Jakub Kicinski authored
      Jakub Kicinski says:
      
      ====================
      tools: ynl: generate code for the devlink family
      
      Another chunk of changes to support more capabilities in the YNL
      code gen. Devlink brings in deep nesting and directional messages
      (requests and responses have different IDs). We need a healthy
      dose of codegen changes to support those (I wasn't planning to
      support code gen for "directional" families initially, but
      the importance of devlink and ethtool is undeniable).
      ====================
      
      Link: https://lore.kernel.org/r/20230607202403.1089925-1-kuba@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      392c108b
    • Jakub Kicinski's avatar
      tools: ynl: add sample for devlink · fff8660b
      Jakub Kicinski authored
      Add a sample to show off how to issue basic devlink requests.
      For added testing issue get requests while walking a dump.
      
      $ ./devlink
      netdevsim/netdevsim1:
          driver: netdevsim
          running fw:
              fw.mgmt: 10.20.30
          ...
      netdevsim/netdevsim2:
          driver: netdevsim
          running fw:
              fw.mgmt: 10.20.30
          ...
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      fff8660b
    • Jakub Kicinski's avatar
      tools: ynl: generate code for the devlink family · 5d1a30eb
      Jakub Kicinski authored
      Admittedly the devlink.yaml spec is fairly limitted,
      it only covers basic device get and info-get ops.
      That's sufficient to be useful (monitoring FW versions
      in the fleet). Plus it gives us a chance to exercise
      deep nesting and directional messaging in YNL.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      5d1a30eb
    • Jakub Kicinski's avatar
      tools: ynl-gen: don't generate forward declarations for policies - regen · 0a947121
      Jakub Kicinski authored
      Renegerate code after dropping forward declarations for policies.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      0a947121
    • Jakub Kicinski's avatar
      tools: ynl-gen: don't generate forward declarations for policies · 168dea20
      Jakub Kicinski authored
      Now that all nested types have structs and are sorted topologically
      there should be no need to generate forward declarations for policies.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      168dea20
    • Jakub Kicinski's avatar
      tools: ynl-gen: walk nested types in depth · eae7af21
      Jakub Kicinski authored
      So far we had only created structures for nested types nested
      directly in messages (second level of attrs so to speak).
      Walk types in depth to support deeper nesting.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      eae7af21
    • Jakub Kicinski's avatar
      tools: ynl-gen: inherit struct use info · 37487f93
      Jakub Kicinski authored
      We only render parse and netlink generation helpers as needed,
      to avoid generating dead code. Propagate the information from
      first- and second-layer attribute sets onto all children.
      Otherwise devlink won't work, it has a lot more levels of nesting.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      37487f93
    • Jakub Kicinski's avatar
      tools: ynl-gen: try to sort the types more intelligently · 6afaa0ef
      Jakub Kicinski authored
      We need to sort the structures to avoid the need for forward
      declarations. While at it remove the sort of structs when
      rendering, it doesn't do anything.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      6afaa0ef
    • Jakub Kicinski's avatar
      tools: ynl-gen: enable code gen for directional specs · ff6db4b5
      Jakub Kicinski authored
      I think that user space code gen for directional specs
      works after recent changes. Let them through.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      ff6db4b5
    • Jakub Kicinski's avatar
      tools: ynl-gen: refactor strmap helper generation · 6f115d45
      Jakub Kicinski authored
      Move generating strmap lookup function to a helper.
      No functional changes.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      6f115d45
    • Jakub Kicinski's avatar
      tools: ynl-gen: use enum names in op strmap more carefully · 9858bfc2
      Jakub Kicinski authored
      In preparation for supporting families which use different msg
      ids to and from the kernel - make sure the ids in op strmap
      are correct. The map is expected to be used mostly for notifications,
      don't generate a separate map for the "to kernel" direction.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      9858bfc2
    • Jakub Kicinski's avatar
      netlink: specs: devlink: fill in some details important for C · 8947e503
      Jakub Kicinski authored
      Python YNL is much more forgiving than the C code gen in terms
      of the spec completeness. Fill in a handful of devlink details
      to make the spec usable in C.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      8947e503
    • Jakub Kicinski's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 449f6bc1
      Jakub Kicinski authored
      Cross-merge networking fixes after downstream PR.
      
      Conflicts:
      
      net/sched/sch_taprio.c
        d636fc5d ("net: sched: add rcu annotations around qdisc->qdisc_sleeping")
        dced11ef ("net/sched: taprio: don't overwrite "sch" variable in taprio_dump_class_stats()")
      
      net/ipv4/sysctl_net_ipv4.c
        e209fee4 ("net/ipv4: ping_group_range: allow GID from 2147483648 to 4294967294")
        ccce324d ("tcp: make the first N SYN RTO backoffs linear")
      https://lore.kernel.org/all/20230605100816.08d41a7b@canb.auug.org.au/
      
      No adjacent changes.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      449f6bc1
    • Linus Torvalds's avatar
      Merge tag 'net-6.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 25041a4c
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from can, wifi, netfilter, bluetooth and ebpf.
      
        Current release - regressions:
      
         - bpf: sockmap: avoid potential NULL dereference in
           sk_psock_verdict_data_ready()
      
         - wifi: iwlwifi: fix -Warray-bounds bug in iwl_mvm_wait_d3_notif()
      
         - phylink: actually fix ksettings_set() ethtool call
      
         - eth: dwmac-qcom-ethqos: fix a regression on EMAC < 3
      
        Current release - new code bugs:
      
         - wifi: mt76: fix possible NULL pointer dereference in
           mt7996_mac_write_txwi()
      
        Previous releases - regressions:
      
         - netfilter: fix NULL pointer dereference in nf_confirm_cthelper
      
         - wifi: rtw88/rtw89: correct PS calculation for SUPPORTS_DYNAMIC_PS
      
         - openvswitch: fix upcall counter access before allocation
      
         - bluetooth:
            - fix use-after-free in hci_remove_ltk/hci_remove_irk
            - fix l2cap_disconnect_req deadlock
      
         - nic: bnxt_en: prevent kernel panic when receiving unexpected
           PHC_UPDATE event
      
        Previous releases - always broken:
      
         - core: annotate rfs lockless accesses
      
         - sched: fq_pie: ensure reasonable TCA_FQ_PIE_QUANTUM values
      
         - netfilter: add null check for nla_nest_start_noflag() in
           nft_dump_basechain_hook()
      
         - bpf: fix UAF in task local storage
      
         - ipv4: ping_group_range: allow GID from 2147483648 to 4294967294
      
         - ipv6: rpl: fix route of death.
      
         - tcp: gso: really support BIG TCP
      
         - mptcp: fixes for user-space PM address advertisement
      
         - smc: avoid to access invalid RMBs' MRs in SMCRv1 ADD LINK CONT
      
         - can: avoid possible use-after-free when j1939_can_rx_register fails
      
         - batman-adv: fix UaF while rescheduling delayed work
      
         - eth: qede: fix scheduling while atomic
      
         - eth: ice: make writes to /dev/gnssX synchronous"
      
      * tag 'net-6.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (83 commits)
        bnxt_en: Implement .set_port / .unset_port UDP tunnel callbacks
        bnxt_en: Prevent kernel panic when receiving unexpected PHC_UPDATE event
        bnxt_en: Skip firmware fatal error recovery if chip is not accessible
        bnxt_en: Query default VLAN before VNIC setup on a VF
        bnxt_en: Don't issue AP reset during ethtool's reset operation
        bnxt_en: Fix bnxt_hwrm_update_rss_hash_cfg()
        net: bcmgenet: Fix EEE implementation
        eth: ixgbe: fix the wake condition
        eth: bnxt: fix the wake condition
        lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release()
        bpf: Add extra path pointer check to d_path helper
        net: sched: fix possible refcount leak in tc_chain_tmplt_add()
        net: sched: act_police: fix sparse errors in tcf_police_dump()
        net: openvswitch: fix upcall counter access before allocation
        net: sched: move rtm_tca_policy declaration to include file
        ice: make writes to /dev/gnssX synchronous
        net: sched: add rcu annotations around qdisc->qdisc_sleeping
        rfs: annotate lockless accesses to RFS sock flow table
        rfs: annotate lockless accesses to sk->sk_rxhash
        virtio_net: use control_buf for coalesce params
        ...
      25041a4c
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.4-rc5-fixes' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 79b6fad5
      Linus Torvalds authored
      Pull xfs fixes from Dave Chinner:
       "These are a set of regression fixes discovered on recent kernels. I
        was hoping to send this to you a week and half ago, but events out of
        my control delayed finalising the changes until early this week.
      
        Whilst the diffstat looks large for this stage of the merge window, a
        large chunk of it comes from moving the guts of one function from one
        file to another i.e. it's the same code, it is just run in a different
        context where it is safe to hold a specific lock. Otherwise the
        individual changes are relatively small and straigtht forward.
      
        Summary:
      
         - Propagate unlinked inode list corruption back up to log recovery
           (regression fix)
      
         - improve corruption detection for AGFL entries, AGFL indexes and
           XEFI extents (syzkaller fuzzer oops report)
      
         - Avoid double perag reference release (regression fix)
      
         - Improve extent merging detection in scrub (regression fix)
      
         - Fix a new undefined high bit shift (regression fix)
      
         - Fix for AGF vs inode cluster buffer deadlock (regression fix)"
      
      * tag 'xfs-6.4-rc5-fixes' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: collect errors from inodegc for unlinked inode recovery
        xfs: validate block number being freed before adding to xefi
        xfs: validity check agbnos on the AGFL
        xfs: fix agf/agfl verification on v4 filesystems
        xfs: fix double xfs_perag_rele() in xfs_filestream_pick_ag()
        xfs: fix broken logic when detecting mergeable bmap records
        xfs: Fix undefined behavior of shift into sign bit
        xfs: fix AGF vs inode cluster buffer deadlock
        xfs: defered work could create precommits
        xfs: restore allocation trylock iteration
        xfs: buffer pins need to hold a buffer reference
      79b6fad5
    • Paolo Abeni's avatar
      Merge branch 'crypto-splice-net-make-af_alg-handle-sendmsg-msg_splice_pages' · bfd019d1
      Paolo Abeni authored
      David Howells says:
      
      ====================
      crypto, splice, net: Make AF_ALG handle sendmsg(MSG_SPLICE_PAGES)
      
      Here are patches to make AF_ALG handle the MSG_SPLICE_PAGES internal
      sendmsg flag.  MSG_SPLICE_PAGES is an internal hint that tells the protocol
      that it should splice the pages supplied if it can.  The sendpage functions
      are then turned into wrappers around that.
      
      This set consists of the following parts:
      
       (1) Move netfs_extract_iter_to_sg() to somewhere more general and rename
           it to drop the "netfs" prefix.  We use this to extract directly from
           an iterator into a scatterlist.
      
       (2) Make AF_ALG use iov_iter_extract_pages().  This has the additional
           effect of pinning pages obtained from userspace rather than taking
           refs on them.  Pages from kernel-backed iterators would not be pinned,
           but AF_ALG isn't really meant for use by kernel services.
      
       (3) Change AF_ALG still further to use extract_iter_to_sg().
      
       (4) Make af_alg_sendmsg() support MSG_SPLICE_PAGES support and make
           af_alg_sendpage() just a wrapper around sendmsg().  This has to take
           refs on the pages pinned for the moment.
      
       (5) Make hash_sendmsg() support MSG_SPLICE_PAGES by simply ignoring it.
           hash_sendpage() is left untouched to be removed later, after the
           splice core has been changed to call sendmsg().
      ====================
      
      Link: https://lore.kernel.org/r/20230606130856.1970660-1-dhowells@redhat.comSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      bfd019d1
    • David Howells's avatar
      crypto: af_alg/hash: Support MSG_SPLICE_PAGES · c662b043
      David Howells authored
      Make AF_ALG sendmsg() support MSG_SPLICE_PAGES in the hashing code.  This
      causes pages to be spliced from the source iterator if possible.
      
      This allows ->sendpage() to be replaced by something that can handle
      multiple multipage folios in a single transaction.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: linux-crypto@vger.kernel.org
      cc: netdev@vger.kernel.org
      Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      c662b043
    • David Howells's avatar
      crypto: af_alg: Convert af_alg_sendpage() to use MSG_SPLICE_PAGES · fb800fa4
      David Howells authored
      Convert af_alg_sendpage() to use sendmsg() with MSG_SPLICE_PAGES rather
      than directly splicing in the pages itself.
      
      This allows ->sendpage() to be replaced by something that can handle
      multiple multipage folios in a single transaction.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: linux-crypto@vger.kernel.org
      cc: netdev@vger.kernel.org
      Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      fb800fa4
    • David Howells's avatar
      crypto: af_alg: Support MSG_SPLICE_PAGES · bf63e250
      David Howells authored
      Make AF_ALG sendmsg() support MSG_SPLICE_PAGES.  This causes pages to be
      spliced from the source iterator.
      
      This allows ->sendpage() to be replaced by something that can handle
      multiple multipage folios in a single transaction.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: linux-crypto@vger.kernel.org
      cc: netdev@vger.kernel.org
      Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      bf63e250
    • David Howells's avatar
      crypto: af_alg: Indent the loop in af_alg_sendmsg() · 73d7409c
      David Howells authored
      Put the loop in af_alg_sendmsg() into an if-statement to indent it to make
      the next patch easier to review as that will add another branch to handle
      MSG_SPLICE_PAGES to the if-statement.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: linux-crypto@vger.kernel.org
      cc: netdev@vger.kernel.org
      Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      73d7409c
    • David Howells's avatar
      crypto: af_alg: Use extract_iter_to_sg() to create scatterlists · c1abe6f5
      David Howells authored
      Use extract_iter_to_sg() to decant the destination iterator into a
      scatterlist in af_alg_get_rsgl().  af_alg_make_sg() can then be removed.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: linux-crypto@vger.kernel.org
      cc: netdev@vger.kernel.org
      Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      c1abe6f5
    • David Howells's avatar
      crypto: af_alg: Pin pages rather than ref'ing if appropriate · f9e7a5fa
      David Howells authored
      Convert AF_ALG to use iov_iter_extract_pages() instead of
      iov_iter_get_pages().  This will pin pages or leave them unaltered rather
      than getting a ref on them as appropriate to the iterator.
      
      The pages need to be pinned for DIO-read rather than having refs taken on
      them to prevent VM copy-on-write from malfunctioning during a concurrent
      fork() (the result of the I/O would otherwise end up only visible to the
      child process and not the parent).
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: linux-crypto@vger.kernel.org
      cc: netdev@vger.kernel.org
      Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      f9e7a5fa
    • David Howells's avatar
      Move netfs_extract_iter_to_sg() to lib/scatterlist.c · f5f82cd1
      David Howells authored
      Move netfs_extract_iter_to_sg() to lib/scatterlist.c as it's going to be
      used by more than just network filesystems (AF_ALG, for example).
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Jeff Layton <jlayton@kernel.org>
      cc: Steve French <sfrench@samba.org>
      cc: Shyam Prasad N <nspmangalore@gmail.com>
      cc: Rohith Surabattula <rohiths.msft@gmail.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: linux-crypto@vger.kernel.org
      cc: linux-cachefs@redhat.com
      cc: linux-cifs@vger.kernel.org
      cc: linux-fsdevel@vger.kernel.org
      cc: netdev@vger.kernel.org
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      f5f82cd1
    • David Howells's avatar
      Wrap lines at 80 · 936dc763
      David Howells authored
      Wrap a line at 80 to stop checkpatch complaining.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Jeff Layton <jlayton@kernel.org>
      cc: Steve French <sfrench@samba.org>
      cc: Shyam Prasad N <nspmangalore@gmail.com>
      cc: Rohith Surabattula <rohiths.msft@gmail.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: Simon Horman <simon.horman@corigine.com>
      cc: linux-crypto@vger.kernel.org
      cc: linux-cachefs@redhat.com
      cc: linux-cifs@vger.kernel.org
      cc: linux-fsdevel@vger.kernel.org
      cc: netdev@vger.kernel.org
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      936dc763
    • David Howells's avatar
      Fix a couple of spelling mistakes · 3b9e9f72
      David Howells authored
      Fix a couple of spelling mistakes in a comment.
      Suggested-by: default avatarSimon Horman <simon.horman@corigine.com>
      Link: https://lore.kernel.org/r/ZHH2mSRqeL4Gs1ft@corigine.com/
      Link: https://lore.kernel.org/r/ZHH1nqZWOGzxlidT@corigine.com/Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
      cc: Jeff Layton <jlayton@kernel.org>
      cc: Steve French <sfrench@samba.org>
      cc: Shyam Prasad N <nspmangalore@gmail.com>
      cc: Rohith Surabattula <rohiths.msft@gmail.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: linux-crypto@vger.kernel.org
      cc: linux-cachefs@redhat.com
      cc: linux-cifs@vger.kernel.org
      cc: linux-fsdevel@vger.kernel.org
      cc: netdev@vger.kernel.org
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      3b9e9f72
    • David Howells's avatar
      Drop the netfs_ prefix from netfs_extract_iter_to_sg() · 0d7aeb68
      David Howells authored
      Rename netfs_extract_iter_to_sg() and its auxiliary functions to drop the
      netfs_ prefix.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Jeff Layton <jlayton@kernel.org>
      cc: Steve French <sfrench@samba.org>
      cc: Shyam Prasad N <nspmangalore@gmail.com>
      cc: Rohith Surabattula <rohiths.msft@gmail.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Herbert Xu <herbert@gondor.apana.org.au>
      cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: linux-crypto@vger.kernel.org
      cc: linux-cachefs@redhat.com
      cc: linux-cifs@vger.kernel.org
      cc: linux-fsdevel@vger.kernel.org
      cc: netdev@vger.kernel.org
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      0d7aeb68
    • Paolo Abeni's avatar
      Merge branch 'txgbe-phylink-support' · b62d9e20
      Paolo Abeni authored
      Jiawen Wu says:
      
      ====================
      TXGBE PHYLINK support
      
      Implement I2C, SFP, GPIO and PHYLINK to setup TXGBE link.
      
      Because our I2C and PCS are based on Synopsys Designware IP-core, extend
      the i2c-designware and pcs-xpcs driver to realize our functions.
      ====================
      
      Link: https://lore.kernel.org/r/20230606092107.764621-1-jiawenwu@trustnetic.comSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      b62d9e20
    • Jiawen Wu's avatar
      net: txgbe: Support phylink MAC layer · 08f08f93
      Jiawen Wu authored
      Add phylink support to Wangxun 10Gb Ethernet controller for the 10GBASE-R
      interface.
      Signed-off-by: default avatarJiawen Wu <jiawenwu@trustnetic.com>
      Reviewed-by: default avatarMaciej Fijalkowski <maciej.fijalkowski@intel.com>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      08f08f93