From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by dpdk.org (Postfix) with ESMTP id 6EF57968 for ; Mon, 19 Jun 2017 15:59:16 +0200 (CEST) Received: from 172.30.72.53 (EHLO nkgeml414-hub.china.huawei.com) ([172.30.72.53]) by dggrg01-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id AQP29813; Mon, 19 Jun 2017 21:59:13 +0800 (CST) Received: from FRAEML704-CAH.china.huawei.com (10.206.14.35) by nkgeml414-hub.china.huawei.com (10.98.56.75) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 19 Jun 2017 21:59:12 +0800 Received: from FRAEML521-MBX.china.huawei.com ([169.254.1.157]) by FRAEML704-CAH.china.huawei.com ([10.206.14.35]) with mapi id 14.03.0301.000; Mon, 19 Jun 2017 15:59:07 +0200 From: "Avi Cohen (A)" To: "ovs-discuss@openvswitch.org" , "users@dpdk.org" Thread-Topic: OVS-DPDK - af_packet vdev configuration - Error Thread-Index: AdLoIc3DnWKqXyLxTceelaACqH8t0AAHy4mAACznYqAAA+JAoA== Date: Mon, 19 Jun 2017 13:59:06 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.200.202.183] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020206.5947D8B2.003D, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.1.157, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 7afaf76fa1f0101f2d68c03e43a4b635 Subject: Re: [dpdk-users] OVS-DPDK - af_packet vdev configuration - Error 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: , X-List-Received-Date: Mon, 19 Jun 2017 13:59:18 -0000 Not solved - the tap device is linkdown > -----Original Message----- > From: Avi Cohen (A) > Sent: Monday, 19 June, 2017 3:09 PM > To: 'ovs-discuss@openvswitch.org'; 'users@dpdk.org' > Subject: RE: OVS-DPDK - af_packet vdev configuration - Error >=20 > OK - solved > The problem was with the device MTU which is set in the af_packet to 151= 8, > In my port creation I set its MTU to 9000 I've changed the MTU in the > af_packet driver to 9000 >=20 > > -----Original Message----- > > From: Avi Cohen (A) > > Sent: Sunday, 18 June, 2017 5:45 PM > > To: 'ovs-discuss@openvswitch.org'; 'users@dpdk.org' > > Subject: RE: OVS-DPDK - af_packet vdev configuration - Error > > > > I made upgrade to ovs2.7.0 and dpdk17.02.1 And got these error > > msgs when I run > > ovs-vsctl add-port br0 tap1 -- set Interface tap1 type=3Ddpdk \ > > options:dpdk-devargs=3Deth_af_packet0,iface=3Dtap1 > > > > Jun 18 14:36:29 ip-172-31-100-80 ovs-vswitchd[54914]: > > ovs|00047|netdev_dpdk|INFO|Device 'eth_af_packet0,iface=3Dtap1' > attached > > to DPDK > > > > Jun 18 14:36:29 ip-172-31-100-80 ovs-vswitchd[54914]: > > ovs|00050|netdev_dpdk|WARN|Interface tap1 eth_dev setup error Invalid > > argument > > > > Jun 18 14:36:29 ip-172-31-100-80 ovs-vswitchd[54914]: > > ovs|00051|netdev_dpdk|ERR|Interface tap1(rxq:1 txq:1) configure error: > > Invalid argument > > > > Jun 18 14:36:29 ip-172-31-100-80 ovs-vswitchd[54914]: > > ovs|00052|dpif_netdev|ERR|Failed to set interface tap1 new > > ovs|00052|configuration > > > > Jun 18 14:36:29 ip-172-31-100-80 ovs-vswitchd[54914]: > > ovs|00053|bridge|WARN|could not add network device tap1 to ofproto > (No > > such device) > > > > Can someone tell what is wrong with my cli command ? > > Best Regards > > avi > > > > > -----Original Message----- > > > From: Avi Cohen (A) > > > Sent: Sunday, 18 June, 2017 1:59 PM > > > To: ovs-discuss@openvswitch.org; users@dpdk.org > > > Subject: OVS-DPDK - af_packet vdev configuration - Error > > > > > > Hi All, > > > > > > I have ovs 2.6.1 with dpdk-stable-16.07.2 , I'm trying to create > > > an af_packet vdev interface with the following commands: > > > > > > 1. ip tuntap add dev tap1 mode tap > > > > > > 2. ovs-vsctl add-port br0 tap1 -- set Interface tap1 type=3Ddpd= k \ > > > options:dpdk-devargs=3Deth_af_packet0,iface=3Dtap1 > > > > > > but I get an error message [could not open network device tap1 - No > > > such device ] > > > > > > can you assist how to set this interface ? > > > > > > Best Regards > > > avi