From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] net/failsafe: add Rx interrupts Date: Mon, 11 Dec 2017 17:34:03 -0800 Message-ID: <20171211173403.58ec6d86@xeon-e3> References: <1512996107-9331-1-git-send-email-motih@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gaetan.rivet@6wind.com, dev@dpdk.org To: Moti Haimovsky Return-path: Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by dpdk.org (Postfix) with ESMTP id 0F9E7293B for ; Tue, 12 Dec 2017 02:34:06 +0100 (CET) Received: by mail-pf0-f172.google.com with SMTP id y89so12972225pfk.0 for ; Mon, 11 Dec 2017 17:34:05 -0800 (PST) In-Reply-To: <1512996107-9331-1-git-send-email-motih@mellanox.com> 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 Mon, 11 Dec 2017 14:41:47 +0200 Moti Haimovsky wrote: > + for (i = 0; i < n; i++) { > + rxq = (struct rxq *)events[i].epdata.data; Minor nit. events[i].epdata.data is "void *" therefore cast is unnecessary.