“Bill Caroselli (Q-TPS)” <QTPS@earthlink.net> wrote:
Sean, I think you missing his point. He is saying that he WANTS to do it.
Is it OK?
I guess what he is trying to say is:
If his module got a npkt chain, can his module break it?
Sean already point out this “WILL NOT HAPPEN” (I think io-net break
a npkt chain on the way up).
Even if io-net didn’t break npkt chain (on way up), from the design
point of view, I believe you SHOULD BE ALLOWED to break the chain,
and calling tx_done on each piece. (means the orignator should not
depend on his chain will not be broken …)
“Sean Boudreau” <> email@example.com> > wrote in message
news:aartbm$qa5$> firstname.lastname@example.org> …
vasilii <> email@example.com> > wrote:
: HI, all !
: my question was not
: “can i receive chain of packets or no”
: (more so – it was not “can i get fragmented packets”),
: my question was:
: “CAN I BREAK this chain of packets”?
: answer me on THIS question, please!
: I guess that driver of netcard (or any filter) could
: build a chain of packets when network is overloaded.
: can it be so?
I’ve already said this shouldn’t happen in the
first place so I think you’re worrying about
a non existant problem. You haven’t answered my
question as to if this is even happening.
: or may be it is uncorrected english in my email?
: if so, i am sorry – it is incurable case >
: Bernard Leclerc <> firstname.lastname@example.org> > ÐÉÛÅÔ ×
: ÓÏÏÂÝÅÎÉÉ:aaqalk$4q2$> email@example.com> …
:> Sreekanth wrote:
:> > Almost all the NIC drivers use a single buffer to receive the
:> > that the cards that do not support scatter gather still work.So… the
:> > of the story is you will NOT get a chain of npkts or even chain of
:> > or iovs for the packets from the NIC driver…
:> Well… that may be true in most cases but that’s not what we want to
:> do. In the case of our 1394 driver (we’re getting data from a IEEE-1394
:> OHCI adapter), we want to avoid copying the incoming data which can be
:> scattered on two segments. To achieve this, we build a single npkt with
:> potentially two iov’s and we do a tx_up on it. At the present time, I
:> must admit that packets do NOT seem to go up when they’re fragmented,
:> but, according to Sean Boudreau, this should work.
:> Conclusion: Plan for fragmented packets in your converter.