From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E0B2091CB for ; Fri, 23 Oct 2015 08:02:14 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 22 Oct 2015 23:02:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,185,1444719600"; d="scan'208";a="817607424" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 22 Oct 2015 23:02:12 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 22 Oct 2015 23:02:12 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 22 Oct 2015 23:02:12 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.194]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.204]) with mapi id 14.03.0248.002; Fri, 23 Oct 2015 14:02:10 +0800 From: "Zhang, Helin" To: "Lu, Wenzhuo" Thread-Topic: [PATCH v4] ixgbe: Drop flow control frames from VFs Thread-Index: AQHRDVcS/kupSS3jo0S0zROQuGKlkp54ld7A Date: Fri, 23 Oct 2015 06:02:10 +0000 Message-ID: References: <1444445798-23929-1-git-send-email-wenzhuo.lu@intel.com> <1445579545-2430-1-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1445579545-2430-1-git-send-email-wenzhuo.lu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2015 06:02:15 -0000 > -----Original Message----- > From: Lu, Wenzhuo > Sent: Friday, October 23, 2015 1:52 PM > To: dev@dpdk.org > Cc: Zhang, Helin; Lu, Wenzhuo > Subject: [PATCH v4] ixgbe: Drop flow control frames from VFs >=20 > 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 p= ackets > out on the wire. >=20 > V2: > Reword the comments. >=20 > 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. >=20 > V4: > Remove the useless braces and return. >=20 > Signed-off-by: Wenzhuo Lu Acked-by: Helin Zhang