From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016ce01.pphosted.com (mx0b-0016ce01.pphosted.com [67.231.156.153]) by dpdk.org (Postfix) with ESMTP id B486393A6 for ; Mon, 7 Dec 2015 00:34:14 +0100 (CET) Received: from pps.filterd (m0085408.ppops.net [127.0.0.1]) by mx0b-0016ce01.pphosted.com (8.15.0.59/8.15.0.59) with SMTP id tB6NXkTL002802; Sun, 6 Dec 2015 15:34:14 -0800 Received: from avcashub1.qlogic.com (avcashub1.qlogic.com [198.70.193.115]) by mx0b-0016ce01.pphosted.com with ESMTP id 1ykysthvy9-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 06 Dec 2015 15:34:13 -0800 Received: from AVMB1.qlogic.org ([fe80::b816:e739:5ab3:5221]) by avcashub1.qlogic.org ([::1]) with mapi id 14.03.0235.001; Sun, 6 Dec 2015 15:34:12 -0800 From: Harish Patil To: Chas Williams <3chas3@gmail.com>, "dev@dpdk.org" Thread-Topic: [PATCH] bnx2x: set Ethernet address type during transmit for VF's Thread-Index: AQHRIkPsjlh9xUeGz0yKeHLerN1NZp6+uK2A Date: Sun, 6 Dec 2015 23:34:11 +0000 Message-ID: References: <1447880321-16187-1-git-send-email-3chas3@gmail.com> In-Reply-To: <1447880321-16187-1-git-send-email-3chas3@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [10.1.4.10] Content-Type: text/plain; charset="utf-8" Content-ID: <84F482886DBC06429B942A93A2D9E05B@qlogic.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5700 definitions=8007 signatures=670664 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1507310000 definitions=main-1512060445 Subject: Re: [dpdk-dev] [PATCH] bnx2x: set Ethernet address type during transmit for VF's 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: Sun, 06 Dec 2015 23:34:15 -0000 Pg0KPlRoZSBvcmlnaW5hbCB3YXMgYWx3YXlzIHNldHRpbmcgdW5pY2FzdC4gIFdoaWxlIGhlcmUs IGNsZWFuIHVwIHNvbWUNCj5vdGhlciByZWZlcmVuY2VzIHRoYXQgYWxzbyBwb2ludCBpbnRvIHRo ZSBFdGhlcm5ldCBoZWFkZXIuDQo+DQo+U2lnbmVkLW9mZi1ieTogQ2hhcyBXaWxsaWFtcyA8M2No YXMzQGdtYWlsLmNvbT4NCj4tLS0NCj4gZHJpdmVycy9uZXQvYm54MngvYm54MnguYyAgICAgfCAy MyArKysrKysrKysrKysrKystLS0tLS0tLQ0KPiBkcml2ZXJzL25ldC9ibngyeC9lY29yZV9oc2ku aCB8ICA1ICsrKy0tDQo+IDIgZmlsZXMgY2hhbmdlZCwgMTggaW5zZXJ0aW9ucygrKSwgMTAgZGVs ZXRpb25zKC0pDQo+DQo+ZGlmZiAtLWdpdCBhL2RyaXZlcnMvbmV0L2JueDJ4L2JueDJ4LmMgYi9k cml2ZXJzL25ldC9ibngyeC9ibngyeC5jDQo+aW5kZXggNzY0NDRlYi4uMjk0NzExZiAxMDA2NDQN Cj4tLS0gYS9kcml2ZXJzL25ldC9ibngyeC9ibngyeC5jDQo+KysrIGIvZHJpdmVycy9uZXQvYm54 MngvYm54MnguYw0KPkBAIC0yMTc3LDI1ICsyMTc3LDMyIEBAIGludCBibngyeF90eF9lbmNhcChz dHJ1Y3QgYm54MnhfdHhfcXVldWUgKnR4cSwNCj5zdHJ1Y3QgcnRlX21idWYgKiptX2hlYWQsIGlu dCBtX3ANCj4gICAgICAgICAgICAgICBiZF9wcm9kID0gTkVYVF9UWF9CRChiZF9wcm9kKTsNCj4g ICAgICAgICAgICAgICBpZiAoSVNfVkYoc2MpKSB7DQo+ICAgICAgICAgICAgICAgICAgICAgICBz dHJ1Y3QgZXRoX3R4X3BhcnNlX2JkX2UyICp0eF9wYXJzZV9iZDsNCj4tICAgICAgICAgICAgICAg ICAgICAgIHVpbnQ4X3QgKmRhdGEgPSBydGVfcGt0bWJ1Zl9tdG9kKG0wLCB1aW50OF90ICopOw0K PisgICAgICAgICAgICAgICAgICAgICAgY29uc3Qgc3RydWN0IGV0aGVyX2hkciAqZWggPSBydGVf cGt0bWJ1Zl9tdG9kKG0wLCBzdHJ1Y3QgZXRoZXJfaGRyICopOw0KPisgICAgICAgICAgICAgICAg ICAgICAgdWludDhfdCBtYWNfdHlwZSA9IFVOSUNBU1RfQUREUkVTUzsNCj4NCj4gICAgICAgICAg ICAgICAgICAgICAgIHR4X3BhcnNlX2JkID0NCj4gICAgICAgICAgICAgICAgICAgICAgICAgICAm dHhxLT50eF9yaW5nW1RYX0JEKGJkX3Byb2QsIHR4cSldLnBhcnNlX2JkX2UyOw0KPisgICAgICAg ICAgICAgICAgICAgICAgaWYgKGlzX211bHRpY2FzdF9ldGhlcl9hZGRyKCZlaC0+ZF9hZGRyKSkg ew0KDQpNaW5vciBjb21tZW50LiB1bmxpa2VseSgpIG1heSBiZSB1c2VkIGhlcmUgdG8ga2VlcCBp dCBjb25zaXN0ZW50IHdpdGggYmFzZQ0KZHJpdmVyLg0KDQo+KyAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIGlmIChpc19icm9hZGNhc3RfZXRoZXJfYWRkcigmZWgtPmRfYWRkcikpDQo+KyAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFjX3R5cGUgPSBCUk9BRENBU1Rf QUREUkVTUzsNCj4rICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZQ0KPisgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1hY190eXBlID0gTVVMVElDQVNUX0FERFJF U1M7DQo+KyAgICAgICAgICAgICAgICAgICAgICB9DQo+ICAgICAgICAgICAgICAgICAgICAgICB0 eF9wYXJzZV9iZC0+cGFyc2luZ19kYXRhID0NCj4tICAgICAgICAgICAgICAgICAgICAgICAgICAo MSA8PCBFVEhfVFhfUEFSU0VfQkRfRTJfRVRIX0FERFJfVFlQRV9TSElGVCk7DQo+KyAgICAgICAg ICAgICAgICAgICAgICAgICAgKG1hY190eXBlIDw8IEVUSF9UWF9QQVJTRV9CRF9FMl9FVEhfQURE Ul9UWVBFX1NISUZUKTsNCj4NCj4gICAgICAgICAgICAgICAgICAgICAgIHJ0ZV9tZW1jcHkoJnR4 X3BhcnNlX2JkLT5kYXRhLm1hY19hZGRyLmRzdF9oaSwNCj4tICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgJmRhdGFbMF0sIDIpOw0KPisgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAmZWgtPmRfYWRkci5hZGRyX2J5dGVzWzBdLCAyKTsNCj4gICAgICAgICAgICAgICAgICAg ICAgIHJ0ZV9tZW1jcHkoJnR4X3BhcnNlX2JkLT5kYXRhLm1hY19hZGRyLmRzdF9taWQsDQo+LSAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICZkYXRhWzJdLCAyKTsNCj4rICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgJmVoLT5kX2FkZHIuYWRkcl9ieXRlc1syXSwgMik7DQo+ ICAgICAgICAgICAgICAgICAgICAgICBydGVfbWVtY3B5KCZ0eF9wYXJzZV9iZC0+ZGF0YS5tYWNf YWRkci5kc3RfbG8sDQo+LSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICZkYXRhWzRd LCAyKTsNCj4rICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJmVoLT5kX2FkZHIuYWRk cl9ieXRlc1s0XSwgMik7DQo+ICAgICAgICAgICAgICAgICAgICAgICBydGVfbWVtY3B5KCZ0eF9w YXJzZV9iZC0+ZGF0YS5tYWNfYWRkci5zcmNfaGksDQo+LSAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICZkYXRhWzZdLCAyKTsNCj4rICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgJmVoLT5zX2FkZHIuYWRkcl9ieXRlc1swXSwgMik7DQo+ICAgICAgICAgICAgICAgICAgICAg ICBydGVfbWVtY3B5KCZ0eF9wYXJzZV9iZC0+ZGF0YS5tYWNfYWRkci5zcmNfbWlkLA0KPi0gICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAmZGF0YVs4XSwgMik7DQo+KyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICZlaC0+c19hZGRyLmFkZHJfYnl0ZXNbMl0sIDIpOw0KPiAg ICAgICAgICAgICAgICAgICAgICAgcnRlX21lbWNweSgmdHhfcGFyc2VfYmQtPmRhdGEubWFjX2Fk ZHIuc3JjX2xvLA0KPi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAmZGF0YVsxMF0s IDIpOw0KPisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAmZWgtPnNfYWRkci5hZGRy X2J5dGVzWzRdLCAyKTsNCj4NCj4gICAgICAgICAgICAgICAgICAgICAgIHR4X3BhcnNlX2JkLT5k YXRhLm1hY19hZGRyLmRzdF9oaSA9DQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgcnRlX2Nw dV90b19iZV8xNih0eF9wYXJzZV9iZC0+ZGF0YS5tYWNfYWRkci5kc3RfaGkpOw0KPmRpZmYgLS1n aXQgYS9kcml2ZXJzL25ldC9ibngyeC9lY29yZV9oc2kuaCBiL2RyaXZlcnMvbmV0L2JueDJ4L2Vj b3JlX2hzaS5oDQo+aW5kZXggYTRlZDliNS4uNmMxMWM1YSAxMDA2NDQNCj4tLS0gYS9kcml2ZXJz L25ldC9ibngyeC9lY29yZV9oc2kuaA0KPisrKyBiL2RyaXZlcnM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