[dpdk-dev] ERROR: Invalid module format

2015-09-28 Thread Andrew Harvey (agh)
You problem is caused by compiling against 2 different kernel trees. The version magic for the module must the same (see below). If you still have the deploy machine (3.16.0.30) kernel tree accessible to your build machine you can try setting the RTE_KERNELDIR=. This can be set in your

[dpdk-dev] Cisco DPDK enabled Packet Generator.

2015-08-19 Thread Andrew Harvey (agh)
A couple of people asked me at the SF DPDK Summit about Cisco?s Open Source Packet Generator that leverages DPDK. TRex an open source, low cost, stateful traffic generator fueled by DPDK. It generates L4-7 traffic based on pre-processing and smart replay of real traffic templates. Trex amplifies

[dpdk-dev] [PATCH v7 2/4] ixgbe: add ops to support ethtool ops

2015-06-26 Thread Andrew Harvey (agh)
On 6/25/15, 6:45 AM, "dev on behalf of Stephen Hemminger" wrote: >On Wed, 17 Jun 2015 18:22:13 -0400 >Liang-Min Larry Wang wrote: > >> + >> +static reg_info ixgbe_regs_general[] = { >> +{IXGBE_CTRL, 1, 1, "IXGBE_CTRL"}, >> +{IXGBE_STATUS, 1, 1, "IXGBE_STATUS"}, >> +{IXGBE_CTRL_EXT,

[dpdk-dev] [PATCH v7 0/4] User-space Ethtool

2015-06-24 Thread Andrew Harvey (agh)
-ethtool/lib/rte_ethtool.h > create mode 100644 examples/l2fwd-ethtool/nic-control/Makefile > create mode 100644 examples/l2fwd-ethtool/nic-control/nic_control.c > create mode 100644 lib/librte_ether/rte_eth_dev_info.h > >-- >2.1.4 Acked-by: Andrew Harvey (agh)

[dpdk-dev] Debugging SR-IOV related packet flow problem with DPDK

2015-06-17 Thread Andrew Harvey (agh)
Please type the following: dmesg | grep DMAR. I think you will find that rebinding the uio driver has caused issues, uio know nothing about the iommu. If you can you may have better luck with the vfio driver. HTH ? Andy On 6/17/15, 3:52 AM, "dev on behalf of Anjali Kulkarni" wrote: >Folks,

[dpdk-dev] [PATCH v6 0/4] User-space Ethtool

2015-06-13 Thread Andrew Harvey (agh)
s/l2fwd-ethtool/lib/rte_ethtool.c > create mode 100644 examples/l2fwd-ethtool/lib/rte_ethtool.h > create mode 100644 examples/l2fwd-ethtool/nic-control/Makefile > create mode 100644 examples/l2fwd-ethtool/nic-control/nic_control.c > create mode 100644 lib/librte_ether/rte_eth_dev_info.h > >-- >2.1.4 Acked-by: Andrew Harvey (agh)

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-06-05 Thread Andrew Harvey (agh)
On 6/5/15, 5:47 AM, "Bruce Richardson" wrote: >On Fri, Jun 05, 2015 at 11:25:09AM +, Wang, Liang-min wrote: >> >> >> > -Original Message- >> > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] >> > Sent: Friday, June 0

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-06-05 Thread Andrew Harvey (agh)
On 6/5/15, 3:46 AM, "Thomas Monjalon" wrote: >2015-06-04 22:10, Andrew Harvey: >> On 6/4/15, 7:58 AM, "Stephen Hemminger" >>wrote: >> >"Andrew Harvey (agh)" wrote: >> >> I believe that their is value in this interface for

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-06-04 Thread Andrew Harvey (agh)
On 6/4/15, 7:58 AM, "Stephen Hemminger" wrote: >On Wed, 3 Jun 2015 02:09:39 +0000 >"Andrew Harvey (agh)" wrote: > >> I believe that their is value in this interface for software stacks not >> based on Linux being moved toward DPDK that need simple o

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-06-03 Thread Andrew Harvey (agh)
I believe that their is value in this interface for software stacks not based on Linux being moved toward DPDK that need simple operations like getting the mac address. Some of these stacks have a dearth of resources available and dedicating a core/thread to KNI to get/set a mac address is

[dpdk-dev] [PATCH 1/2] ethdev: add api to set default mac address

2015-05-30 Thread Andrew Harvey (agh)
; * > * @param port >diff --git a/lib/librte_ether/rte_ether_version.map >b/lib/librte_ether/rte_ether_version.map >index a2d25a6..2dbbaa7 100644 >--- a/lib/librte_ether/rte_ether_version.map >+++ b/lib/librte_ether/rte_ether_version.map >@@ -102,6 +102,7 @@ DPDK_2.0 { > rte_eth_tx_queue_setup; > rte_eth_xstats_get; > rte_eth_xstats_reset; >+ rte_eth_dev_default_mac_addr_set; > > local: *; > }; >-- >2.1.4 Acked-by: Andrew Harvey (agh)