netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* igb mtu change
@ 2012-10-17 14:41 ratheesh kannoth
  2012-10-17 20:09 ` Alexander Duyck
  0 siblings, 1 reply; 3+ messages in thread
From: ratheesh kannoth @ 2012-10-17 14:41 UTC (permalink / raw)
  To: e1000-devel, linux-net, netdev

igb_change_mtu change is only changing adapter->rx_ring[0]->rx_buffer_len.

1)  we dont have to change adapter->tx_ring[0]->rx_buffer_len ?
2) Is there any way to set different values to
adapter->tx_ring[0]->rx_buffer_len and
adapter->rx_ring[0]->rx_buffer_len ?

I am facing a problem because i have a strange requirement....i have
2KB  bufffer pools ( GFP_DMA ) in kernel.
When i receive a jumbo pkt of size 9126,     five rx_desc should be
used to recieve paket. So the first rx_desc will have a status error
bit indicating that it is not
EOP ( eop ) ....I could easily keep track of my 2KB buffer pools.

But when sending ...i wll collect all  2KB buffers of same jumbo frame
and dma to tx_ring....
So i need  1500  on rx_ring[0]->rx_buffer_len and  9126 on
adapter->tx_ring[0]->rx_buffer_len. .Is there any way ?

Thanks,
Ratheesh

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

end of thread, other threads:[~2012-10-18  0:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17 14:41 igb mtu change ratheesh kannoth
2012-10-17 20:09 ` Alexander Duyck
2012-10-18  0:10   ` ratheesh kannoth

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