Thread (5 messages) 5 messages, 3 authors, 2008-10-31

Re: Interface proposal for rx classification using ethtool

From: David Miller <davem@davemloft.net>
Date: 2008-10-15 23:19:39

From: Santwona.Behera@Sun.COM
Date: Mon, 29 Sep 2008 10:28:07 -0700
Here is the proposed design for implementing an interface to add, delete and
manage rules for RX packet classification on ethertool with niu as the first
target hardware. This is the second installment of network flow classification
support (the first one was for rx flow distribution based on hashing that was
added in June). Please review and send your feedback.
This looks mostly fine to me, thanks for working on this.

I do have one question though.

At least to some extent the user will have to have a way to
figure out that multiple interfaces correspond to one instance
of the TCAM.  Because this determines sharing and other
aspects, right?

How it seems to work in your description is that the user operates on
(for example) eth0 and eth1 as if they were independant objects, but
if the TCAM fills up that will be seen equally by operations on both
interfaces.

But, to be honest this is a minor detail.

They may also be value in allowing TCAM entries to be locked by the
kernel and thus be unmodifyable by the user.

For example, in NIU, those special workaround entries we add to handle
IP fragments would be a candidate for this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help