Hey Tal, The easiest way to see all the packets per CPU would be to bind the queues to a given CPU they the queue counters would contain the information you're looking for. You could do this with the set_irq_affinity script we provide. Currently the driver doesn't have any structure that is by CPU which would make doing this any other way problematic.
Also the stats aren't incremented in the ixgbe_xmit_frame (hot path) but rather in our service function. Thanks, -Don Skidmore <donald.c.skidm...@intel.com> > -----Original Message----- > From: Tal Abudi [mailto:talab...@gmail.com] > Sent: Wednesday, January 07, 2015 4:40 AM > To: e1000-devel@lists.sourceforge.net > Subject: [E1000-devel] Question - Adding per CPU counters for Multi Queue > > Hi > I'm using ixgbe 3.9.15 and I want to add packets/bytes per cpu counters to > /sys/net / ethtool -S / /proc > > Using ethtool statistics I can see each queue packet and bytes counters (for > RX and TX) but I can't attribute each queue to the handling CPU. > > The ring structure that contains the stats doesn't contain CPU notion and the > ixgbe_xmit_frame flow doesn't update the stats ! > > Any ideas ? > Thanks ! > > -- > Best regards, > Tal Abudi ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired