No subject


Fri Jun 29 21:31:54 UTC 2012


"A facet associates a "struct flow", which represents the Open
vSwitch userspace idea of an exact-match flow, with one or more subfacets.
 Each subfacet tracks the datapath's idea of the exact-match flow
equivalent to the facet.  When the kernel module (or other dpif
implementation) and Open vSwitch userspace agree on the definition of a
flow key, there is exactly one subfacet per facet.  If the dpif
implementation supports more-specific flow matching than userspace,
however, a facet can have more than one subfacet, each of which corresponds
to some distinction in flow that userspace simply doesn't understand"

"Each subfacet tracks the datapath's idea of the exact-match flow
equivalent to the facet" ?? What does this means? The comments after this
are obviously based on this line which i dont really understand. Can
anybody explain what Facets are and what they imply ?

-- 
Regards,
-Ahmed Talha Khan

--f46d042f9590a73c0804cf878645
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br clear=3D"all"><div>Hey,</div><div><br></div><div>While going through th=
e code for OVS data path I could not really understand the need and functio=
nality of facets and sub-facets. The code comment on &quot;struct facet&quo=
t; explain it like this.</div>
<div><br></div><div>From file &quot;ofproto-dpif.c&quot;</div><div><br></di=
v><div>&quot;A facet associates a &quot;struct flow&quot;, which represents=
 the Open vSwitch=A0userspace idea of an exact-match flow, with one or more=
 subfacets. =A0Each=A0subfacet tracks the datapath&#39;s idea of the exact-=
match flow equivalent to=A0the facet. =A0When the kernel module (or other d=
pif implementation) and Open=A0vSwitch userspace agree on the definition of=
 a flow key, there is exactly=A0one subfacet per facet. =A0If the dpif impl=
ementation supports more-specific=A0flow matching than userspace, however, =
a facet can have more than one=A0subfacet, each of which corresponds to som=
e distinction in flow that=A0userspace simply doesn&#39;t understand&quot;=
=A0</div>
<div><br></div><div>&quot;Each subfacet tracks the datapath&#39;s idea of t=
he exact-match flow equivalent to the facet&quot; ?? What does this means? =
The comments after this are obviously based on this line which i dont reall=
y understand. Can anybody explain what Facets are and what they imply ?=A0<=
/div>
<div><br></div>-- <br>Regards,<div>-Ahmed Talha Khan</div><br>

--f46d042f9590a73c0804cf878645--


More information about the discuss mailing list