1. 08 2月, 2017 2 次提交
    • T
      net: qcom/emac: add ethool support for setting pause parameters · b44700e9
      Timur Tabi 提交于
      To support setting the pause parameters, the driver can no longer just
      mirror the PHY.  The set_pauseparam feature allows the driver to
      force the setting in the MAC, regardless of how the PHY is configured.
      This means that we now need to maintain an internal state for pause
      frame support, and so get_pauseparam also needs to be updated.
      
      If the interface is already running when the setting is changed, then
      the interface is reset.
      
      Note that if the MAC is configured to enable RX pause frame support
      (i.e. it transmits pause frames to throttle the other end), but the
      PHY is configured to block those frames, then the feature will not work.
      
      Also some buffer size initialization code into emac_init_adapter(),
      so that it lives with similar code, including the initializtion of
      pause frame support.
      Signed-off-by: NTimur Tabi <timur@codeaurora.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b44700e9
    • A
      mlxsw: add psample dependency for spectrum · 8d1fb01d
      Arnd Bergmann 提交于
      When PSAMPLE is a loadable module, spectrum must not be built-in:
      
      drivers/net/built-in.o: In function `mlxsw_sp_rx_listener_sample_func':
      spectrum.c:(.text+0xe357e): undefined reference to `psample_sample_packet'
      
      This adds a Kconfig dependency to enforce usable configurations.
      
      Fixes: 98d0f7b9 ("mlxsw: spectrum: Add packet sample offloading support")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NYotam Gigi <yotamg@mellanox.com>
      Acked-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8d1fb01d
  2. 07 2月, 2017 12 次提交
  3. 06 2月, 2017 12 次提交
  4. 04 2月, 2017 14 次提交