From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) by dpdk.org (Postfix) with ESMTP id 3F3D39E7 for ; Wed, 8 Jul 2015 22:00:38 +0200 (CEST) Received: by iggp10 with SMTP id p10so30177986igg.0 for ; Wed, 08 Jul 2015 13:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=k/pzW3eX+Xm5zJNsbSyuyb29HC20v6W9XDjZCGPHW5k=; b=RR/gWpYLm8OdGP7Zi+3vFi1KE3v/l72jrmetdlGXxQRrlvxVTtPNVPFFzw1ywHo1EF F8DC0/MuzjidBfJFTk4Mu9dSPAyrEjEXvJBM7AmHfzmfE5ahF+m5xdzOgYd7qndaagom 2IAObYukS9PzOGFoHUrvYKO8D7m/MnBol4sYgSNHpike9kJ2OSHjmTbbSMFExXvBMldp xXmWJZ7+ITAJ7TzZbzbmeRrkNsV43aLvBQ8VZQetTak+8o8LlyXlyScbPFJy6+IE0mAR a739dMitL2vmcD+rCneZVzFdOIFQXGll217q0OgmXNxrUb7QvzaKzCJZIf9kcakHP26B pjRw== MIME-Version: 1.0 X-Received: by 10.107.8.210 with SMTP id h79mr19072257ioi.27.1436385637570; Wed, 08 Jul 2015 13:00:37 -0700 (PDT) Received: by 10.36.194.129 with HTTP; Wed, 8 Jul 2015 13:00:37 -0700 (PDT) Date: Wed, 8 Jul 2015 13:00:37 -0700 Message-ID: From: Gopakumar Choorakkot Edakkunni To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: [dpdk-dev] How to prevent KNI interface from getting deleted on application termination? 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: Wed, 08 Jul 2015 20:00:38 -0000 Hi all, My application takes over one/multiple ethernet port(s) in a linux system and creates KNI interfaces corresponding to them. So if there was eth0 and eth1 in the non-dpdk mode, once I take over the ports using dpdk, I create eth0 and eth1 KNI interfaces. As far as the linux network managers are concerned, they dont really know about it (or care I guess) - for example the dhcp client tries getting a dhcp address over these KNI interfaces and succeeds. Now if my application crashes, I dont want the entire network management subsystem on linux and the hotplugs and this and that to get alarmed and routes to vanish from the route table etc.. etc.. The application will crash and come back up real quick, nothing needs to change in that meantime. Any way to achieve that ? I just want to keep the KNI around even if my app vanishes. Rgds, Gopa.