From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp89.iad3a.emailsrvr.com (smtp89.iad3a.emailsrvr.com [173.203.187.89]) by dpdk.org (Postfix) with ESMTP id 52E2711C5 for ; Thu, 27 Oct 2016 15:33:27 +0200 (CEST) Received: from smtp28.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp28.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id CD24BA0208 for ; Thu, 27 Oct 2016 09:33:26 -0400 (EDT) X-Auth-ID: padam.singh@inventum.net Received: by smtp28.relay.iad3a.emailsrvr.com (Authenticated sender: padam.singh-AT-inventum.net) with ESMTPSA id 12B79A02F1 for ; Thu, 27 Oct 2016 09:33:25 -0400 (EDT) X-Sender-Id: padam.singh@inventum.net Received: from [172.16.1.31] ([UNAVAILABLE]. [103.25.205.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:25 (trex/5.7.7); Thu, 27 Oct 2016 09:33:26 -0400 From: Padam Jeet Singh Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <73B7F896-A39A-4805-915B-6B7E80994681@inventum.net> Date: Thu, 27 Oct 2016 19:03:23 +0530 To: dev@dpdk.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) Subject: [dpdk-dev] Unable to change source MAC address of packet 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: Thu, 27 Oct 2016 13:33:27 -0000 Hi, I am crafting a packet in which the source MAC address as set in the = Ethernet header is different than the transmit port=E2=80=99s default = MAC address. A packet capture of the packets coming out of this port = however comes with source MAC address of the port=E2=80=99s default MAC = address. Altering the destination MAC address works fine and shows up correctly = in packet capture. The underlying network interface is an i210 and some logs added to the = eth_igb_xmit_pkts function show that the packets I have crafted indeed = are reaching the driver with the source MAC address set in the packet = code of the application. How can I disable this automatic source MAC address setting? Thanks, Padam=