From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-00103a01.pphosted.com (mx0a-00103a01.pphosted.com [67.231.144.234]) by dpdk.org (Postfix) with ESMTP id 055502C4B for ; Fri, 2 Sep 2016 15:39:47 +0200 (CEST) Received: from pps.filterd (m0000419.ppops.net [127.0.0.1]) by mx0a-00103a01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u82DdhWM009363 for ; Fri, 2 Sep 2016 09:39:47 -0400 Received: from mdwvexchht01.ciena.com (lin1-118-36-28.ciena.com [63.118.36.28]) by mx0a-00103a01.pphosted.com with ESMTP id 2579329upn-1 (version=TLSv1 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 02 Sep 2016 09:39:47 -0400 Received: from VAWVE2K13MBX01.ciena.com (10.4.156.87) by MDWVEXCHHT01.ciena.com (10.4.156.175) with Microsoft SMTP Server (TLS) id 8.3.389.2; Fri, 2 Sep 2016 09:39:45 -0400 Received: from ONWVEXCHHT04.ciena.com (10.128.6.44) by VAWVE2K13MBX01.ciena.com (10.4.156.87) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Fri, 2 Sep 2016 09:39:45 -0400 Received: from ONWVEXCHMB04.ciena.com ([::1]) by ONWVEXCHHT04.ciena.com ([::1]) with mapi; Fri, 2 Sep 2016 09:39:44 -0400 From: "Mussar, Gary" To: "dev@dpdk.org" Date: Fri, 2 Sep 2016 09:39:44 -0400 Thread-Topic: [PKTGEN] rte_kni.ko with lo_mode=lo_mode_ring Thread-Index: AdIFHe/QvE2GKoOdSwuDCy8WeTylqg== Message-ID: Accept-Language: en-US, en-CA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-CA X-TM-AS-Product-Ver: SMEX-11.0.0.4179-8.000.1202-22550.007 X-TM-AS-Result: No--16.693700-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-09-02_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1609020183 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [PKTGEN] rte_kni.ko with lo_mode=lo_mode_ring 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: Fri, 02 Sep 2016 13:39:48 -0000 The pktgen docs state that the rte_kni.ko should be loaded with lo_mode=3Dl= o_mode_ring however the source in dpdk master does not appear to understand= this value. This wasn't an issue in the past since the kni code would simp= ly disable lo_mode if you passed in an unknown value. The Ubuntu 4.4.0-36-generic kernel no longer loads the module if the passed= value is not in the table of known values (the 4.4.0-34-generic kernel wou= ld still load the module). I have 2 questions: 1) Why does pktgen specify using a value for lo_mode that the source does not = support? Is lo_mode_ring something that is coming but not yet submitted? 2) Is the Ubuntu kernel being over aggressive in parameter checking or is this= a "good" thing? If it is good, then should the pktgen docs be indicating t= hat an unsupported value be used for lo_mode? Gary