From: Ferruh Yigit Subject: Re: [PATCH] net/enic: fix multi-process operation Date: Fri, 22 Sep 2017 17:50:34 +0100 Message-ID: <6bfccc1f-d2ce-64e1-54c7-7a630a4f8cf0@intel.com> References: <20170911185833.11458-1-johndale@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, stable@dpdk.org To: John Daley Return-path: In-Reply-To: <20170911185833.11458-1-johndale@cisco.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/11/2017 7:58 PM, John Daley wrote: > - Use rte_malloc() instead of malloc() for the per device 'vdev' structure > so that it can be shared across processes. > - Only initialize the device if the process type is RTE_PROC_PRIMARY > - Only allow the primary process to do queue setup, start/stop, promisc > allmulticast, mac add/del, mtu. > > Fixes: fefed3d1e62c ("enic: new driver") > Cc: stable@dpdk.org > > Signed-off-by: John Daley Applied to dpdk-next-net/master, thanks.