The dpdk strip-offset was meant for something completely different.

Try

https://docs.fd.io/vpp/16.12/clicmd_vnet_vnet_l2.html#clicmd_set_interface_l2_tag-rewrite

Where you can PUSH, POP or TRANSLATE


From: <vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io>> on 
behalf of Abhilash Lakshmeshwar 
<l.s.abhil...@gmail.com<mailto:l.s.abhil...@gmail.com>>
Date: Wednesday, August 16, 2017 at 6:25 AM
To: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
<vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>>
Subject: [vpp-dev] strip inner/outer vlan tags via dpdk

Hello,

I want to strip the vlan on an incoming packet and add a vlan on an outgoing 
packet on an interface,  Packets to the interface will always be double tagged.

I have made changes to the startup.conf file as below to strip the vlan, but 
only inner vlan is stripped always. Is there any way we can strip the outer 
vlan via dpdk and keep the inner tag which would eventually be processed via 
subinterfaces ?

dpdk {
        dev 0000:01:00.0 {
                vlan-strip-offload on
        }
}

i see dpdk supports to strip qinq as well but i didnt find corresponding dpdk 
parameter input to the startup.conf file.

Thanks,
Abhilash

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to