netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DMA coalescing - ethtool vs. kernel
@ 2017-11-23 12:31 Michal Kubecek
  2017-11-27 18:32 ` Jeff Kirsher
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Kubecek @ 2017-11-23 12:31 UTC (permalink / raw)
  To: John W. Linville; +Cc: netdev, Paul Greenwalt, Jeff Kirsher, Stephen Hemminger

Hello,

while digging through the interface between ethtool and kernel,
I noticed that ethtool commit 5dd7bfbc5079 ("ethtool: Add DMA Coalescing
support") added new member dmac into struct ethtool_coalesce which is
part of kernel UAPI but there is no kernel counterpart to this change in
master, net or net-next tree.

This doesn't cause any serious trouble as with userspace structure
longer than kernel thinks, kernel would simply ignore the extra member
so that the feature "only" doesn't work. But I doubt such change could
be accepted to kernel side of the interface as new kernel would then
overflow shorter structure passed by older ethtool. Stephen Hemminger
mentioned the ABI compatibility issue when this patch was submitted:

  https://patchwork.ozlabs.org/patch/806049/#1757846

Does it make sense to have ethtool feature without kernel counterpart?

Michal Kubecek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-27 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-23 12:31 DMA coalescing - ethtool vs. kernel Michal Kubecek
2017-11-27 18:32 ` Jeff Kirsher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).