sfc: set interrupt moderation via MCDI
SFN8000-series NICs require a new method of setting interrupt moderation, via MCDI. This is indicated by a workaround flag. This new MCDI command takes an explicit time value rather than a number of ticks. It therefore makes sense to also store the moderation values in terms of time, since that is what the ethtool interface is interested in. Signed-off-by: Bert Kenward <bkenward@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a995560a27
commit
539de7c524
@@ -507,6 +507,7 @@ enum {
|
||||
* @stats: Hardware statistics
|
||||
* @workaround_35388: Flag: firmware supports workaround for bug 35388
|
||||
* @workaround_26807: Flag: firmware supports workaround for bug 26807
|
||||
* @workaround_61265: Flag: firmware supports workaround for bug 61265
|
||||
* @must_check_datapath_caps: Flag: @datapath_caps needs to be revalidated
|
||||
* after MC reboot
|
||||
* @datapath_caps: Capabilities of datapath firmware (FLAGS1 field of
|
||||
@@ -542,6 +543,7 @@ struct efx_ef10_nic_data {
|
||||
u64 stats[EF10_STAT_COUNT];
|
||||
bool workaround_35388;
|
||||
bool workaround_26807;
|
||||
bool workaround_61265;
|
||||
bool must_check_datapath_caps;
|
||||
u32 datapath_caps;
|
||||
u32 datapath_caps2;
|
||||
|
Reference in New Issue
Block a user