All of lore.kernel.org
 help / color / mirror / Atom feed
* netback grant copying issues
@ 2015-09-04  9:27 Jan Beulich
  2015-09-07 14:47 ` Wei Liu
  2015-09-07 15:11 ` David Vrabel
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Beulich @ 2015-09-04  9:27 UTC (permalink / raw)
  To: Wei Liu, Ian Campbell; +Cc: xen-devel

Ian, Wei,

I seem to be seeing two issues in the grant copy handling of netback,
solely from code inspection:

1) Shouldn't MAX_GRANT_COPY_OPS, to take care of the copying
the header may require, be
((MAX_SKB_FRAGS + 1) * XEN_NETIF_RX_RING_SIZE)?

2) xenvif_gop_frag_copy() may set up any number of copy_gop-s
per meta slot, yet xenvif_check_gop() checks only one.

Apart from that I find it puzzling that the comment ahead of
xenvif_gop_frag_copy() talks about flipping interfaces, while iirc
all flipping code has long been deleted from the upstream driver.

Jan

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

end of thread, other threads:[~2015-09-07 15:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-04  9:27 netback grant copying issues Jan Beulich
2015-09-07 14:47 ` Wei Liu
2015-09-07 15:03   ` Jan Beulich
2015-09-07 15:10     ` Wei Liu
2015-09-07 15:23       ` Jan Beulich
2015-09-07 15:40         ` Wei Liu
2015-09-07 15:11 ` David Vrabel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.