Hi,
Could you please kindly look into the below issue.
I am facing the same issue sriov with VPP 19.01 version.
[root@2-9 vpp]# ./vppctl
_______ _ _ _____ ___
__/ __/ _ \ (_)__ | | / / _ \/ _ \
_/ _// // / / / _ \ | |/ / ___/ ___/
/_/ /____(_)_/\___/ |___/_/ /_/
vpp# show version
vpp vvpp_19.01.3-6 built by build on build-centos76-1.dallas.mavenir.com at Fri
Jul 17 02:11:04 CDT 2020
vpp# show int
Name Idx State MTU (L3/IP4/IP6/MPLS)
Counter Count
VirtualFunctionEthernet0/5/0 1 down 9000/0/0/0
VirtualFunctionEthernet0/6/0 2 down 9000/0/0/0
VirtualFunctionEthernet0/7/0 3 down 9000/0/0/0
local0 0 down 0/0/0/0
vpp# set int ip address VirtualFunctionEthernet0/5/0 172.16.62.95/24
vpp#
vpp# show int addr
VirtualFunctionEthernet0/5/0 (dn):
L3 172.16.62.95/24
VirtualFunctionEthernet0/6/0 (dn):
VirtualFunctionEthernet0/7/0 (dn):
local0 (dn):
vpp# set interface state VirtualFunctionEthernet0/5/0 up
vpp# show int
Name Idx State MTU (L3/IP4/IP6/MPLS)
Counter Count
VirtualFunctionEthernet0/5/0 1 up 9000/0/0/0 rx packets
2
rx bytes
120
VirtualFunctionEthernet0/6/0 2 down 9000/0/0/0
VirtualFunctionEthernet0/7/0 3 down 9000/0/0/0
local0 0 down 0/0/0/0
vpp# set interface mtu 1500 VirtualFunctionEthernet0/5/0
vpp#
vpp# show int
Name Idx State MTU (L3/IP4/IP6/MPLS)
Counter Count
VirtualFunctionEthernet0/5/0 1 up 1500/0/0/0 rx packets
37
rx bytes
3630
drops
5
ip4
5
VirtualFunctionEthernet0/6/0 2 down 9000/0/0/0
VirtualFunctionEthernet0/7/0 3 down 9000/0/0/0
local0 0 down 0/0/0/0
vpp#
vpp# create sub-interfaces VirtualFunctionEthernet0/5/0 239
create sub-interfaces: rte_eth_dev_set_vlan_offload[0]: err -95
vpp#
vpp# show version
vpp vVPP_18.01 built by build on build-centos76-1.dallas.mavenir.com at Sun Jul
5 23:40:12 CDT 2020
vpp#
[root@2-9 ~]# lspci
00:04.0 Ethernet controller: Intel Corporation Ethernet Virtual Function 700
Series (rev 02)
00:05.0 Ethernet controller: Intel Corporation Ethernet Virtual Function 700
Series (rev 02)
vpp# show int
Name Idx State MTU (L3/IP4/IP6/MPLS)
Counter Count
VirtualFunctionEthernet0/5/0 1 up 1500/0/0/0 rx packets
17602211
rx bytes
2284380342
tx packets
5316748
tx bytes
332760672
drops
667
ip4
16516673
rx-miss
246215704
VirtualFunctionEthernet0/6/0 2 up 1500/0/0/0 rx packets
283361
rx bytes
17087710
tx packets
547
tx bytes
27464
drops
371
ip4
351
local0 0 down 0/0/0/0
vpp#
vpp#
vpp# create sub-interfaces VirtualFunctionEthernet0/5/0 239
create sub-interfaces: rte_eth_dev_set_vlan_offload[0]: err -95
Getting the following error while trying to create sub-interface on a SR-IOV
virtual function on a Intel Ethernet controller.
Could you kindly let me know what might be the issue here ?
But, on VIRT-IO this is working.
vpp#
vpp# show version
vpp vvpp_19.01.3-6 built by build on build-centos76-1.dallas.mavenir.com at Wed
Jul 8 12:38:20 CDT 2020
[root@Openstack-10 ~]# lspci
00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:04.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:05.0 Ethernet controller: Red Hat, Inc. Virtio network device
vpp# show int
Name Idx State MTU (L3/IP4/IP6/MPLS)
Counter Count
GigabitEthernet0/4/0 1 up 1500/0/0/0 rx packets
94818159
rx bytes
12956819134
tx packets
82176996
tx bytes
12099567712
drops
12129040
ip4
94148788
tx-error
11572742
GigabitEthernet0/5/0 2 up 9000/0/0/0 rx packets
12248010
rx bytes
3614167627
tx packets
11594535
tx bytes
3547005566
drops
401175
ip4
11863937
tx-error
374786
local0 0 down 0/0/0/0
vpp# create sub-interfaces GigabitEthernet0/4/0 239
GigabitEthernet0/4/0.239
vpp# show int
Name Idx State MTU (L3/IP4/IP6/MPLS)
Counter Count
GigabitEthernet0/4/0 1 up 1500/0/0/0 rx packets
94818300
rx bytes
12956834770
tx packets
82177122
tx bytes
12099575572
drops
12129046
ip4
94148913
tx-error
11572742
GigabitEthernet0/4/0.239 3 down 0/0/0/0
On the server the rxvlan offload is enabled.
controller-0:~$ ethtool -k enp59s0f0 | grep -i vlan
rx-vlan-offload: on
tx-vlan-offload: on
rx-vlan-filter: on [fixed]
vlan-challenged: off [fixed]
tx-vlan-stag-hw-insert: off [fixed]
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
controller-0:~$
Thanks,
Arunava.
________________________________
This e-mail message may contain confidential or proprietary information of
Mavenir Systems, Inc. or its affiliates and is intended solely for the use of
the intended recipient(s). If you are not the intended recipient of this
message, you are hereby notified that any review, use or distribution of this
information is absolutely prohibited and we request that you delete all copies
in your control and contact us by e-mailing to [email protected]. This
message contains the views of its author and may not necessarily reflect the
views of Mavenir Systems, Inc. or its affiliates, who employ systems to monitor
email messages, but make no representation that such messages are authorized,
secure, uncompromised, or free from computer viruses, malware, or other
defects. Thank You