On Fri, Sep 14, 2012 at 8:33 AM, Alfredo Cardigliano
<[email protected]>wrote:

> Tritium
> I thought you were using rss rehash, the cluster has already the 5-tuple
> hashing mode that is ignoring the VLAN (please update from svn as it
> contains a fix for this).
> Instead to change the rss rehash you need to patch the
> default_rehash_rss_func function.
>


Alfredo,

Sorry if I'm misunderstanding something obvious but the changes you made do
not work for me.  The default call from libpcap-ring uses
"cluster_per_flow" which includes the vlan_id.

I tried modifying libpcap-ring ( line 1184 & 1336 ) to prefer a different
hashing mode but that has no effect.

1184:             pfring_set_cluster(handle->ring, atoi(clusterId),
cluster_per_flow_5_tuple);
1336:    pfring_set_cluster(handle->ring, cluster_id,
cluster_per_flow_5_tuple);

Calling hash_pkt_header(hdr, 0, 0, 0, 0, 1) does not seem to work as
expected ?

/tc
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to