> -----Original Message----- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > What exactly is the spinlock protecting? The control operations in DPDK are > defined to be not thread safe. I.e it is responsibility of caller to > synchronize. > Therefore is lock really needed? The implementation assumes that interrupts (for VM live-migration) may be serviced on a thread other than the thread used to do normal device operations (i.e., configure, start, stop, etc...). We use the spinlock to protect the device flags and the request/response queue against concurrent access from the management thread and the interrupt thread.
- [dpdk-dev] [PATCH v2 02/15] net/avp: public header files Allain Legacy
- Re: [dpdk-dev] [PATCH v2 02/15] net/avp: public hea... Jerin Jacob
- Re: [dpdk-dev] [PATCH v2 02/15] net/avp: public... Legacy, Allain
- [dpdk-dev] [PATCH v2 04/15] net/avp: add PMD version map... Allain Legacy
- [dpdk-dev] [PATCH v2 05/15] net/avp: debug log macros Allain Legacy
- [dpdk-dev] [PATCH v2 06/15] drivers/net: adds driver mak... Allain Legacy
- [dpdk-dev] [PATCH v2 07/15] net/avp: driver registration Allain Legacy
- Re: [dpdk-dev] [PATCH v2 07/15] net/avp: driver reg... Stephen Hemminger
- Re: [dpdk-dev] [PATCH v2 07/15] net/avp: driver... Legacy, Allain
- Re: [dpdk-dev] [PATCH v2 07/15] net/avp: driver reg... Stephen Hemminger
- Re: [dpdk-dev] [PATCH v2 07/15] net/avp: driver... Legacy, Allain
- [dpdk-dev] [PATCH v2 08/15] net/avp: device initializati... Allain Legacy
- Re: [dpdk-dev] [PATCH v2 08/15] net/avp: device ini... Jerin Jacob
- Re: [dpdk-dev] [PATCH v2 08/15] net/avp: device... Legacy, Allain
- [dpdk-dev] [PATCH v2 09/15] net/avp: device configuratio... Allain Legacy
- [dpdk-dev] [PATCH v2 10/15] net/avp: queue setup and rel... Allain Legacy
- [dpdk-dev] [PATCH v2 11/15] net/avp: packet receive func... Allain Legacy
- Re: [dpdk-dev] [PATCH v2 11/15] net/avp: packet rec... Stephen Hemminger
- Re: [dpdk-dev] [PATCH v2 11/15] net/avp: packet... Legacy, Allain
- Re: [dpdk-dev] [PATCH v2 11/15] net/avp: pa... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2 11/15] net/avp... Legacy, Allain