[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101119.135213.15239226.davem@davemloft.net>
Date: Fri, 19 Nov 2010 13:52:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: rick.jones2@...com
Cc: therbert@...gle.com, netdev@...r.kernel.org
Subject: Re: Generalizing mmap'ed sockets
From: Rick Jones <rick.jones2@...com>
Date: Fri, 19 Nov 2010 13:32:57 -0800
> I suppose then one would be able to track the consumer pointer (on tx)
> to "know" that certain data had been ACKed by the remote? For TCP
> anyway - and assuming there wouldn't be a case where TCP might copy
> the data out of the ring and assert "completion."
Yes, that's implicit in his design, the kernel manages the consumer
pointer in the ring and this is how userspace can see when ring entries
are reusable.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists