From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BD309A055A for ; Wed, 26 Feb 2020 22:58:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E8DEB1BFAB; Wed, 26 Feb 2020 22:58:07 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 495E22C4F for ; Wed, 26 Feb 2020 22:58:06 +0100 (CET) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01QLqduA157208 for ; Wed, 26 Feb 2020 16:58:05 -0500 Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ydq6wnt5t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Feb 2020 16:58:05 -0500 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 01QLt4Do006542 for ; Wed, 26 Feb 2020 21:58:03 GMT Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by ppma01wdc.us.ibm.com with ESMTP id 2ydcmkgcu9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Feb 2020 21:58:03 +0000 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 01QLw3tW51708226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 26 Feb 2020 21:58:03 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5ECF928060 for ; Wed, 26 Feb 2020 21:58:03 +0000 (GMT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2A07B28059 for ; Wed, 26 Feb 2020 21:58:03 +0000 (GMT) Received: from davids-mbp.usor.ibm.com (unknown [9.70.84.54]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP for ; Wed, 26 Feb 2020 21:58:03 +0000 (GMT) To: users@dpdk.org References: From: David Christensen Message-ID: <71565765-d37d-814f-a509-db810fbb36b0@linux.vnet.ibm.com> Date: Wed, 26 Feb 2020 13:58:02 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-26_07:2020-02-26, 2020-02-26 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=982 clxscore=1015 mlxscore=0 adultscore=0 impostorscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002260128 Subject: Re: [dpdk-users] How to configure an Ethernet Driver to ignore the Ethertype X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" > I was wondering if there is a way to get the Ethernet driver to ignore the > Ethertype. The problem I am having is that I am dealing with a switch chip > that is redirecting packets to the processor via an offload ethernet > device. Before offload the switch chip adds a header that pushes the DA > into the spot where the EtherType is normally. As a result, the ethertype > is essentially a random value so some packets will look like that have a > snap header and the driver will conclude that the packet is corrupted I > presume. I am working with the IXGBE driver. Are you talking about HiGig/HiGig2 headers? I think your support in the DPDK will be limited to octeontx2 (look for switch_header="higig2" in https://fast.dpdk.org/doc/pdf-guides/nics-master.pdf). Dave