From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by dpdk.org (Postfix) with ESMTP id 2B62E374 for ; Mon, 19 Jun 2017 14:08:49 +0200 (CEST) Received: from 172.30.72.57 (EHLO nkgeml412-hub.china.huawei.com) ([172.30.72.57]) by dggrg03-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id APR17899; Mon, 19 Jun 2017 20:08:48 +0800 (CST) Received: from FRAEML702-CAH.china.huawei.com (10.206.14.33) by nkgeml412-hub.china.huawei.com (10.98.56.73) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 19 Jun 2017 20:08:46 +0800 Received: from FRAEML521-MBX.china.huawei.com ([169.254.1.157]) by fraeml702-cah.china.huawei.com ([10.206.14.33]) with mapi id 14.03.0301.000; Mon, 19 Jun 2017 14:08:39 +0200 From: "Avi Cohen (A)" To: "ovs-discuss@openvswitch.org" , "users@dpdk.org" Thread-Topic: OVS-DPDK - af_packet vdev configuration - Error Thread-Index: AdLoIc3DnWKqXyLxTceelaACqH8t0AAHy4mAACznYqA= Date: Mon, 19 Jun 2017 12:08:38 +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.0A090206.5947BED0.00C6, 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: 2feeeaecb2393ef637a754b7f20a662a 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 12:08:52 -0000 OK - solved The problem was with the device MTU which is set in the af_packet to 1518,= =20 In my port creation I set its MTU to 9000 I've changed the MTU in the af_packet driver to 9000 > -----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 >=20 > 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 >=20 > 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 >=20 > 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 >=20 > 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 >=20 > Jun 18 14:36:29 ip-172-31-100-80 ovs-vswitchd[54914]: > ovs|00052|dpif_netdev|ERR|Failed to set interface tap1 new configuration >=20 > 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) >=20 > Can someone tell what is wrong with my cli command ? > Best Regards > avi >=20 > > -----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=3Ddpdk = \ > > 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