Hi, Team. We are using ovs2.13 and dpdk 19.11 from official github repo to build ovsdpdk container in our deployment. For Enic dpdk driver, the ig-vlan-rewrite is using `pass` as default, and it will not attach the header the packet, keep the vlan through the nic to ovs. For enic it will carry with the native vlan, It can’t be recognized by the ovs, so we need to a way to deal with native vlan. That’s why we need to configurate the ig-vlan-rewrite=untag.
But how can I configure ig-vlan-rewrite without changing the dpdk code from ovs side. Here is my discovery: 1. Passed down parameters when dpdk_init(): set ovs other_config:dpdk-extra=" --proc-type primary -w 0000:1c:00.4,ig-vlan-rewrite=untag ", but In eth_enicpmd_dev_init, it got nothing from dev->device->devargs. 2. Configurated eth port from ovs: set the interface options:dpdk-devargs=0000:1c:00.4,ig-vlan-rewrite=untag. By default it won’t trigger eth_enicpmd_dev_init, after ovs-vsctl del-port and ovs-appctl detach port, re-add eth again, still get nothing from the devargs That’s very confused, it looks like it will only get the pci_num from args to found device, then get devargs directly from the device. Thanks for your reply ahead. Reference: http://patches.dpdk.org/project/dpdk/patch/20180628031940.17397-6-johnd...@cisco.com/#82897 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev