From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0057.outbound.protection.outlook.com [104.47.36.57]) by dpdk.org (Postfix) with ESMTP id 179121B311 for ; Wed, 14 Feb 2018 11:19:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harmonicinc.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=K7/ov4b0qliWLCLzxSc4I0KQiC7U9yk9UQJ7AnzShpA=; b=TT29WiwvwIeX1RwByRJHACFBcwf5rVB6Bf43pfqTNjxwVlz9ZMffh8awTeSLh/F1u2dYKvY/mx4r5RsWxX0HKFyzZKqpBXaVu4fa8Gt5U6guArTQV8JyVC6boiqsxN5kqAUWs8rreOJTv2E3/g97MhTSdR2h0wuYWO+ruy0k2V8= Received: from BN6PR1101MB2146.namprd11.prod.outlook.com (10.174.112.139) by BN6PR1101MB2145.namprd11.prod.outlook.com (10.174.112.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.10; Wed, 14 Feb 2018 10:19:27 +0000 Received: from BN6PR1101MB2146.namprd11.prod.outlook.com ([10.174.112.139]) by BN6PR1101MB2146.namprd11.prod.outlook.com ([10.174.112.139]) with mapi id 15.20.0485.017; Wed, 14 Feb 2018 10:19:27 +0000 From: Anton Grichina To: "dev@dpdk.org" , "qi.z.zhang@intel.com" CC: "muthurajan.jayakumar@intel.com" , "beilei.xing@intel.com" , "jingjing.wu@intel.com" , "helin.zhang@intel.com" Thread-Topic: [dpdk-dev] XL710: [Q] traffic steering under DPDK. Thread-Index: AdOleQlRlPtzzQU3QB2G/84zH6ytzQ== Date: Wed, 14 Feb 2018 10:19:26 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anton.Grichina@harmonicinc.com; x-originating-ip: [95.67.66.62] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN6PR1101MB2145; 7:z28ME3W6PN3VvTnBwMIjx/Mq9Cx9B2xPFxbOTqYy1ShJtlaYgY0Xcg1oOzDoB8F/MdXKMf5dN3FXwiDhAz9WdJvu4YRl22UKGI8vowxz/phz2SfNDvfvJnYBeHfidDinlPUnJqLFjU5jilwXZZuh3V1x/upWV6etedsg965hLhI3p9FBv+Q/oN7i9vajbXXF2i5ehIvFq4zDMzeMYYPNRola5Q6/4I+BWBaFOZM0IPkHeNPf6DspBGxAg8mOdtVS; 20:CZy/DBBUzhbyyJcc8GuULUCESBwW/VEqJJ2J9Y191fZK1UNzRGgI5UejaJC0Vr/CdTSXS7wJkPFgYfYV5c/Sb9WEcL2aOmzhzsH55Hl7xoxqobDcMa89ZYZW0VikGFeEeluLn4mJA2H5dtdUWI2wXuMoEixSHMjIxLm+9K/9ZSU= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f48b026c-7bab-4f80-25fd-08d573946d6d x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:BN6PR1101MB2145; x-ms-traffictypediagnostic: BN6PR1101MB2145: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231101)(2400082)(944501161)(93006095)(93001095)(6055026)(6041288)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:BN6PR1101MB2145; BCL:0; PCL:0; RULEID:; SRVR:BN6PR1101MB2145; x-forefront-prvs: 0583A86C08 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(366004)(39380400002)(376002)(396003)(346002)(199004)(189003)(72206003)(55016002)(102836004)(7696005)(53936002)(54896002)(478600001)(77096007)(26005)(9686003)(2900100001)(6306002)(6506007)(5660300001)(7736002)(81166006)(81156014)(74316002)(3280700002)(3660700001)(25786009)(4326008)(1857600001)(97736004)(9326002)(186003)(105586002)(8676002)(8936002)(110136005)(66066001)(2906002)(2501003)(68736007)(86362001)(54906003)(790700001)(99286004)(3846002)(6116002)(106356001)(14454004)(316002)(33656002)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1101MB2145; H:BN6PR1101MB2146.namprd11.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: harmonicinc.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: P59Vav12o8jQKsma2sthzXgNR40IKk3UjbL0T8kmFqE/dZC+PAFPhpMEkK1VaM2kb91ifTlZzv+FP8K4le/5lw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: harmonicinc.com X-MS-Exchange-CrossTenant-Network-Message-Id: f48b026c-7bab-4f80-25fd-08d573946d6d X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2018 10:19:26.9454 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 19294cf8-3352-4dde-be9e-7f47b9b6b73d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2145 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] XL710: [Q] traffic steering under DPDK. 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: Wed, 14 Feb 2018 10:19:30 -0000 Hello, I am working with Arkady on VLAN steering. I have few questions regarding i= t on top of what was asked before. 7.4.8.4 "VEB/VEPA Switching Algorithm" states that filtering happens by MAC= +VLAN. It is impossible to perform filtering by VLAN only, as I understand = it is HW limitation. XL710 has something called "7.4.8.2 S-comp Forwarding Algorithm" which look= s like exactly what we want. It does forwarding of packets to specific VSI = based on S-tag. S-tag is a part of "7.4.9.5.5.1 Add VSI (0x0210)" command. I guess we can c= onfigure several VSIs for expected S-tags. Do you know anything about this algorithm? As I understood "port virtualizer" (7.4.2.4.3 "Cascaded VEB and port virtua= lizers") supposed to be configured to use this switching algorithm. In i40e driver (kernel or DPDK) I do not see anything related to configurat= ion of "port virtualizers", except "i40e_aq_add_pvirt" function which is no= t used anywhere. Is it possible to configure "port virtualizer" with existing i40e driver? Another question is about "i40e_aq_set_vsi_uc_promisc_on_vlan" function in = i40e driver (7.4.9.5.9.5 "Set VSI Promiscuous Modes"). It enables promiscuo= us mode for unicast packets with specific VLAN, so all packets with that VL= AN will be replicated to configured VSI. In XL710 datasheet I`ve found that= it works only in "Cloud VEB algorithm" (7.4.8.6). Can we somehow enable th= is algorithm with existing i40e drivers? Thanks