* [dts] [PATCH 1/2] nics: fix issue when no driver bound to netdev @ 2016-03-13 12:44 Yong Liu 2016-03-13 12:44 ` [dts] [PATCH 2/2] conf ports: add pci domain in configuration file Yong Liu 0 siblings, 1 reply; 2+ messages in thread From: Yong Liu @ 2016-03-13 12:44 UTC (permalink / raw) To: dts; +Cc: Marvin Liu Signed-off-by: Marvin Liu <yong.liu@intel.com> diff --git a/nics/net_device.py b/nics/net_device.py index 99e44ab..8a1f621 100644 --- a/nics/net_device.py +++ b/nics/net_device.py @@ -65,6 +65,9 @@ class NetDevice(object): if self.nic_is_pf(): self.default_vf_driver = '' + + self.intf_name = 'N/A' + self.intf2_name = None self.get_interface_name() self.socket = self.get_nic_socket() @@ -150,7 +153,6 @@ class NetDevice(object): self.intf_name = 'N/A' else: self.intf_name = out - self.intf2_name = None # not a complete fix for CX3. if len(out.split()) > 1 and self.default_driver == 'mlx4_core': -- 1.9.3 ^ permalink raw reply [flat|nested] 2+ messages in thread
* [dts] [PATCH 2/2] conf ports: add pci domain in configuration file 2016-03-13 12:44 [dts] [PATCH 1/2] nics: fix issue when no driver bound to netdev Yong Liu @ 2016-03-13 12:44 ` Yong Liu 0 siblings, 0 replies; 2+ messages in thread From: Yong Liu @ 2016-03-13 12:44 UTC (permalink / raw) To: dts; +Cc: Marvin Liu From: Marvin Liu <yong.liu@intel.com> Signed-off-by: Marvin Liu <yong.liu@intel.com> diff --git a/conf/ports.cfg b/conf/ports.cfg index 2c9a60a..7fa7aae 100644 --- a/conf/ports.cfg +++ b/conf/ports.cfg @@ -14,9 +14,9 @@ ports = pci=XX:XX.X,intf=eth0; pci=YY:YY.Y,mac=XX:XX:XX:XX:XX:XX,peer=ZZ:ZZ.Z,numa=0; pci=ZZ:ZZ.Y,peer=IXIA:X.Y; - pci=XX:XX.X,peer=ZZ:ZZ.Z,tp_ip=127.0.0.1,tp_path=/home/libertyTrailTP_322291/perl; - pci=YY:YY.Y,peer=ZZ:ZZ.Z,sec_port=yes,first_port=XX:XX.X; + pci=0000:XX:XX.X,peer=0000:ZZ:ZZ.Z,tp_ip=127.0.0.1,tp_path=/home/libertyTrailTP_322291/perl; + pci=0000:YY:YY.Y,peer=0000:ZZ:ZZ.Z,sec_port=yes,first_port=XX:XX.X; [VM NAME] ports = - dev_idx=0,peer=XX:XX.X; - dev_idx=1,peer=YY:YY.Y; + dev_idx=0,peer=0000:XX:XX.X; + dev_idx=1,peer=0000:YY:YY.Y; -- 1.9.3 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-13 12:44 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-03-13 12:44 [dts] [PATCH 1/2] nics: fix issue when no driver bound to netdev Yong Liu 2016-03-13 12:44 ` [dts] [PATCH 2/2] conf ports: add pci domain in configuration file Yong Liu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).