diff options
| author | Govindarajulu Varadarajan <[email protected]> | 2015-07-15 10:04:40 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-07-20 19:39:34 +0000 |
| commit | d9382bda4ef97d73c77ecaed7a8d5df20da8b8dd (patch) | |
| tree | 32bd3e878fe327131d52b64c12d931b2138397e3 /net/switchdev/switchdev.c | |
| parent | enic: add adaptive coalescing intr for intx and msi poll (diff) | |
| download | kernel-d9382bda4ef97d73c77ecaed7a8d5df20da8b8dd.tar.gz kernel-d9382bda4ef97d73c77ecaed7a8d5df20da8b8dd.zip | |
enic: allow adaptive coalesce setting for msi/legacy intr
* 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: Govindarajulu Varadarajan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
