| To: | jamal <hadi@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PKT_SCHED]: Allow using nfmark as key in U32 classifier. |
| From: | Thomas Graf <tgraf@xxxxxxx> |
| Date: | Sat, 1 Jan 2005 19:32:30 +0100 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <1104526311.1047.379.camel@jzny.localdomain> |
| References: | <20041229150140.GJ32419@postel.suug.ch> <1104335620.1025.22.camel@jzny.localdomain> <20041230174313.GB32419@postel.suug.ch> <1104469111.1049.219.camel@jzny.localdomain> <20041231110836.GD32419@postel.suug.ch> <1104505142.1048.262.camel@jzny.localdomain> <20041231153930.GN32419@postel.suug.ch> <1104511494.1048.303.camel@jzny.localdomain> <20041231181153.GP32419@postel.suug.ch> <1104526311.1047.379.camel@jzny.localdomain> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
* jamal <1104526311.1047.379.camel@xxxxxxxxxxxxxxxx> 2004-12-31 15:51 > > T=1 generic selector header > > > > T=2 classifier specific selector header (u32 hashsing stuff goes here) > > T=3 ematch 1 > > T=N ematch N > > I thought we already agreed on the layout: > SEL2- which may nest E/MATCHEs TLVs. Sel2 not being very different from > original selector. May be i didnt follow. OK, I changed my mind while implementing it and a selector now looks like this: Selector TLV: +----------------------------+ | TCA_EMATCH_TREE_HDR | +----------------------------+ | TCA_EMATCH_TREE_LIST | | +------------------------+ | | | T=1 Match 1 | | | +------------------------+ | | | T=2 Match 2 | | | +------------------------+ | | | T=N Match N | | | +------------------------+ | +----------------------------+ So we can put more into the selector if needed without breaking compatibility. TCA_EMATCH_TREE_HDR currently contains `nmatches' specifying N and progid holding the PID you talked about. The match TLVs must have a continous numbering because I don't want to define limits as done in the action code. I'll post an RFC patch tomorrow implementing the API and a simple ematch. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: patch: tunnels not setting inputdev, Patrick McHardy |
|---|---|
| Next by Date: | ipsec null encryption slower than AES / was Re: 2.6 IPSec Throughput puzzle, bert hubert |
| Previous by Thread: | Re: [PKT_SCHED]: Allow using nfmark as key in U32 classifier., Thomas Graf |
| Next by Thread: | Re: [PKT_SCHED]: Allow using nfmark as key in U32 classifier., jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |