Add a new API to enable untag drop for a specific VF. This is an experimental API.
v2: - Add a flag "untag_drop" in i40e_vsi to help track the untag drop status, so it prevent error from i40e_aq_remove_vlan when call rte_pmd_i40e_set_vf_vlan_untag_drop twice. Due to hardware limitation, the error code from i40e_aq_remove_vlan is not able to help distinct a specific double removal error from other errors. Qi Zhang (2): net/i40e: enable VF untag drop app/testpmd: enable VF untag drop in testpmd app/test-pmd/cmdline.c | 104 ++++++++++++++++++++++++++++++++++++++++ drivers/net/i40e/i40e_ethdev.c | 54 +++++++++++++++++++++ drivers/net/i40e/i40e_ethdev.h | 1 + drivers/net/i40e/rte_pmd_i40e.h | 18 +++++++ 4 files changed, 177 insertions(+) -- 2.9.3