From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0078.outbound.protection.outlook.com [104.47.42.78]) by dpdk.org (Postfix) with ESMTP id 93A5A2951 for ; Mon, 23 Apr 2018 19:10:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UiTnzcLrgesdhXKF/Nq3Vu8kzxH+8017uoxVj1L6MdU=; b=j+QpuZg8zy3lWgusa9B7YF2fs4HHrVql1GcsMBbtye6Ds3BASLJciW9f88BkUBh9wicfLHLe2qvsldWFWMYMQfFo/eTg/IOoapQx/MLWWpKN1gy9x+qGsOrs6K3PjbRIrcVXT1pP8D6NM3IBEffLTb9e4IlXpXNACM0tBQpQ/aU= Received: from DM5PR0701MB3797.namprd07.prod.outlook.com (10.167.110.19) by DM5PR0701MB3640.namprd07.prod.outlook.com (10.167.109.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Mon, 23 Apr 2018 17:10:25 +0000 Received: from DM5PR0701MB3797.namprd07.prod.outlook.com ([fe80::6870:fd91:6dd4:a6eb]) by DM5PR0701MB3797.namprd07.prod.outlook.com ([fe80::6870:fd91:6dd4:a6eb%13]) with mapi id 15.20.0696.017; Mon, 23 Apr 2018 17:10:24 +0000 From: "Patil, Harish" To: zhouyangchao , Ferruh Yigit CC: "dev@dpdk.org" , "Mody, Rasesh" Thread-Topic: [dpdk-dev] [PATCH] net/bnx2x: reserve enough headroom for mbuf prepend Thread-Index: AQHTtJap6DHcDA2EgUK+OOJNUHnmDqPF22mAgEiR6AA= Date: Mon, 23 Apr 2018 17:10:24 +0000 Message-ID: References: <6fd6d52e-a756-45ad-9666-60fa7ca676cd@zyc-PC.local> <4a1a34a8-87a9-5776-dfeb-1be4fe59eb12@intel.com> In-Reply-To: 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=Harish.Patil@cavium.com; x-originating-ip: [173.186.134.106] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR0701MB3640; 7:a6KKY8pF/NafQ+Tsj/QE9ygmQcpMW6AhkVpY9hQr5zxHKMW/Q/Pbwlz41Hrc8j8MUl6z/MhcNd1MbLaR60uN3wayhKmffiwyJlBKwByeLhw/DWcHexNTsgRUgnPgA2jcy8mYMw6EpmFMK6aQRnkaasktccrxJ+769kRn86SZsf5uV3aWT/UD314aRhyWu9zekwNrb2hwRjH9lRNsiMTsCEia5k9g6KbYJxB4Y2DgA4mgSY2MW6mR7Id1tH1gRj8A x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(39850400004)(39380400002)(396003)(366004)(346002)(376002)(229853002)(6116002)(446003)(76176011)(107886003)(39060400002)(316002)(6246003)(4326008)(6436002)(11346002)(236005)(6512007)(99286004)(54896002)(110136005)(36756003)(2616005)(53936002)(72206003)(5660300001)(2906002)(14454004)(26005)(53546011)(102836004)(6506007)(54906003)(3846002)(3280700002)(3660700001)(186003)(575784001)(486006)(86362001)(66066001)(6486002)(8936002)(81166006)(25786009)(8676002)(5250100002)(2900100001)(7736002)(478600001)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR0701MB3640; H:DM5PR0701MB3797.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:ovrnspm; PTR:InfoNoRecords; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DM5PR0701MB3640; x-ms-traffictypediagnostic: DM5PR0701MB3640: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(85827821059158)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231232)(944501410)(52105095)(6041310)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM5PR0701MB3640; BCL:0; PCL:0; RULEID:; SRVR:DM5PR0701MB3640; x-forefront-prvs: 06515DA04B received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: VAr+4hB9Jm/9ZYgk6sU6YxzmmMl6/G34E9JzLsUNK2fWh0wpLWwBuFBrOdrd2TxRhPqsC6ofwT1jpxC+pB2iPCXxxlCuv/kSvcxaPRtjz+pUHYP7CI3HnChNafIfROTWORXtCuhMV4jpxd63WBJc8vTY9+vAnRAI48gtGLN/sTWQMQbW0L70V8x1a/qhOI9n spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 051ed671-c4c7-48ae-2804-08d5a93d1aa7 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: 051ed671-c4c7-48ae-2804-08d5a93d1aa7 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2018 17:10:24.6961 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0701MB3640 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] net/bnx2x: reserve enough headroom for mbuf prepend X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-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