<div dir="ltr"><div><div><div><div><div><div><div><div>Hello,<br></div>I&#39;m on 4.0.6 with CentOS 7.3.<br></div>The hypervisor is an old blade BL685c G1 and the network adapters used to provide network to vm are<br></div>07:04.0 Ethernet controller: Broadcom Limited NetXtreme BCM5715S Gigabit Ethernet (rev a3)<br>07:04.1 Ethernet controller: Broadcom Limited NetXtreme BCM5715S Gigabit Ethernet (re<br></div>managed by tg3 kernel module, as I see in messages:<br><br>Jan 21 18:53:33 ovmsrv05 kernel: tg3 0000:07:04.0 eth0: Tigon3 [partno(011276-001) rev 9003] (PCIX:133MHz:64-bit) MAC address 00:1c:c4:46:ef:73<br>Jan 21 18:53:33 ovmsrv05 kernel: tg3 0000:07:04.0 eth0: attached PHY is 5714 (1000Base-SX Ethernet) (WireSpeed[0], EEE[0])<br>Jan 21 18:53:33 ovmsrv05 kernel: tg3 0000:07:04.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]<br>Jan 21 18:53:33 ovmsrv05 kernel: tg3 0000:07:04.0 eth0: dma_rwctrl[76148000] dma_mask[40-bit]<br>Jan 21 18:53:33 ovmsrv05 kernel: tg3 0000:07:04.1 eth1: Tigon3 [partno(011276-001) rev 9003] (PCIX:133MHz:64-bit) MAC address 00:1c:c4:46:ef:74<br>Jan 21 18:53:33 ovmsrv05 kernel: tg3 0000:07:04.1 eth1: attached PHY is 5714 (1000Base-SX Ethernet) (WireSpeed[0], EEE[0])<br>Jan 21 18:53:33 ovmsrv05 kernel: tg3 0000:07:04.1 eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]<br>Jan 21 18:53:33 ovmsrv05 kernel: tg3 0000:07:04.1 eth1: dma_rwctrl[76148000] dma_mask[40-bit]<br><br></div>The 2 adapters are in bonding active-backup mode.<br></div>They are on vlan, so on hypervisor I have bond1.65 device and in vm the virtual interface is untagged<br><br>[root@ovmsrv05 ~]# ifconfig bond1.65<br>bond1.65: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500<br>        ether 00:1c:c4:46:ef:73  txqueuelen 1000  (Ethernet)<br>        RX packets 4368  bytes 257675 (251.6 KiB)<br>        RX errors 0  dropped 0  overruns 0  frame 0<br>        TX packets 238  bytes 28146 (27.4 KiB)<br>        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0<br><br>[root@ovmsrv05 ~]# <br><br><br>Currently Active Slave: enp7s4f0<br><br></div><div>After a few minutes I loose connectivity with the guest. In this case if I go in guest console and ping the gateway, the connection is resumed. And I can maintain it if I leave the ping running, otherwise after a little I again loose connectivity.<br></div><div>I suspect it is not important but the guest is Oracle Linux 6.5 with 3.8.13-16.2.1.el6uek.x86_64 kernel. The adapter for the vnic is the default; the qemu-kvm command line generated contains this:<br>-netdev tap,fd=29,id=hostnet0,vhost=on,vhostfd=30 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:51,bus=pci.0,addr=0x3<br></div><div><br></div><div>I seem to remember some years ago when I used the same blades with plain qemu-kvm/libvirt I had to make up an ethtool setting for similar problems, but I don&#39;t remember what it was... and possibly I used bnx2 kernel module with the other embedded network interfaces, I&#39;m not sure...<br></div>Currently, the  configuration for adapter on the blade  is<br><br>[root@ovmsrv05 ~]# ethtool -k enp7s4f0<br>Features for enp7s4f0:<br>rx-checksumming: on<br>tx-checksumming: on<br>    tx-checksum-ipv4: on<br>    tx-checksum-ip-generic: off [fixed]<br>    tx-checksum-ipv6: off [fixed]<br>    tx-checksum-fcoe-crc: off [fixed]<br>    tx-checksum-sctp: off [fixed]<br>scatter-gather: on<br>    tx-scatter-gather: on<br>    tx-scatter-gather-fraglist: off [fixed]<br>tcp-segmentation-offload: off<br>    tx-tcp-segmentation: off [requested on]<br>    tx-tcp-ecn-segmentation: off [fixed]<br>    tx-tcp6-segmentation: off [fixed]<br>udp-fragmentation-offload: off [fixed]<br>generic-segmentation-offload: on<br>generic-receive-offload: on<br>large-receive-offload: off [fixed]<br>rx-vlan-offload: on [fixed]<br>tx-vlan-offload: on [fixed]<br>ntuple-filters: off [fixed]<br>receive-hashing: off [fixed]<br>highdma: on<br>rx-vlan-filter: off [fixed]<br>vlan-challenged: off [fixed]<br>tx-lockless: off [fixed]<br>netns-local: off [fixed]<br>tx-gso-robust: off [fixed]<br>tx-fcoe-segmentation: off [fixed]<br>tx-gre-segmentation: off [fixed]<br>tx-ipip-segmentation: off [fixed]<br>tx-sit-segmentation: off [fixed]<br>tx-udp_tnl-segmentation: off [fixed]<br>tx-mpls-segmentation: off [fixed]<br>fcoe-mtu: off [fixed]<br>tx-nocache-copy: off<br>loopback: off<br>rx-fcs: off [fixed]<br>rx-all: off [fixed]<br>tx-vlan-stag-hw-insert: off [fixed]<br>rx-vlan-stag-hw-parse: off [fixed]<br>rx-vlan-stag-filter: off [fixed]<br>busy-poll: off [fixed]<br>tx-sctp-segmentation: off [fixed]<br>l2-fwd-offload: off [fixed]<br>hw-tc-offload: off [fixed]<br>[root@ovmsrv05 ~]# <br><br><br></div><div>systool shows no particular parameters for tg3 kernel module available<br>[root@ovmsrv05 ~]# systool -v -m tg3<br>Module = &quot;tg3&quot;<br><br>  Attributes:<br>    coresize            = &quot;170653&quot;<br>    initsize            = &quot;0&quot;<br>    initstate           = &quot;live&quot;<br>    refcnt              = &quot;0&quot;<br>    rhelversion         = &quot;7.3&quot;<br>    srcversion          = &quot;D276F97F491ADECC61C8284&quot;<br>    taint               = &quot;&quot;<br>    uevent              = &lt;store method only&gt;<br>    version             = &quot;3.137&quot;<br><br>  Sections:<br>...<br><br></div><div>Thanks,<br></div><div>Gianluca<br></div></div>