1. 10 Sep, 2019 5 commits
    • Vivien Didelot's avatar
      net: dsa: mv88e6xxx: add RXNFC support · da7dc875
      Vivien Didelot authored
      Implement the .get_rxnfc and .set_rxnfc DSA operations to configure
      a port's Layer 2 Policy Control List (PCL) via ethtool.
      
      Currently only dropping frames based on MAC Destination or Source
      Address (including the option VLAN parameter) is supported.
      Signed-off-by: default avatarVivien Didelot <vivien.didelot@gmail.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      da7dc875
    • Vivien Didelot's avatar
      net: dsa: mv88e6xxx: introduce .port_set_policy · f3a2cd32
      Vivien Didelot authored
      Introduce a new .port_set_policy operation to configure a port's
      Policy Control List, based on mapping such as DA, SA, Etype and so on.
      
      Models similar to 88E6352 and 88E6390 are supported at the moment.
      Signed-off-by: default avatarVivien Didelot <vivien.didelot@gmail.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f3a2cd32
    • Vivien Didelot's avatar
      net: dsa: mv88e6xxx: complete ATU state definitions · d8291a95
      Vivien Didelot authored
      Marvell has different values for the state of a MAC address,
      depending on its multicast bit. This patch completes the definitions
      for these states.
      
      At the same time, use 0 which is intuitive enough and simplifies the
      code a bit, instead of the UC or MC unused value.
      Signed-off-by: default avatarVivien Didelot <vivien.didelot@gmail.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d8291a95
    • Colin Ian King's avatar
      net/mlx4_en: ethtool: make array modes static const, makes object smaller · c21815f1
      Colin Ian King authored
      Don't populate the array modes on the stack but instead make it
      static const. Makes the object code smaller by 303 bytes.
      
      Before:
         text	   data	    bss	    dec	    hex	filename
        51240	   5008	   1312	  57560	   e0d8 mellanox/mlx4/en_ethtool.o
      
      After:
         text	   data	    bss	    dec	    hex	filename
        50937	   5008	   1312	  57257	   dfa9	mellanox/mlx4/en_ethtool.o
      
      (gcc version 9.2.1, amd64)
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c21815f1
    • David S. Miller's avatar
      Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · db638647
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates 2019-09-09
      
      This series contains a variety of cold and hot savoury changes to Intel
      drivers.  Some of the fixes could be considered for stable even though
      the author did not request it.
      
      Hulk Robert cleans up (i.e. removes) a function that has no caller for
      the iavf driver.
      
      Radoslaw fixes an issue when there is no link in the VM after the
      hypervisor is restored from a low-power state due to the driver not
      properly restoring features in the device that had been disabled during
      the suspension for ixgbevf.
      
      Kai-Heng Feng modified e1000e to use mod_delayed_work() to help resolve
      a hot plug speed detection issue by adding a deterministic 1 second
      delay before running watchdog task after an interrupt.
      
      Sasha moves functions around to avoid forward declarations, since the
      forward declarations are not necessary for these static functions in
      igc.  Also added a check for igc during driver probe to validate the NVM
      checksum.  Cleaned up code defines that were not being used in the igc
      driver.  Adds support for IP generic transmit checksum offload in the
      igc driver.
      
      Updated the iavf kernel documentation by a developer with no life.
      
      Jake provides another fm10k update to a local variable for ease of code
      readability.
      
      Mitch fixes the iavf driver to allow the VF to override the MAC address
      set by the host, if the VF is in "trusted" mode.
      
      Mauro S. M. Rodrigues provides several changes for i40e driver, first
      with resolving hw_dbg usage and referencing a i40e_hw attribute.  Also
      implemented a debug macro using pr_debug, since the use of netdev_dbg
      could cause a NULL pointer dereference during probe.  Finally cleaned up
      code that is no longer used or needed.
      
      Firo Yang provides a change in the ixgbe driver to ensure we sync the
      first fragment unconditionally to help resolve an issue seen in the XEN
      environment when the upper network stack could receive an incomplete
      network packet.
      
      Mariusz adds a missing device to the i40e PCI table in the driver.
      
      v2: Mauro S. M. Rodrigues updated patches 10 & 11 of the series based on
          feedback from Jakub Kicinski.  Also updated patch 13 description so
          that the "Fixes:" tag was no wrapped.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      db638647
  2. 09 Sep, 2019 15 commits
  3. 07 Sep, 2019 20 commits