1. 21 7月, 2015 3 次提交
    • N
      bonding: trivial: remove unused variables · 22f94e62
      Nikolay Aleksandrov 提交于
      Get rid of these:
      drivers/net/bonding//bond_main.c: In function ‘bond_update_slave_arr’:
      drivers/net/bonding//bond_main.c:3754:6: warning: variable
      ‘slaves_in_agg’ set but not used [-Wunused-but-set-variable]
        int slaves_in_agg;
            ^
        CC [M]  drivers/net/bonding//bond_3ad.o
      drivers/net/bonding//bond_3ad.c: In function
      ‘ad_marker_response_received’:
      drivers/net/bonding//bond_3ad.c:1870:61: warning: parameter ‘marker’
      set but not used [-Wunused-but-set-parameter]
       static void ad_marker_response_received(struct bond_marker *marker,
                                                                   ^
      drivers/net/bonding//bond_3ad.c:1871:19: warning: parameter ‘port’ set
      but not used [-Wunused-but-set-parameter]
            struct port *port)
                         ^
      Signed-off-by: NNikolay Aleksandrov <nikolay@cumulusnetworks.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      22f94e62
    • G
      enic: allow adaptive coalesce setting for msi/legacy intr · d9382bda
      Govindarajulu Varadarajan 提交于
      * Allow setting of adaptive coalescing setting for all types of interrupt.
      
      * In msi & legacy intr, we use single interrupt for rx & tx. In this case
        tx_coalesce_usecs is invalid. We should use only rx_coalesce_usecs.
        Do not display tx_coal values for msi/intx. And do not allow user to set
        this as well.
      
      * Driver supports only tx/rx_coalesce_usec and adaptive coalesce settings.
        For other values, driver does not return error. So ethtool succeeds for
        unsupported values. Introduce enic_coalesce_valid() function to validate
        the coalescing values.
      
      * If user requests for coalesce value greater than what adaptor supports,
        driver uses the max value. We should at least log this.
      Signed-off-by: NGovindarajulu Varadarajan <_govind@gmx.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d9382bda
    • G
      enic: add adaptive coalescing intr for intx and msi poll · fc865d6b
      Govindarajulu Varadarajan 提交于
      Adaptive interrupt coalescing is available for msix. This patch adds the support
      for msi poll. Interface for adaptive interrupt coalescing is already added in
      driver. We just did not enable it for legacy intr & msi.
      
      enic_calc_int_moderation() & enic_set_int_moderation() are defined as static
      after enic_poll. Since enic_poll needs it, move both of these function
      definitions above enic_poll. No change in functionality.
      Signed-off-by: NGovindarajulu Varadarajan <_govind@gmx.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fc865d6b
  2. 16 7月, 2015 8 次提交
  3. 15 7月, 2015 17 次提交
  4. 13 7月, 2015 8 次提交
  5. 12 7月, 2015 2 次提交
  6. 11 7月, 2015 2 次提交