Traffic shaper does not start on virtio nic



  • Traffic shaper does not work with virtio nic (LAN interface), it works if I set e1000 for LAN interface.
    Is it possible to resolve this issue?

    Proxmox 3.1
    VM:
    2.1.4-RELEASE (amd64)
    built on Fri Jun 20 12:59:50 EDT 2014
    FreeBSD 8.3-RELEASE-p16

    [2.1.4-RELEASE][root@pfsense]/root(1): /sbin/pfctl -o basic -f /tmp/rules.debug

    
    bandwidth for qInternet_OSVIT higher than interface
    /tmp/rules.debug:90: errors in queue definition
    parent qInternet_OSVIT not found for qACK_osvit
    /tmp/rules.debug:91: errors in queue definition
    parent qInternet_OSVIT not found for qDefault_osvit
    /tmp/rules.debug:92: errors in queue definition
    parent qInternet_OSVIT not found for qGames_osvit
    /tmp/rules.debug:93: errors in queue definition
    parent qInternet_OSVIT not found for qHttp_osvit
    /tmp/rules.debug:94: errors in queue definition
    parent qInternet_OSVIT not found for qHigh_osvit
    /tmp/rules.debug:95: errors in queue definition
    parent qInternet_OSVIT not found for qLow_osvit
    /tmp/rules.debug:96: errors in queue definition
    parent qInternet_OSVIT not found for qAdmin_osvit
    /tmp/rules.debug:97: errors in queue definition
    parent qInternet_OSVIT not found for qOffice_osvit
    /tmp/rules.debug:98: errors in queue definition
    parent qInternet_OSVIT not found for qDhcp_osvit
    /tmp/rules.debug:99: errors in queue definition
    parent qInternet_OSVIT not found for qServers_osvit
    /tmp/rules.debug:100: errors in queue definition
    bandwidth for qInternet_CTNET higher than interface
    /tmp/rules.debug:102: errors in queue definition
    parent qInternet_CTNET not found for qACK_ctnet
    /tmp/rules.debug:103: errors in queue definition
    parent qInternet_CTNET not found for qDefault_ctnet
    /tmp/rules.debug:104: errors in queue definition
    parent qInternet_CTNET not found for qGames_ctnet
    /tmp/rules.debug:105: errors in queue definition
    parent qInternet_CTNET not found for qHttp_ctnet
    /tmp/rules.debug:106: errors in queue definition
    parent qInternet_CTNET not found for qHigh_ctnet
    /tmp/rules.debug:107: errors in queue definition
    parent qInternet_CTNET not found for qLow_ctnet
    /tmp/rules.debug:108: errors in queue definition
    parent qInternet_CTNET not found for qAdmin_ctnet
    /tmp/rules.debug:109: errors in queue definition
    parent qInternet_CTNET not found for qOffice_ctnet
    /tmp/rules.debug:110: errors in queue definition
    parent qInternet_CTNET not found for qDhcp_ctnet
    /tmp/rules.debug:111: errors in queue definition
    parent qInternet_CTNET not found for qServers_ctnet
    /tmp/rules.debug:112: errors in queue definition
    pfctl: Syntax error in config file: pf rules not loaded
    
    

    Logs:

    
    kernel: virtio_pci2: negotiated features: 0x110fbba3 <ringindirect,notifyonempty,vlanfilter,rxmode,controlvq,status,mrgrxbuf,txtsoecn,txtsov6,txtsov4,rxecn,rxtsov6,rxtsov4,macaddress,rxchecksum,txchecksum>kernel: virtio_pci2: host features: 0x719fffe3 <eventidx,ringindirect,notifyonempty,0x800000,rxmodeextra,vlanfilter,rxmode,controlvq,status,mrgrxbuf,txufo,txtsoecn,txtsov6,txtsov4,rxufo,rxecn,rxtsov6,rxtsov4,txallgso,macaddress,rxchecksum,txchecksum>kernel: vtnet0: <virtio networking="" adapter="">on virtio_pci2
    kernel: virtio_pci2: <virtio pci="" network="" adapter="">port 0xc080-0xc09f mem 0xfebf2000-0xfebf2fff irq 10 at device 18.0 on pci0</virtio></virtio></eventidx,ringindirect,notifyonempty,0x800000,rxmodeextra,vlanfilter,rxmode,controlvq,status,mrgrxbuf,txufo,txtsoecn,txtsov6,txtsov4,rxufo,rxecn,rxtsov6,rxtsov4,txallgso,macaddress,rxchecksum,txchecksum></ringindirect,notifyonempty,vlanfilter,rxmode,controlvq,status,mrgrxbuf,txtsoecn,txtsov6,txtsov4,rxecn,rxtsov6,rxtsov4,macaddress,rxchecksum,txchecksum> 
    

    Interface:

    
    LAN interface (vtnet0)
    Status 	up
    MAC address 	be:83:1b:e3:e1:6c
    IPv4 address 	192.168.1.105  
    Subnet mask IPv4 	255.255.255.0
    IPv6 Link Local 	fe80::bc83:1bff:fee3:e16c%vtnet0  
    Media 	1000baseT <full-duplex>In/out packets 	854/415 (86 KB/245 KB)
    In/out packets (pass) 	854/415 (86 KB/245 KB)
    In/out packets (block) 	29/0 (952 bytes/0 bytes)
    In/out errors 	0/0
    Collisions 	0 
    
    vtnet0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
            options=c02bb <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso6,vlan_hwtso,linkstate>ether be:83:1b:e3:e1:6c
            inet 192.168.1.105 netmask 0xffffff00 broadcast 192.168.1.255
            inet6 fe80::bc83:1bff:fee3:e16c%vtnet0 prefixlen 64 scopeid 0x1
            nd6 options=1 <performnud>media: Ethernet 1000baseT <full-duplex>status: active</full-duplex></performnud></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso6,vlan_hwtso,linkstate></up,broadcast,running,simplex,multicast></full-duplex> 
    


  • Sounds like to me you already have a fix , make the NIC E1000.  I dont know what a virtio nic is but it seems similar to VMXNET3 so I am guessing it is a driver issue of some kind. And if it is running as a VM - you might check the other forum for some answers.


Log in to reply