Hi All,

Created subinterface using 3 commands
1. create sub-interfaces <interface name>
2. set interface state <interface name>
3. set interface l2 bridge <interface name>

Kindly help us know if we have limitation in configuring sub interfaces

Please find our configurations

We wanted to achieved 4094 vlans on 24 interfaces)

24 * 4094 = 98256

Vlan range in each interface

First interface  [1, 4094]. —> Working fine
Second interface  [1, 4094]. —> Working fine
Third interface  [1, 4094]. —> Working fine
Fourth interface  [1, 4094]. —> Working fine
Five interface  [1, 4094]. —> Working fine
Six interface  [1, 4094]. —> VPP Crash after 3050th Vlan

Please find the crash log below.
Kindly let us know want is the scale limitation for vlan creation

gdb) bt

#0  0x00007fb430ef4bfa in raise () from /lib/libc.so.6

#1  0x00007fb430ee0524 in abort () from /lib/libc.so.6

#2  0x0000558932cc94e4 in os_exit (code=code@entry=1) at 
/edpd_root/third-party/vpp/src/vpp/vnet/main.c:379

#3  0x00007fb4316901fc in unix_signal_handler (signum=<optimized out>, 
si=<optimized out>, uc=<optimized out>)

at /edpd_root/third-party/vpp/src/vlib/unix/main.c:190

#4  <signal handler called>

#5  0x00007fb430ef4bfa in raise () from /lib/libc.so.6

#6  0x00007fb430ee0524 in abort () from /lib/libc.so.6

#7  0x0000558932cc9493 in os_panic () at 
/edpd_root/third-party/vpp/src/vpp/vnet/main.c:355

#8  0x00007fb431568745 in clib_mem_alloc_aligned_at_offset 
(os_out_of_memory_on_failure=1, align_offset=8, align=64, size=565152)

at /edpd_root/third-party/vpp/src/vppinfra/mem.h:143

#9  vec_resize_allocate_memory (v=v@entry=0x7fb3ed91f640, length_increment=1, 
data_bytes=376776, header_bytes=8, header_bytes@entry=0,

data_align=data_align@entry=64) at 
/edpd_root/third-party/vpp/src/vppinfra/vec.c:85

#10 0x00007fb431630b82 in _vec_resize_inline (data_align=<optimized out>, 
header_bytes=<optimized out>, data_bytes=<optimized out>,

length_increment=<optimized out>, v=<optimized out>) at 
/edpd_root/third-party/vpp/src/vppinfra/vec.h:149

#11 vlib_validate_combined_counter (cm=0x7fb3f232e578, index=index@entry=23547) 
at /edpd_root/third-party/vpp/src/vlib/counter.c:102

#12 0x00007fb431b6691b in vnet_create_sw_interface_no_callbacks 
(vnm=vnm@entry=0x7fb4321465e0 <vnet_main>,

template=template@entry=0x7fb4301adc90) at 
/edpd_root/third-party/vpp/src/vnet/interface.c:574

#13 0x00007fb431b67d73 in vnet_create_sw_interface 
(vnm=vnm@entry=0x7fb4321465e0 <vnet_main>, 
template=template@entry=0x7fb4301adc90,

sw_if_index=sw_if_index@entry=0x7fb4301adc74) at 
/edpd_root/third-party/vpp/src/vnet/interface.c:607

#14 0x00007fb431b77024 in create_sub_interfaces (vm=0x7fb4316abac0 
<vlib_global_main>, input=<optimized out>, cmd=<optimized out>)

at /edpd_root/third-party/vpp/src/vnet/interface_cli.c:770

#15 0x00007fb43162e97d in vlib_cli_dispatch_sub_commands 
(vm=vm@entry=0x7fb4316abac0 <vlib_global_main>,

cm=cm@entry=0x7fb4316abcd8 <vlib_global_main+536>, 
input=input@entry=0x7fb4301adf60, parent_command_index=<optimized out>)

at /edpd_root/third-party/vpp/src/vlib/cli.c:645

#16 0x00007fb43162ea68 in vlib_cli_dispatch_sub_commands 
(vm=vm@entry=0x7fb4316abac0 <vlib_global_main>,

cm=cm@entry=0x7fb4316abcd8 <vlib_global_main+536>, 
input=input@entry=0x7fb4301adf60, 
parent_command_index=parent_command_index@entry=0)

at /edpd_root/third-party/vpp/src/vlib/cli.c:606

#17 0x00007fb43162ee08 in vlib_cli_input (vm=0x7fb4316abac0 <vlib_global_main>, 
input=input@entry=0x7fb4301adf60,

function=function@entry=0x7fb431686a70 <unix_vlib_cli_output>, 
function_arg=function_arg@entry=2)

at /edpd_root/third-party/vpp/src/vlib/cli.c:746

Kindly help us with your valuable inputs

Regards,
M. Kavitha
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17269): https://lists.fd.io/g/vpp-dev/message/17269
Mute This Topic: https://lists.fd.io/mt/76303489/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to