Actually that didnt work for me. I added both the flag and called
rte_eth_dev_vlan_filter() for the rellevant port and vlan, however no packets
are sent.
BTW, how flag resposible for rx is relevant for my tx problem?
Thanks
Yan
Sent from my Huawei Mobile
Original Message
Sub
Thanks a lot, I will check and update.
-Yan
From: Dey, Souvik
Sent: Monday, June 15, 2020 3:44 PM
To: Yan Fridland
Cc: dev@dpdk.org
Subject: RE: i40eVF pmd vlan id handling
We need to enable DEV_RX_OFFLOAD_VLAN_FILTER from the DPDK app, and then
configure the specific vlan id using rte_eth_dev
We need to enable DEV_RX_OFFLOAD_VLAN_FILTER from the DPDK app, and then
configure the specific vlan id using rte_eth_dev_vlan_filter() to have vlan id
come up to the guest. By default in VmWare I guess VLAN+MAC filtering gets
enabled as, we set 0/4095 vlan_id on the VF to allow all Vlans. Can y
Hi Beilei,
Yes , as per our requirement, we need to have vlan stripped disabled,
when we enable vlan filter and add vlan to the PF from the guest, so that the
vlan id comes upto the app in the packet itself without striping. We also tried
to call rte_vlan_insert in the packet receive side,
Hi Souvik,
With kernel PF + DPDK VF, enable vlan filter and disable vlan strip on VF side,
is this your requirement?
If yes, I think you can do . vlan_offload_set after doing . vlan_filter_set on
VF side.
BR,
Beilei
From: Dey, Souvik
Sent: Tuesday, April 14, 2020 4:04 AM
To: dev@dpdk.org; us.
On debugging further it looks like that linux driver enables vlan_striping by
default when VIRTCHNL_OP_ADD_VLAN is sent to the PF.
static int i40e_vc_add_vlan_msg(struct i40e_vf *vf, u8 *msg)
{
.
i40e_vlan_stripping_enable(vsi);
}
Due to this when ever we enable vlan o
Hi All,
I am using DPDK 18.11.2 and i40e PF linux driver on the host 2.4.6. I
see there, when I enable DEV_RX_OFFLOAD_VLAN_FILTER from the DPDK app, and then
configure the specific vlan id using rte_eth_dev_vlan_filter(). As per DPDK
code by default when we do dev_configure, we call i40e
7 matches
Mail list logo