[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] public/io/netif.h: make control ring hash protocol more general



> -----Original Message-----
[snip]
> >
> > > > Â *
> > > > - * NETIF_CTRL_TYPE_SET_TOEPLITZ_MAPPING_ORDER
> > > > - * ------------------------------------------
> > > > + * NETIF_CTRL_TYPE_SET_HASH_MAPPING_ORDER
> > >
> > > This one needs a similar "if the hash algorithm requires it" wording
> > > like the setting the key one had.
> > >
> >
> > Why? Is there any point of doing hashing at all if the backend is not
> > going to map it to a queue via a mapping table?
> 
> But will all hashing algorithms work via a table with a variable order?
> 

My view is that the algorithm used to generate the hash (which is after all 
just a number) and then mapping that hash to a queue via a table are pretty 
separate. Do you have an example in mind where these things are more 
intertwined? (Maybe my view is too simplistic).

  Paul

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.