Re: [ovs-discuss] a struct to keep flow scores

2017-05-11 Thread Ben Pfaff
; From: Ben Pfaff [mailto:b...@ovn.org] > > Sent: Thursday, 11 May, 2017 4:42 PM > > To: Avi Cohen (A) > > Cc: ovs-discuss@openvswitch.org > > Subject: Re: [ovs-discuss] a struct to keep flow scores > > > > OVS already has mechanisms for this kind of thing. For

Re: [ovs-discuss] a struct to keep flow scores

2017-05-11 Thread Avi Cohen (A)
y, 11 May, 2017 4:42 PM > To: Avi Cohen (A) > Cc: ovs-discuss@openvswitch.org > Subject: Re: [ovs-discuss] a struct to keep flow scores > > OVS already has mechanisms for this kind of thing. For datapath flows, OVS > already evicts flows based on these criteria. For OpenFlow fl

Re: [ovs-discuss] a struct to keep flow scores

2017-05-11 Thread Ben Pfaff
ursday, 11 May, 2017 6:49 AM > > To: Avi Cohen (A) > > Cc: ovs-discuss@openvswitch.org > > Subject: Re: [ovs-discuss] a struct to keep flow scores > > > > On Wed, May 10, 2017 at 07:12:27AM +, Avi Cohen (A) wrote: > > > I need to keep some score informa

Re: [ovs-discuss] a struct to keep flow scores

2017-05-10 Thread Avi Cohen (A)
s avi > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Thursday, 11 May, 2017 6:49 AM > To: Avi Cohen (A) > Cc: ovs-discuss@openvswitch.org > Subject: Re: [ovs-discuss] a struct to keep flow scores > > On Wed, May 10, 2017 at 07:12:27AM +, Avi Cohen (A) w

Re: [ovs-discuss] a struct to keep flow scores

2017-05-10 Thread Ben Pfaff
On Wed, May 10, 2017 at 07:12:27AM +, Avi Cohen (A) wrote: > I need to keep some score information per flow - which exist in the open-flow > tables at user space , not necessarily in the data-path cache. > These scores are learned during flow dumping phase - but should be saved also > when fl

[ovs-discuss] a struct to keep flow scores

2017-05-10 Thread Avi Cohen (A)
Hello, I need to keep some score information per flow - which exist in the open-flow tables at user space , not necessarily in the data-path cache. These scores are learned during flow dumping phase - but should be saved also when flow is evicted from data-path. The udpif_key struct is not suitab