1. 27 7月, 2017 7 次提交
    • S
      qed: Add support for Energy efficient ethernet. · 645874e5
      Sudarsana Reddy Kalluru 提交于
      The patch adds required driver support for reading/configuring the
      Energy Efficient Ethernet (EEE) parameters.
      Signed-off-by: NSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
      Signed-off-by: NYuval Mintz <yuval.mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      645874e5
    • C
      qed/qede: Add setter APIs support for RX flow classification · 3f2a2b8b
      Chopra, Manish 提交于
      This patch adds support for adding and deleting rx flow
      classification rules. Using this user can classify RX flow
      constituting of TCP/UDP 4-tuples [src_ip/dst_ip and src_port/dst_port]
      to be steered on a given RX queue
      Signed-off-by: NManish Chopra <manish.chopra@cavium.com>
      Signed-off-by: NYuval Mintz <yuval.mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3f2a2b8b
    • C
      qede: Add getter APIs support for RX flow classification · ec9b8dbd
      Chopra, Manish 提交于
      This patch adds support for ethtool getter APIs to query
      RX flow classification rules.
      Signed-off-by: NManish Chopra <manish.chopra@cavium.com>
      Signed-off-by: NYuval Mintz <yuval.mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ec9b8dbd
    • D
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · e27a8792
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      40GbE Intel Wired LAN Driver Updates 2017-07-25
      
      This series contains updates to i40e and i40evf only.
      
      Gustavo Silva fixes a variable assignment, where the incorrect variable
      was being used to store the error parameter.
      
      Carolyn provides a fix for a problem found in systems when entering S4
      state, by ensuring that the misc vector's IRQ is disabled as well.
      
      Jake removes the single-threaded restriction on the module workqueue,
      which was causing issues with events such as CORER.  Does some future
      proofing, by changing how the driver displays the UDP tunnel type.
      
      Paul adds a retry in releasing resources if the admin queue times out
      during the first attempt to release the resources.
      
      Jesse fixes up references to 32bit timspec, since there are a small set
      of errors on 32 bit, so we need to be using the right calls for dealing
      with timespec64 variables.  Cleaned up code indentation and corrected
      an "if" conditional check, as well as making the code flow more clear.
      Cast or changed the types to remove warnings for comparing signed and
      unsigned types.  Adds missing includes in i40evf, which were being used
      but were not being directly included.
      
      Daniel Borkmann fixes i40e to fill the XDP prog_id with the id just like
      other XDP enabled drivers, so that on dump we can retrieve the attached
      program based on the id and dump BPF insns, opcodes, etc back to user
      space.
      
      Tushar Dave adds le32_to_cpu while evaluating the hardware descriptor
      fields, since they are in little-endian format.  Also removed
      unnecessary "__packed" to a couple of i40evf structures.
      
      Stefan Assmann fixes an issue when an administratively set MAC was set
      and should now be switched back to 00:00:00:00:00:00, the pf_set_mac
      flag is not being toggled back to false.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e27a8792
    • D
      Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 143f0cf9
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      10GbE Intel Wired LAN Driver Updates 2017-07-25
      
      This series contains updates to ixgbe only.
      
      Tony provides all of the changes in the series, starting with adding a
      check to ensure that adding a MAC filter was successful, before setting the
      MACVLAN.  In order to receive notifications of link configurations of the
      external PHY and support the configuration of the internal iXFI link on
      X552 devices, Tony enables LASI interrupts.  Update the iXFI driver code
      flow, since the MAC register NW_MNG_IF_SEL fields have been redefined for
      X553 devices, so add MAC checks for iXFI flows.  Added additional checks
      for flow control autonegotiation, since it is not support for X553 fiber
       and XFI devices.
      
      v2: removed unnecessary parens noticed by David Miller in patch 6 of the
          series.
      v3: dropped patch 6 of the original series, while we work out a more
          generic solution for malicious driver detection (MDD) support.
      v4: updated patch 1 of the series with the comments from Joe Perches which
          were:
            - switched logic to return on error
            - return 0 on success
            - declare retval as an integer
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      143f0cf9
    • J
      bpf: install libbpf headers on 'make install' · eb54e522
      Jakub Kicinski 提交于
      Add a new target to install the bpf.h header to $(prefix)/include/bpf/
      directory.  This is necessary to build standalone applications using
      libbpf, without the need to clone the kernel sources and point to them.
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      Acked-by: NDaniel Borkmann <daniel@iogearbox.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      eb54e522
    • A
      hamradio: dmascc: avoid -Wformat-overflow warning · 9877e105
      Arnd Bergmann 提交于
      gcc warns that the device name might overflow:
      
      drivers/net/hamradio/dmascc.c: In function 'dmascc_init':
      drivers/net/hamradio/dmascc.c:584:22: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
         sprintf(dev->name, "dmascc%i", 2 * n + i);
      drivers/net/hamradio/dmascc.c:584:3: note: 'sprintf' output between 8 and 17 bytes into a destination of size 16
         sprintf(dev->name, "dmascc%i", 2 * n + i);
      
      >From the static data in this file, I can tell that the index is
      strictly limited to 16, so it won't overflow. This simply changes
      the sprintf() to snprintf(), which is a good idea in general,
      and shuts up this warning.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9877e105
  2. 26 7月, 2017 33 次提交