Re: [vpp-dev] Does vector header always be aligned ?

2018-09-17 Thread Dai, Wei
.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Dai, Wei > Sent: Monday, September 17, 2018 11:29 AM > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] Does vector header always be aligned ? > > If a vec header had better be aligned at 8 byte boundary, currently > _vec_resize_inline( )

[vpp-dev] Does vector header always be aligned ?

2018-09-16 Thread Dai, Wei
If a vec header had better be aligned at 8 byte boundary, currently _vec_resize_inline( ) can't guarantee the vec header is aligned as no alignment requirement of vec header is input into this function. For example, when a hash is created, the hash vector (hash_pair_t) is aligned at 8 byte bound

Re: [vpp-dev] [csit-dev] The environment variable PATH is changed after "Setup Framework"

2018-07-24 Thread Dai, Wei
o:csit-...@lists.fd.io] On Behalf Of Vratko > Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io > Sent: Monday, July 23, 2018 9:19 PM > To: Dai, Wei ; csit-...@lists.fd.io; vpp-dev@lists.fd.io > Cc: csit-...@lists.fd.io > Subject: Re: [csit-dev] The environment variable

[vpp-dev] The environment variable PATH is changed after "Setup Framework"

2018-07-20 Thread Dai, Wei
Hi, All When I run "pybot -L TRACE -v TOPOLOGY_PATH:topologies/available/my-csit.yaml -s eth2p-eth-l2xcbase-func tests" It failed due to "not found lspci on TG". I add the code : return_code, _, _ = ssh.exec_command('echo $PATH') just before cmd = "[[ -f /etc/redhat-release ]]" in the function