From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.ics.ntt-tx.co.jp (mail05.ics.ntt-tx.co.jp [210.232.35.69]) by dpdk.org (Postfix) with ESMTP id B22801B1A2 for ; Tue, 16 Jan 2018 06:16:46 +0100 (CET) Received: from gwchk03.silk.ntt-tx.co.jp (gwchk03.silk.ntt-tx.co.jp [10.107.0.111]) by mail04.ics.ntt-tx.co.jp (unknown) with ESMTP id w0G5GjbW008034 for unknown; Tue, 16 Jan 2018 14:16:45 +0900 Received: (from root@localhost) by gwchk03.silk.ntt-tx.co.jp (unknown) id w0G5Gi1u025532 for unknown; Tue, 16 Jan 2018 14:16:44 +0900 Received: from gwchk.silk.ntt-tx.co.jp [10.107.0.110] by gwchk03.silk.ntt-tx.co.jp with ESMTP id QAA25516; Tue, 16 Jan 2018 14:16:44 +0900 Received: from imss03.silk.ntt-tx.co.jp (localhost [127.0.0.1]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5Ghxc009248 for unknown; Tue, 16 Jan 2018 14:16:43 +0900 Received: from mgate02.silk.ntt-tx.co.jp (smtp02.silk.ntt-tx.co.jp [10.107.0.37]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5Ghxv009220 for unknown; Tue, 16 Jan 2018 14:16:43 +0900 Message-Id: <201801160516.w0G5Ghxv009220@imss03.silk.ntt-tx.co.jp> Received: from localhost by mgate02.silk.ntt-tx.co.jp (unknown) id w0G5Gfx8026680 ; Tue, 16 Jan 2018 14:16:42 +0900 From: x-fn-spp@sl.ntt-tx.co.jp To: spp@dpdk.org Date: Tue, 16 Jan 2018 14:16:35 +0900 X-Mailer: git-send-email 1.9.1 In-Reply-To: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> References: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> X-TM-AS-MML: No Subject: [spp] [PATCH 24/30] doc: fix required network configuration X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 05:16:47 -0000 From: Hiroyuki Nakamura Remove unnecessary steps, registation to arp table, in "additional network configurations" section in how_to_use.md. Signed-off-by: Daiki Yamashita Signed-off-by: Naoki Takada --- docs/spp_vf/how_to_use.md | 6 ------ docs/spp_vf/sample_usage.md | 10 +--------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/docs/spp_vf/how_to_use.md b/docs/spp_vf/how_to_use.md index e56d5e3..dee4465 100644 --- a/docs/spp_vf/how_to_use.md +++ b/docs/spp_vf/how_to_use.md @@ -100,9 +100,6 @@ it is required additional network configurations on host and guest VMss. # Interface for vhost $ sudo ifconfig [IF_NAME] inet [IP_ADDR] netmask [NETMASK] up -# Register host2 to arp table -$ sudo arp -s [IP_ADDR] [MAC_ADDR] -i [IF_NAME] - # Disable offload for vhost interface $ sudo ethtool -K [IF_NAME] tx off ``` @@ -110,9 +107,6 @@ $ sudo ethtool -K [IF_NAME] tx off #### Host2 ```sh -# Register VM to arp table -$ sudo arp -s [IP_ADDR] [MAC_ADDR] -i [IF_NAME] - # Disable offload for VM interface $ ethtool -K [IF_NAME] tx off ``` diff --git a/docs/spp_vf/sample_usage.md b/docs/spp_vf/sample_usage.md index 5220184..dcc051a 100644 --- a/docs/spp_vf/sample_usage.md +++ b/docs/spp_vf/sample_usage.md @@ -71,7 +71,7 @@ set `-oStrictHostKeyChecking=no` option for ssh. $ ssh -oStrictHostKeyChecking=no sppuser@192.168.122.31 ``` -Up interfaces for vhost and register them to arp table inside spp-vm1. +Up interfaces for vhost inside spp-vm1. In addition, you have to disable TCP offload function, or ssh is faled after configuration is done. @@ -80,10 +80,6 @@ after configuration is done. $ sudo ifconfig ens4 inet 192.168.140.21 netmask 255.255.255.0 up $ sudo ifconfig ens5 inet 192.168.150.22 netmask 255.255.255.0 up - # register to arp table - $ sudo arp -s 192.168.140.11 a0:36:9f:78:86:78 -i ens4 - $ sudo arp -s 192.168.150.13 a0:36:9f:6c:ed:bc -i ens5 - # diable TCP offload $ sudo ethtool -K ens4 tx off $ sudo ethtool -K ens5 tx off @@ -98,10 +94,6 @@ Configurations for spp-vm2 is same as spp-vm1. $ sudo ifconfig ens4 inet 192.168.140.31 netmask 255.255.255.0 up $ sudo ifconfig ens5 inet 192.168.150.32 netmask 255.255.255.0 up - # register to arp table - $ sudo arp -s 192.168.140.11 a0:36:9f:78:86:78 -i ens4 - $ sudo arp -s 192.168.150.13 a0:36:9f:6c:ed:bc -i ens5 - # diable TCP offload $ sudo ethtool -K ens4 tx off $ sudo ethtool -K ens5 tx off -- 1.9.1