From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com
 [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id 355458DA9
 for <dev@dpdk.org>; Wed, 28 Oct 2015 17:43:55 +0100 (CET)
Received: by wijp11 with SMTP id p11so262691509wij.0
 for <dev@dpdk.org>; Wed, 28 Oct 2015 09:43:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind_com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:organization:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding
 :content-type; bh=0qfAIodmCs8jDBh/My3TcMmrR1y+lZpOI4KSsr/vk5Q=;
 b=e3F5quDCtpIbIVLEnggYF62TGpNhddneEdXOneW0Nn/+tze+c383a0+6IkEZRaDnjy
 Nd4KebKYWknjVfo1fS/SFSgW6/gRHbpownND+JZE3jW+Ta/X8nZKbGzXRV2FWrwZOQME
 0gTwSpUMPSnvffdvZvjcmkZ0jUPm2JwGyMdkcJ8vLEyw+1xVZrosIOVGxH0zZdgJnudV
 VXBa7DrtvWHFtVgV267UOta4/fjKGt0MXUmqgRG4Ffoe/r0y54NC0zk/NSM4lGbT4HPg
 IwTK5B+n4/4ANEUMMDBqeSM59eE4Zcf5lZ366FTWo8wrEJ2WHIUB3qJrRm78yMRzrvKr
 Zz4Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=0qfAIodmCs8jDBh/My3TcMmrR1y+lZpOI4KSsr/vk5Q=;
 b=k6iRsmr1HRM1etyeT/CKpJu8F/fYPLx6f4eNeLoMToCuoFQmKkjXXxQ0SD6hMhUs8x
 8/LR+PUsLwCpdsBy+MG7GyAdoHcOHTsQGwxHCK8iKRWyUUMcAXzKcT15ME7CIVlBM69Q
 pWmxKvsnsG1yO9QgaQUdblSnHXxnS08ohRRGAOuawDjchB1Y0LbB/HBFUXS91f1tsgGx
 FwW1V147xH3h2SWXQSMjFMBunve/kp1mmuvnRrey7oBqcQhXWgzdHJxsB8DM4bmqhy7D
 cpsvtc3heA1MVD+AcSH5CyLKUIrcUof31IEgFljC24haNTJtWvBoo9ONisPYDJu5LdNV
 3kQg==
X-Gm-Message-State: ALoCoQnmqpFpc7mlT6BYzeE54V6CDGrrcxoV19wwdS56GrM/FBVFy7Xx8LZ5ucBfHNuHUGKdQ11I
X-Received: by 10.194.9.33 with SMTP id w1mr34192840wja.103.1446050635065;
 Wed, 28 Oct 2015 09:43:55 -0700 (PDT)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by smtp.gmail.com with ESMTPSA id i10sm21730855wij.9.2015.10.28.09.43.54
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 28 Oct 2015 09:43:54 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Lu, Wenzhuo" <wenzhuo.lu@intel.com>
Date: Wed, 28 Oct 2015 17:42:44 +0100
Message-ID: <26790039.cxhen7R59x@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <F35DEAC7BCE34641BA9FAC6BCA4A12E70A91C5F9@SHSMSX104.ccr.corp.intel.com>
References: <1444445798-23929-1-git-send-email-wenzhuo.lu@intel.com>
 <1445579545-2430-1-git-send-email-wenzhuo.lu@intel.com>
 <F35DEAC7BCE34641BA9FAC6BCA4A12E70A91C5F9@SHSMSX104.ccr.corp.intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2015 16:43:55 -0000

> > This patch will drop flow control frames from being transmitted from VSIs.
> > With this patch in place a malicious VF cannot send flow control or PFC packets
> > out on the wire.
> > 
> > V2:
> > Reword the comments.
> > 
> > V3:
> > Move the check of set_ethertype_anti_spoofing to the top of the function, to
> > avoid occupying an ethertype_filter entity without using it.
> > 
> > V4:
> > Remove the useless braces and return.
> > 
> > Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
> Acked-by: Helin Zhang <helin.zhang@intel.com>

Applied, thanks