Failed to commit settings with Intel XL710 VF interface on VM

Hello team,

I wanna use VyOS 1.4-rolling-202203070319 on VM with Intel XL710 2-port 40GbE card’s VF interface.
Detected interface by iavf kernel module, but can’t commit settings with following errors.

Report time: 2022-03-10 21:50:40
Image version: VyOS 1.4-rolling-202203070319
Release train: sagitta

Built by: autobuild@vyos.net
Built on: Mon 07 Mar 2022 03:19 UTC
Build UUID: ee68bce9-f548-4227-b2dc-0d4d6b2fbb93
Build commit ID: b2ca3389494c35

Architecture: x86_64
Boot via: installed image
System type: KVM guest

Hardware vendor: QEMU
Hardware model: Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID: 78898310-ecc3-40ee-97da-fafaeeb678dd

Traceback (most recent call last):
File “/usr/libexec/vyos/conf_mode/interfaces-ethernet.py”, line 212, in
apply(c)
File “/usr/libexec/vyos/conf_mode/interfaces-ethernet.py”, line 201, in apply
e.update(ethernet)
File “/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py”, line 348, in update
self.set_speed_duplex(speed, duplex)
File “/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py”, line 177, in set_speed_duplex
return self._cmd(cmd)
File “/usr/lib/python3/dist-packages/vyos/ifconfig/control.py”, line 52, in _cmd
return cmd(command, self.debug)
File “/usr/lib/python3/dist-packages/vyos/util.py”, line 161, in cmd
raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: ethtool --change eth0 autoneg on
returned:
exit code: 1

noteworthy:
cmd ‘ethtool --show-pause eth0’
returned (out):

returned (err):
netlink error: Operation not supported
cmd ‘ethtool --show-pause eth0’
returned (out):

returned (err):
netlink error: Operation not supported
cmd ‘ethtool --change eth0 autoneg on’
returned (out):

returned (err):
netlink error: Operation not supported

[[interfaces ethernet eth0]] failed
Commit failed

This VF interface does not seems to support speed, duplex and flow control settings.
So, I tried adding “iavf” to lists of ethtool.py:191 and ethtool.py:201, it seems to work well.

Should I report a bug?

I’m posting in the forum for the first time, so I’m sorry if I said something strange.

Thanks.