1. 16 4月, 2016 1 次提交
  2. 01 4月, 2016 1 次提交
  3. 08 3月, 2016 1 次提交
  4. 07 3月, 2016 1 次提交
  5. 26 2月, 2016 1 次提交
    • T
      net: Facility to report route quality of connected sockets · a87cb3e4
      Tom Herbert 提交于
      This patch add the SO_CNX_ADVICE socket option (setsockopt only). The
      purpose is to allow an application to give feedback to the kernel about
      the quality of the network path for a connected socket. The value
      argument indicates the type of quality report. For this initial patch
      the only supported advice is a value of 1 which indicates "bad path,
      please reroute"-- the action taken by the kernel is to call
      dst_negative_advice which will attempt to choose a different ECMP route,
      reset the TX hash for flow label and UDP source port in encapsulation,
      etc.
      
      This facility should be useful for connected UDP sockets where only the
      application can provide any feedback about path quality. It could also
      be useful for TCP applications that have additional knowledge about the
      path outside of the normal TCP control loop.
      Signed-off-by: NTom Herbert <tom@herbertland.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a87cb3e4
  6. 10 2月, 2016 1 次提交
  7. 19 1月, 2016 1 次提交
  8. 07 1月, 2016 1 次提交
  9. 05 1月, 2016 1 次提交
  10. 16 12月, 2015 1 次提交
  11. 16 11月, 2015 1 次提交
  12. 09 11月, 2015 1 次提交
  13. 18 9月, 2015 1 次提交
  14. 17 9月, 2015 2 次提交
  15. 04 8月, 2015 1 次提交
  16. 06 3月, 2015 2 次提交
  17. 10 2月, 2015 1 次提交
    • M
      s390/hypfs: Add diagnose 0c support · 34c0dad7
      Michael Holzheu 提交于
      With this feature, you can read the CPU performance metrics provided by the
      z/VM diagnose 0C. This then allows to get the management time for each
      online CPU of the guest where the diagnose is executed.
      
      The new debugfs file /sys/kernel/debug/s390_hypfs/diag_0c exports the
      diag0C binary data to user space via an open/read/close interface.
      
      The binary data consists out of a header structure followed by an
      array that contains the diagnose 0c data for each online CPU.
      Signed-off-by: NMichael Holzheu <holzheu@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      34c0dad7
  18. 09 2月, 2015 1 次提交
  19. 23 1月, 2015 4 次提交
  20. 18 12月, 2014 1 次提交
  21. 06 12月, 2014 1 次提交
    • A
      net: sock: allow eBPF programs to be attached to sockets · 89aa0758
      Alexei Starovoitov 提交于
      introduce new setsockopt() command:
      
      setsockopt(sock, SOL_SOCKET, SO_ATTACH_BPF, &prog_fd, sizeof(prog_fd))
      
      where prog_fd was received from syscall bpf(BPF_PROG_LOAD, attr, ...)
      and attr->prog_type == BPF_PROG_TYPE_SOCKET_FILTER
      
      setsockopt() calls bpf_prog_get() which increments refcnt of the program,
      so it doesn't get unloaded while socket is using the program.
      
      The same eBPF program can be attached to multiple sockets.
      
      User task exit automatically closes socket which calls sk_filter_uncharge()
      which decrements refcnt of eBPF program
      Signed-off-by: NAlexei Starovoitov <ast@plumgrid.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      89aa0758
  22. 19 11月, 2014 1 次提交
  23. 12 11月, 2014 1 次提交
    • E
      net: introduce SO_INCOMING_CPU · 2c8c56e1
      Eric Dumazet 提交于
      Alternative to RPS/RFS is to use hardware support for multiple
      queues.
      
      Then split a set of million of sockets into worker threads, each
      one using epoll() to manage events on its own socket pool.
      
      Ideally, we want one thread per RX/TX queue/cpu, but we have no way to
      know after accept() or connect() on which queue/cpu a socket is managed.
      
      We normally use one cpu per RX queue (IRQ smp_affinity being properly
      set), so remembering on socket structure which cpu delivered last packet
      is enough to solve the problem.
      
      After accept(), connect(), or even file descriptor passing around
      processes, applications can use :
      
       int cpu;
       socklen_t len = sizeof(cpu);
      
       getsockopt(fd, SOL_SOCKET, SO_INCOMING_CPU, &cpu, &len);
      
      And use this information to put the socket into the right silo
      for optimal performance, as all networking stack should run
      on the appropriate cpu, without need to send IPI (RPS/RFS).
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2c8c56e1
  24. 17 10月, 2014 1 次提交
  25. 09 10月, 2014 1 次提交
    • M
      s390: add support for vector extension · 80703617
      Martin Schwidefsky 提交于
      The vector extension introduces 32 128-bit vector registers and a set of
      instruction to operate on the vector registers.
      
      The kernel can control the use of vector registers for the problem state
      program with a bit in control register 0. Once enabled for a process the
      kernel needs to retain the content of the vector registers on context
      switch. The signal frame is extended to include the vector registers.
      Two new register sets NT_S390_VXRS_LOW and NT_S390_VXRS_HIGH are added
      to the regset interface for the debugger and core dumps.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      80703617
  26. 25 8月, 2014 1 次提交
  27. 12 8月, 2014 2 次提交
  28. 21 7月, 2014 1 次提交
  29. 17 7月, 2014 1 次提交
  30. 26 6月, 2014 1 次提交
  31. 16 6月, 2014 1 次提交
    • M
      s390/compat: correct ucontext layout for high gprs · b9c9a33b
      Martin Schwidefsky 提交于
      The uc_sigmask definition in the kernel differs from the one in the
      glibc, the kernel uc_sigmask has 64 bits while the glibc verison
      is 1024 bits. The extension of the ucontext structure for 64-bit
      register support for 31-bit compat processes added a new field
      uc_gprs_high which starts 8 bytes after the uc_sigmask field.
      As the glibc view of the ucontext assumes a size of 128 bytes for
      uc_sigmask add a 120 byte padding to the kernel structure
      ucontext_extended after the 8 byte uc_sigmask.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      b9c9a33b
  32. 16 5月, 2014 2 次提交
  33. 22 4月, 2014 1 次提交
    • D
      KVM: s390: hardware support for guest debugging · 27291e21
      David Hildenbrand 提交于
      This patch adds support to debug the guest using the PER facility on s390.
      Single-stepping, hardware breakpoints and hardware watchpoints are supported. In
      order to use the PER facility of the guest without it noticing it, the control
      registers of the guest have to be patched and access to them has to be
      intercepted(stctl, stctg, lctl, lctlg).
      
      All PER program interrupts have to be intercepted and only the relevant PER
      interrupts for the guest have to be given back. Special care has to be taken
      about repeated exits on the same hardware breakpoint. The intervention of the
      host in the guests PER configuration is not fully transparent. PER instruction
      nullification can not be used by the guest and too many storage alteration
      events may be reported to the guest (if it is activated for special address
      ranges only) when the host concurrently debugging it.
      Signed-off-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      27291e21