From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9ZtRlSqa7InMWNidWTpUPX2VjNZt4Fvg+CUG1zvAE9U=; b=pzIKCdI27/iRJC3JCfQOWujxAwVz3SsiTG7Znti6oGOBqSA7eJfi/oQWU/4AT4nlO8 o2siVymICi4A8v2l8al51cyPBAy6kLZ9XeZWGQqA/FHa0OluHLLS6uXyWqORLG7/Lwuo A/mKTVyLQ0To5Am2iiWRqVVnhzJjq21IE9Tl+SF2irlnPwKlVQtcrQf5jTCdrgNJom07 4CzE9x6WNrvYh/XnWRV2VGYBB6im5xhvGTb+EFv9aLvbKTjUtbpN3Wjx+onM+SdYuvPf wZSK6SIao+D6XldjORqdxTRJeCqvHNpYf0xmCTbuwo4al7o7gqIXla9OnOjXiaVxwdUt HubA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9ZtRlSqa7InMWNidWTpUPX2VjNZt4Fvg+CUG1zvAE9U=; b=h/BEj6Vh/qjeFZOTKrSGHsZMym3ai5YlJiE2iI0KbXcdXktwyGw8ZffXKmovdRLkBv TJ314IQgaXT2i2oAkSrMDOsOfIjNFMi/MvK2xNAU3T0grUXkJBYEsPMGZVN2t193f0bM w22tIekk8fiBMEmdlIqNF6m9Iqt/TH/Z0qHZt26jCIOObxATTDqP3MnVjT1A9rEtcsDd +iTIxagxzrxp8Ov0FqTaD3A+oNtrYkPTGnHhTkiHWUyMUsswgmwFBFkxCsMq90PaBRB0 Y2NWu0FrOPMJwMcDZc5J8FDVXQulQ+JQvTdeuk/z3wxyavNt1tElarBDlrkR6LF7t8ET EgIw== X-Gm-Message-State: AKGB3mL4syK1E5UoickVwxp3eIuEI4pvXT4+bT+Fp+5RxnubCSMPDa2f qVIo8KXIB74Zc7q9wq7nA2SgUg== X-Google-Smtp-Source: ACJfBosWsZvHiVLg8f9niVl0OzY8mf8EI4m0FvdVJa8lWHdZncg9A8+V+ItF/eDeRtTxD1qAai5g3w== X-Received: by 10.84.240.203 with SMTP id l11mr517227plt.211.1513042445213; Mon, 11 Dec 2017 17:34:05 -0800 (PST) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id a81sm29351465pfj.143.2017.12.11.17.34.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Dec 2017 17:34:05 -0800 (PST) Date: Mon, 11 Dec 2017 17:34:03 -0800 From: Stephen Hemminger To: Moti Haimovsky Cc: gaetan.rivet@6wind.com, dev@dpdk.org Message-ID: <20171211173403.58ec6d86@xeon-e3> In-Reply-To: <1512996107-9331-1-git-send-email-motih@mellanox.com> 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 Subject: Re: [dpdk-dev] [PATCH] net/failsafe: add Rx interrupts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2017 01:34:06 -0000 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.