1. 03 7月, 2018 10 次提交
    • I
      net: aquantia: Implement rx/tx flow control ethtools callback · 288551de
      Igor Russkikh 提交于
      Runtime change of pause frame configuration (rx/tx flow control)
      via ethtool.
      Signed-off-by: NIgor Russkikh <igor.russkikh@aquantia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      288551de
    • I
      net: aquantia: Improve adapter init/deinit logic · 44e00dd8
      Igor Russkikh 提交于
      We now pass link drop status to FW on init/deinit. This is required
      to inform FW that driver took/released a control on link.
      FW then will manage its own state and device power profile based
      on this information. To improve management we remove mpi_set
      function which ambiguously took both state and speed parameters.
      
      Deinit callback is now a part of FW ops, as it actually manages the FW.
      Signed-off-by: NIgor Russkikh <igor.russkikh@aquantia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      44e00dd8
    • A
      net: aquantia: Ethtool based ring size configuration · c1af5427
      Anton Mikaev 提交于
      Implemented ring size setup, min/max validation and reconfiguration in
      runtime.
      Signed-off-by: NAnton Mikaev <amikaev@aquantia.com>
      Signed-off-by: NIgor Russkikh <igor.russkikh@aquantia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c1af5427
    • G
      net: stmmac_tc: use 64-bit arithmetic instead of 32-bit · c18a9c09
      Gustavo A. R. Silva 提交于
      Add suffix UL to constant 1024 in order to give the compiler complete
      information about the proper arithmetic to use. Notice that this
      constant is used in a context that expects an expression of type
      u64 (64 bits, unsigned) and  following expressions are currently
      being evaluated using 32-bit arithmetic:
      
      qopt->idleslope * 1024 * ptr
      qopt->hicredit * 1024 * 8
      qopt->locredit * 1024 * 8
      
      Addresses-Coverity-ID: 1470246 ("Unintentional integer overflow")
      Addresses-Coverity-ID: 1470248 ("Unintentional integer overflow")
      Addresses-Coverity-ID: 1470249 ("Unintentional integer overflow")
      Signed-off-by: NGustavo A. R. Silva <gustavo@embeddedor.com>
      Acked-by: NJose Abreu <joabreu@synopsys.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c18a9c09
    • D
      net: phy: DP83TC811: Fix SGMII enable/disable · 00f55366
      Dan Murphy 提交于
      If SGMII was selected in the DT then the device should
      write the SGMII enable bit.
      
      If SGMII is not selected in the DT then the SGMII bit
      should be disabled.
      Signed-off-by: NDan Murphy <dmurphy@ti.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      00f55366
    • D
      net: phy: DP83TC811: Add INT_STAT3 · 42036383
      Dan Murphy 提交于
      Add INT_STAT3 interrupt setting and clearing
      support.
      Signed-off-by: NDan Murphy <dmurphy@ti.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      42036383
    • D
      Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net · 5cd3da4b
      David S. Miller 提交于
      Simple overlapping changes in stmmac driver.
      
      Adjust skb_gro_flush_final_remcsum function signature to make GRO list
      changes in net-next, as per Stephen Rothwell's example merge
      resolution.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5cd3da4b
    • L
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md · d0fbad0a
      Linus Torvalds 提交于
      Pull MD fixes from Shaohua Li:
       "Two small fixes for MD:
      
         - an error handling fix from me
      
         - a recover bug fix for raid10 from BingJing"
      
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md:
        md/raid10: fix that replacement cannot complete recovery after reassemble
        MD: cleanup resources in failure
      d0fbad0a
    • L
      Merge tag 'for-linus' of git://github.com/stffrdhrn/linux · 8d2b6f6b
      Linus Torvalds 提交于
      Pull OpenRISC fixes from Stafford Horne:
       "Two fixes for issues which were breaking OpenRISC boot:
      
         - Fix bug in __pte_free_tlb() exposed in 4.18 by Matthew Wilcox's
           page table flag addition.
      
         - Fix issue booting on real hardware if delay slot detection
           emulation is disabled"
      
      * tag 'for-linus' of git://github.com/stffrdhrn/linux:
        openrisc: entry: Fix delay slot exception detection
        openrisc: Call destructor during __pte_free_tlb
      8d2b6f6b
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 4e33d7d4
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
      
       1) Verify netlink attributes properly in nf_queue, from Eric Dumazet.
      
       2) Need to bump memory lock rlimit for test_sockmap bpf test, from
          Yonghong Song.
      
       3) Fix VLAN handling in lan78xx driver, from Dave Stevenson.
      
       4) Fix uninitialized read in nf_log, from Jann Horn.
      
       5) Fix raw command length parsing in mlx5, from Alex Vesker.
      
       6) Cleanup loopback RDS connections upon netns deletion, from Sowmini
          Varadhan.
      
       7) Fix regressions in FIB rule matching during create, from Jason A.
          Donenfeld and Roopa Prabhu.
      
       8) Fix mpls ether type detection in nfp, from Pieter Jansen van Vuuren.
      
       9) More bpfilter build fixes/adjustments from Masahiro Yamada.
      
      10) Fix XDP_{TX,REDIRECT} flushing in various drivers, from Jesper
          Dangaard Brouer.
      
      11) fib_tests.sh file permissions were broken, from Shuah Khan.
      
      12) Make sure BH/preemption is disabled in data path of mac80211, from
          Denis Kenzior.
      
      13) Don't ignore nla_parse_nested() return values in nl80211, from
          Johannes berg.
      
      14) Properly account sock objects ot kmemcg, from Shakeel Butt.
      
      15) Adjustments to setting bpf program permissions to read-only, from
          Daniel Borkmann.
      
      16) TCP Fast Open key endianness was broken, it always took on the host
          endiannness. Whoops. Explicitly make it little endian. From Yuching
          Cheng.
      
      17) Fix prefix route setting for link local addresses in ipv6, from
          David Ahern.
      
      18) Potential Spectre v1 in zatm driver, from Gustavo A. R. Silva.
      
      19) Various bpf sockmap fixes, from John Fastabend.
      
      20) Use after free for GRO with ESP, from Sabrina Dubroca.
      
      21) Passing bogus flags to crypto_alloc_shash() in ipv6 SR code, from
          Eric Biggers.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (87 commits)
        qede: Adverstise software timestamp caps when PHC is not available.
        qed: Fix use of incorrect size in memcpy call.
        qed: Fix setting of incorrect eswitch mode.
        qed: Limit msix vectors in kdump kernel to the minimum required count.
        ipvlan: call dev_change_flags when ipvlan mode is reset
        ipv6: sr: fix passing wrong flags to crypto_alloc_shash()
        net: fix use-after-free in GRO with ESP
        tcp: prevent bogus FRTO undos with non-SACK flows
        bpf: sockhash, add release routine
        bpf: sockhash fix omitted bucket lock in sock_close
        bpf: sockmap, fix smap_list_map_remove when psock is in many maps
        bpf: sockmap, fix crash when ipv6 sock is added
        net: fib_rules: bring back rule_exists to match rule during add
        hv_netvsc: split sub-channel setup into async and sync
        net: use dev_change_tx_queue_len() for SIOCSIFTXQLEN
        atm: zatm: Fix potential Spectre v1
        s390/qeth: consistently re-enable device features
        s390/qeth: don't clobber buffer on async TX completion
        s390/qeth: avoid using is_multicast_ether_addr_64bits on (u8 *)[6]
        s390/qeth: fix race when setting MAC address
        ...
      4e33d7d4
  2. 02 7月, 2018 30 次提交