On 3/12/17, 10:33 AM, "[email protected] on behalf of 
Bhanuprakash Bodireddy" <[email protected] on behalf of 
[email protected]> wrote:

    The sorted subtable ranking patch introduced a classifier instance per
    ingress port with its subtables ranked on the frequency of hits. The pmd
    thread can have more classifier instances now and solely depends on the
    number of ingress ports currently handled by the pmd thread.
    
    Signed-off-by: Bhanuprakash Bodireddy <[email protected]>
    ---
     lib/dpif-netdev.c | 6 +++---
     1 file changed, 3 insertions(+), 3 deletions(-)
    
    diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
    index 006cea6..628690a 100644
    --- a/lib/dpif-netdev.c
    +++ b/lib/dpif-netdev.c
    @@ -507,9 +507,9 @@ struct tx_port {
      * I/O of all non-pmd threads.  There will be no actual thread created
      * for the instance.
      *
    - * Each struct has its own flow table and classifier.  Packets received
    - * from managed ports are looked up in the corresponding pmd thread's
    - * flow table, and are executed with the found actions.
    + * Each struct has its own flow table.  Packets received from managed
    + * ports are looked up in the corresponding pmd thread's flow table, and
    + * are executed with the found actions.
      * */


How about something like this ?

    + * Each struct has its own flow cache and classifier per managed inport.  
Packets
    + *received from managed ports are looked up in the corresponding pmd
    + * thread's flow cache and corresponding classifier, if the flow cache 
misses.
    + * Packets are executed with the found actions in either case.




     struct dp_netdev_pmd_thread {
         struct dp_netdev *dp;
    -- 
    2.4.11
    
    _______________________________________________
    dev mailing list
    [email protected]
    
https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=BzWvTpxh4aosMWU3tYyArvcIZSrYJOZDD5DbkkfruuM&s=kiwt5ivNb7cbSl6ewXwPqbc9KUO75L8zJO3HO0vyhnE&e=
 
    

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to