[dpdk-dev] [vlan offload] does I350 support vlan offload?

真我风采 1534057243 at qq.com
Sun Feb 4 02:26:00 CET 2018


Hi, All:
     I want to use I350 vlan offload feature to impove performance, but get in trouble. 
     After enable port_conf.hw_vlan_strip, i can get vlan id in mbuf->vlan_tci, which indicate vlan rx offload is ok.
but when enable vlan tx offload as below steps,
    a. set vlan id in mbuf->vlan_tci
    b. set PKT_TX_VLAN_PKT in mbuf->ol_flags
then call rte_eth_tx_burst to transmit, and return value is greater than 0(actually 1), but cannot dump pkt with vlan id 
on opposite server.


   So does I350 supports vlan tx offload? or my usage have error ?


Thanks!


More information about the dev mailing list