1. 30 Jul, 2022 5 commits
    • Edward Cree's avatar
      sfc: plumb ef100 representor stats · a95115c4
      Edward Cree authored
      Implement .ndo_get_stats64() method to read values out of struct
       efx_rep_sw_stats.
      Signed-off-by: default avatarEdward Cree <ecree.xilinx@gmail.com>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      a95115c4
    • Dan Carpenter's avatar
      net: marvell: prestera: uninitialized variable bug · 71930846
      Dan Carpenter authored
      The "ret" variable needs to be initialized at the start.
      
      Fixes: 52323ef7 ("net: marvell: prestera: add phylink support")
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Link: https://lore.kernel.org/r/YuKeBBuGtsmd7QdT@kiliSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      71930846
    • Yu Zhe's avatar
      dn_route: replace "jiffies-now>0" with "jiffies!=now" · 0f14a835
      Yu Zhe authored
      Use "jiffies != now" to replace "jiffies - now > 0" to make
      code more readable. We want to put a limit on how long the
      loop can run for before rescheduling.
      Signed-off-by: default avatarYu Zhe <yuzhe@nfschina.com>
      Link: https://lore.kernel.org/r/20220729061712.22666-1-yuzhe@nfschina.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      0f14a835
    • Jakub Kicinski's avatar
      Merge tag 'wireless-next-2022-07-29' of... · ff4970b1
      Jakub Kicinski authored
      Merge tag 'wireless-next-2022-07-29' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next
      
      Kalle Valo says:
      
      ====================
      wireless-next patches for v5.20
      
      Fourth set of patches for v5.20, last few patches before the merge
      window. Only driver changes this time, mostly just fixes and cleanup.
      
      Major changes:
      
      brcmfmac
       - support brcm,ccode-map-trivial DT property
      
      wcn36xx
       - add debugfs file to show firmware feature strings
      
      * tag 'wireless-next-2022-07-29' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next: (36 commits)
        wifi: rtw88: check the return value of alloc_workqueue()
        wifi: rtw89: 8852a: adjust IMR for SER L1
        wifi: rtw89: 8852a: update RF radio A/B R56
        wifi: wcn36xx: Add debugfs entry to read firmware feature strings
        wifi: wcn36xx: Move capability bitmap to string translation function to firmware.c
        wifi: wcn36xx: Move firmware feature bit storage to dedicated firmware.c file
        wifi: wcn36xx: Rename clunky firmware feature bit enum
        wifi: brcmfmac: prevent double-free on hardware-reset
        wifi: brcmfmac: support brcm,ccode-map-trivial DT property
        dt-bindings: bcm4329-fmac: add optional brcm,ccode-map-trivial
        wifi: brcmfmac: Replace default (not configured) MAC with a random MAC
        wifi: brcmfmac: Add brcmf_c_set_cur_etheraddr() helper
        wifi: brcmfmac: Remove #ifdef guards for PM related functions
        wifi: brcmfmac: use strreplace() in brcmf_of_probe()
        wifi: plfxlc: Use eth_zero_addr() to assign zero address
        wifi: wilc1000: use existing iftype variable to store the interface type
        wifi: wilc1000: add 'isinit' flag for SDIO bus similar to SPI
        wifi: wilc1000: cancel the connect operation during interface down
        wifi: wilc1000: get correct length of string WID from received config packet
        wifi: wilc1000: set station_info flag only when signal value is valid
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20220729192832.A5011C433D6@smtp.kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      ff4970b1
    • Jakub Kicinski's avatar
      Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · 5fc7c588
      Jakub Kicinski authored
      Andrii Nakryiko says:
      
      ====================
       bpf-next 2022-07-29
      
      We've added 22 non-merge commits during the last 4 day(s) which contain
      a total of 27 files changed, 763 insertions(+), 120 deletions(-).
      
      The main changes are:
      
      1) Fixes to allow setting any source IP with bpf_skb_set_tunnel_key() helper,
         from Paul Chaignon.
      
      2) Fix for bpf_xdp_pointer() helper when doing sanity checking, from Joanne Koong.
      
      3) Fix for XDP frame length calculation, from Lorenzo Bianconi.
      
      4) Libbpf BPF_KSYSCALL docs improvements and fixes to selftests to accommodate
         s390x quirks with socketcall(), from Ilya Leoshkevich.
      
      5) Allow/denylist and CI configs additions to selftests/bpf to improve BPF CI,
         from Daniel Müller.
      
      6) BPF trampoline + ftrace follow up fixes, from Song Liu and Xu Kuohai.
      
      7) Fix allocation warnings in netdevsim, from Jakub Kicinski.
      
      8) bpf_obj_get_opts() libbpf API allowing to provide file flags, from Joe Burton.
      
      9) vsnprintf usage fix in bpf_snprintf_btf(), from Fedor Tokarev.
      
      10) Various small fixes and clean ups, from Daniel Müller, Rongguang Wei,
          Jörn-Thorben Hinz, Yang Li.
      
      * https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next: (22 commits)
        bpf: Remove unneeded semicolon
        libbpf: Add bpf_obj_get_opts()
        netdevsim: Avoid allocation warnings triggered from user space
        bpf: Fix NULL pointer dereference when registering bpf trampoline
        bpf: Fix test_progs -j error with fentry/fexit tests
        selftests/bpf: Bump internal send_signal/send_signal_tracepoint timeout
        bpftool: Don't try to return value from void function in skeleton
        bpftool: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE macro
        bpf: btf: Fix vsnprintf return value check
        libbpf: Support PPC in arch_specific_syscall_pfx
        selftests/bpf: Adjust vmtest.sh to use local kernel configuration
        selftests/bpf: Copy over libbpf configs
        selftests/bpf: Sort configuration
        selftests/bpf: Attach to socketcall() in test_probe_user
        libbpf: Extend BPF_KSYSCALL documentation
        bpf, devmap: Compute proper xdp_frame len redirecting frames
        bpf: Fix bpf_xdp_pointer return pointer
        selftests/bpf: Don't assign outer source IP to host
        bpf: Set flow flag to allow any source IP in bpf_tunnel_key
        geneve: Use ip_tunnel_key flow flags in route lookups
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20220729230948.1313527-1-andrii@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      5fc7c588
  2. 29 Jul, 2022 35 commits