From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by dpdk.org (Postfix) with ESMTP id 53A827EE3 for ; Fri, 27 Apr 2018 00:19:52 +0200 (CEST) Received: by mail-pg0-f66.google.com with SMTP id m21so13980433pgv.8 for ; Thu, 26 Apr 2018 15:19:52 -0700 (PDT) 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=HLx7HeKG7kOi64ZbBPw4s6eFLCiT8Z9JIt4VNkh5q3k=; b=03LGUlioWTIAlTmQX0GUg6ugWnpYfKlEd/zsmG9cgh21d4yoOLiyEyDRPMrPIXSPh7 cGDRXAw9xcqY3/hwiHsPQs8fr3KS9E2xuaDYYjbEJ//Jo2+k5GBFZ7PzUsIM57VfPfdN dRRag4bkP+3HUVP2ex8+hYq+lshTjaAb7fBv2AXXeVOeKMN4ehj0EmzvcWl3nQ//V4Qv TcjupFpZMtITZNBjZJoLZqgww0tS2FlbADD6G8YTW7KW4J4S2QMFGH6lKhMNQoSRGu0V 5Lv4rSpqiE1gg4AgShJtwODVtP3i2aMtayfpUaP5cqCdCwGUeb40rKLH93A4AWeY0Ye4 Nk8w== 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=HLx7HeKG7kOi64ZbBPw4s6eFLCiT8Z9JIt4VNkh5q3k=; b=oPmtjQ2Sg0aEMkE8hRHC7EXlPcln8VvLM75uSV0W2+BsVB1WXiEzZGbCFPGBanfm8t lKV+9vCYZIOTJHpoO4BuFQXpJfXSpdHDT5ohzZKFOY2mogvH+5wUA4W7Tp69IdYBK0Ji RRi5K8jh9Omo/jky8TP6NAfurcEtveffGR5J/jqWjE4YuO8mD1h9mRDJ1J9K90aU9qnk Iojbr/vhtmhCki6VZTUnMKaXGk1hUmxFpdf0SbIEjm2CyXdJiyDb+FBeZAJk7HTSmVWI yJ4uiP7Y1v+W5yG70XKUD8WB4vR0Ws2pl6mmLS6UvLFp1o4TFhado0oFl8TfLMzJUCJf x6Hw== X-Gm-Message-State: ALQs6tCq+Ju1HWS4UcsR2r5eiK0RCSaJypXkyzKmyoDxcgiSdQ/CLOIX RBSC7DSaSA2I7rk83x/TpASdSg== X-Google-Smtp-Source: AIpwx4/4W4Pppr1qvDEKL5XEPDrFmtkZhSRW0szDFRkYCKq3Fzl9j5jh4GpQ9xdISHobz1Du+laOow== X-Received: by 2002:a17:902:9006:: with SMTP id a6-v6mr34831544plp.375.1524781191454; Thu, 26 Apr 2018 15:19:51 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id a6sm32655048pfo.157.2018.04.26.15.19.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Apr 2018 15:19:51 -0700 (PDT) Date: Thu, 26 Apr 2018 15:19:49 -0700 From: Stephen Hemminger To: Medvedkin Vladimir Cc: dev@dpdk.org, bruce.richardson@intel.com, thomas@monjalon.net, cristian.dumitrescu@intel.com Message-ID: <20180426151949.54078be1@xeon-e3> In-Reply-To: <1524780214-23196-2-git-send-email-medvedkinv@gmail.com> References: <1524780214-23196-1-git-send-email-medvedkinv@gmail.com> <1524780214-23196-2-git-send-email-medvedkinv@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 1/4] Add RIB library 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: Thu, 26 Apr 2018 22:19:52 -0000 On Fri, 27 Apr 2018 01:03:31 +0300 Medvedkin Vladimir wrote: > rib = (struct rte_rib *)rte_zmalloc_socket(mem_name, > + sizeof(struct rte_rib), RTE_CACHE_LINE_SIZE, socket_id); Cast of void * pointer is not required in C.