From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yuan, Linyu (NSB - CN/Shanghai)" Subject: question about __netif_receive_skb_core() work on macvlan device Date: Fri, 5 Jan 2018 07:19:53 +0000 Message-ID: <551fde152db748d49f6741b116557bf3@nokia-sbell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT To: "netdev@vger.kernel.org" Return-path: Received: from cnshjsmin04.nokia-sbell.com ([211.144.215.48]:52555 "EHLO cnshjsmin04.alcatel-sbell.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751235AbeAEHfJ (ORCPT ); Fri, 5 Jan 2018 02:35:09 -0500 Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: Hi, I have a question about __netif_receive_skb_core(), 1. create a macvlan device on a real ethernet device and configure a mac address to this macvlan device 2. create a AF_PACKET socket and bind to the real ethernet device in step 1 3. user application will receive packet which destination mac address equal to step1 through socket created by step2 Is it correct for a macvlan device configured as step1? thanks