DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] ixgbe TX function selection
@ 2016-03-01 19:18 Zoltan Kiss
  2016-03-04  1:47 ` Lu, Wenzhuo
  2016-03-10  7:51 ` Wu, Jingjing
  0 siblings, 2 replies; 8+ messages in thread
From: Zoltan Kiss @ 2016-03-01 19:18 UTC (permalink / raw)
  To: dev

Hi,

I've noticed that ixgbe_set_tx_function() selects the non-SG function 
even if (dev->data->scattered_rx == 1). That seems a bit dangerous, as 
you can turn that on inadvertently when you don't set max_rx_pkt_len and 
buffer size in certain ways. I've learnt it in the hard way, as my 
segmented packets were leaking memory on the TX path, which doesn't 
cries if you send out segmented packets.
How should this case be treated? Assert on the non-SG TX side for the 
'next' pointer? Or turning on SG if RX has it? It doesn't seem to be a 
solid way as other interfaces still can have SG turned on.

Regards,

Zoltan

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

end of thread, other threads:[~2016-03-19 15:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-01 19:18 [dpdk-dev] ixgbe TX function selection Zoltan Kiss
2016-03-04  1:47 ` Lu, Wenzhuo
2016-03-04 11:59   ` Zoltan Kiss
2016-03-10  7:51 ` Wu, Jingjing
2016-03-17 17:10   ` Zoltan Kiss
2016-03-18  0:45     ` Lu, Wenzhuo
2016-03-18 13:33       ` Zoltan Kiss
2016-03-19 15:46         ` Ananyev, Konstantin

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).