Re: [vpp-dev] n_vectors...

2020-04-06 Thread Burt Silverman
I had to go through slowly and take lots of Dramamine to get my head to stop spinning while I read through everything. I agree -- referring to a frame as a vector when it is not a vector in the sense of the infrastructure vector makes something relatively straightforward into something unnecessaril

Re: [vpp-dev] n_vectors...

2020-04-06 Thread Elias Rudberg
Hi Burt, Thanks, but then I think you mean the vectors as in src/vppinfra/vec.h but the discussion here was about how the name "n_vectors" is used in for example src/vlib/node.h and such places. It's a different thing. If we have a situation like this, now first described using a picture without

Re: [vpp-dev] n_vectors...

2020-04-06 Thread Burt Silverman
>If you imagine yourself in the position of someone who is a newcomer >starting to use and learn about VPP. Perhaps someone with an >engineering background who has an understanding of the "vector" concept >from linear algebra courses and so on. Speaking as someone who knows very little about the

Re: [vpp-dev] n_vectors...

2020-04-06 Thread Elias Rudberg
Hi Dave, Thanks for your answer, I understand that there are many difficulties and problems with renaming things in existing code which I did not realize before. > P.S. mapping "n_vectors" to whatever it means to you seems like a > pretty minimal entry barrier. It's not like the code is inconsist

Re: [EXT] Re: [vpp-dev] n_vectors...

2020-04-02 Thread Nitin Saxena
2020 7:36 PM > To: Elias Rudberg > Cc: Christian Hopps ; dbar...@cisco.com; vpp- > d...@lists.fd.io > Subject: [EXT] Re: [vpp-dev] n_vectors... > > External Email > > -- > > > > On Mar 31, 2020,

Re: [vpp-dev] n_vectors...

2020-03-31 Thread Christian Hopps
processing, or any other kind of >> vector processing. There’s no law which says that frames need to have >> 32-bit elements. Each node decides. >> >> FWIW... Dave >> >> From: vpp-dev@lists.fd.io On Behalf Of >> Christian Hopps >> Sent: Monday, March 30

Re: [vpp-dev] n_vectors...

2020-03-31 Thread Dave Barach via Lists.Fd.Io
It's not like the code is inconsistent. -Original Message- From: Elias Rudberg Sent: Tuesday, March 31, 2020 9:21 AM To: Dave Barach (dbarach) ; cho...@chopps.org; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] n_vectors... Hi Chris and Dave, Thanks for bringing this up, and thanks for explai

Re: [vpp-dev] n_vectors...

2020-03-31 Thread Elias Rudberg
n Behalf Of > Christian Hopps > Sent: Monday, March 30, 2020 8:07 PM > To: vpp-dev > Cc: Christian Hopps > Subject: [vpp-dev] n_vectors... > > Something has always bothered me about my understanding of VPPs use > of the term "vector" and "vectors".

Re: [vpp-dev] n_vectors...

2020-03-30 Thread Dave Barach via Lists.Fd.Io
no law which says that frames need to have 32-bit elements. Each node decides. FWIW... Dave From: vpp-dev@lists.fd.io On Behalf Of Christian Hopps Sent: Monday, March 30, 2020 8:07 PM To: vpp-dev Cc: Christian Hopps Subject: [vpp-dev] n_vectors... Something has always bothered me about my

[vpp-dev] n_vectors...

2020-03-30 Thread Christian Hopps
Something has always bothered me about my understanding of VPPs use of the term "vector" and "vectors". When I think of Vector Packet Processing I think of processing a vector (array) of packets in a single call to a node. The code, though, then seems to refer to the individual packets as "vecto