Re: [dpdk-dev] Byte order of vlan_tci of rte_mbuf is different on different source

2017-08-24 Thread Roger B Melton
Hi folks, Resurrecting this old thread.  I ran across this issue recently in DPDK 17.05, and it's also present in17.08.  It appears no fix was committed.  I'm working on a solution, but if anyone has a fix in flight please let me know. Regards, Roger On 4/29/16 3:29 AM, Olivier Matz wrote:

[dpdk-dev] Byte order of vlan_tci of rte_mbuf is different on different source

2016-04-29 Thread Olivier Matz
Hi, On 04/25/2016 04:35 AM, zhang.xinghua1 at zte.com.cn wrote: > When using I350 working on SR-IOV mode, we got confused that byte order > of vlan_tci in the VF received packet descriptor is different when the > packet source is different. > > 1) Packets from VF to VF, the byte order is big-end

[dpdk-dev] Byte order of vlan_tci of rte_mbuf is different on different source

2016-04-25 Thread zhang.xingh...@zte.com.cn
When using I350 working on SR-IOV mode, we got confused that byte order of vlan_tci in the VF received packet descriptor is different when the packet source is different. 1) Packets from VF to VF, the byte order is big-endian. (e.g. 0xF00) 2) Packets from PC to VF, the byte order is little-endian