[ovs-git] [openvswitch/ovs] bd5131: ovs-numa: Change 'core_id' to unsigned.
GitHub
noreply at github.com
Fri May 22 18:28:36 UTC 2015
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: bd5131ba76156cac4f00d4ace3cdcb31d9135d11
https://github.com/openvswitch/ovs/commit/bd5131ba76156cac4f00d4ace3cdcb31d9135d11
Author: Daniele Di Proietto <diproiettod at vmware.com>
Date: 2015-05-22 (Fri, 22 May 2015)
Changed paths:
M lib/dpif-netdev.c
M lib/dpif.c
M lib/dpif.h
M lib/netdev-dpdk.c
M lib/netdev-dpdk.h
M lib/ovs-numa.c
M lib/ovs-numa.h
M ofproto/ofproto-dpif-upcall.c
Log Message:
-----------
ovs-numa: Change 'core_id' to unsigned.
DPDK lcore_id is unsigned. We need to support big values like
LCORE_ID_ANY (=UINT32_MAX). Therefore I am changing the type everywhere
in OVS.
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>
Commit: d5c199ea7ff7fa696be27d35a92276ce02deb54d
https://github.com/openvswitch/ovs/commit/d5c199ea7ff7fa696be27d35a92276ce02deb54d
Author: Daniele Di Proietto <diproiettod at vmware.com>
Date: 2015-05-22 (Fri, 22 May 2015)
Changed paths:
M INSTALL.DPDK.md
M lib/dpctl.c
M lib/dpif-netdev.c
M lib/netdev-dpdk.c
M lib/netdev-dpdk.h
M lib/ovs-thread.c
Log Message:
-----------
netdev-dpdk: Properly support non pmd threads.
We used to reserve DPDK lcore 0 for non pmd operations, making it
difficult to use core 0 for packet processing.
DPDK 2.0 properly support non EAL threads with lcore LCORE_ID_ANY.
Using non EAL threads for non pmd threads, we do not need to reserve
any core for non pmd operations
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>
Commit: 45d947c400ded435a1b90fbcb3897c6fa8dd686d
https://github.com/openvswitch/ovs/commit/45d947c400ded435a1b90fbcb3897c6fa8dd686d
Author: Daniele Di Proietto <diproiettod at vmware.com>
Date: 2015-05-22 (Fri, 22 May 2015)
Changed paths:
M lib/netdev-dpdk.c
Log Message:
-----------
netdev-dpdk: Use specific spinlock for stats.
Right now ethernet and ring devices use a mutex, while vhost devices use
a mutex or a spinlock to protect statistics. This commit introduces a
single spinlock that's always used for stats updates.
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>
Commit: a0cb2d66f57ac73a56602be3abb9f69cb8ff95c9
https://github.com/openvswitch/ovs/commit/a0cb2d66f57ac73a56602be3abb9f69cb8ff95c9
Author: Daniele Di Proietto <diproiettod at vmware.com>
Date: 2015-05-22 (Fri, 22 May 2015)
Changed paths:
M lib/netdev-dpdk.c
M lib/netdev-provider.h
M lib/netdev.c
M vswitchd/vswitch.xml
Log Message:
-----------
netdev-dpdk: Adapt the requested number of tx and rx queues.
This commit changes the semantics of 'netdev_set_multiq()' to allow OVS
DPDK to run on device with limited multi queue support.
* If a netdev doesn't have the requested number of rxqs it can simply
inform the datapath without failing.
* If a netdev doesn't have the requested number of txqs it should try
to create as many as possible and use locking.
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>
Compare: https://github.com/openvswitch/ovs/compare/b940b3d79367...a0cb2d66f57a
More information about the git
mailing list