On Mon, Oct 05, 2015 at 01:08:52PM +, Xie, Huawei wrote:
> On 9/30/2015 5:36 AM, Michael S. Tsirkin wrote:
> > On Tue, Sep 29, 2015 at 05:50:00PM +, shesha Sreenivasamurthy (shesha)
> > wrote:
> >> Sure. Then, is there any real reason why the backing files should not be
> >> unlinked ?
> >
On Monday, October 10/05/15, 2015 at 07:09:27 -0700, Ananyev, Konstantin wrote:
> Hi Rahul,
[...]
> > > > This additional check seems redundant for single segment
> > > > packets since rte_pktmbuf_free_seg also performs rte_mbuf_sanity_check.
> > > >
> > > > Several PMDs already prefer to use rte
Dear DPDK experts.
I have a question about specifying constant time interval when using
rte_get_timer_cycles();
Would you let me know how can I specify constant time 30 seconds of DRAIN_TIME?
I will really appreciate if let me know.
uint64_t now, old, DRAIN_TIME ;
DRAIN_TIME = ? // 30 sec
From: Nelio Laranjeiro
ConnectX-4 is able to use indirection tables size of power of two, but
with the current API it is impossible to predict its size, so to simplify,
for any query/update RETA command, the indirection table is modified to use
the maximum value.
A port stop/start must be done t
From: Nelio Laranjeiro
Several NICs can handle 512 entries in their RETA table, an 8 bit field is
not large enough for them.
Signed-off-by: Nelio Laranjeiro
---
lib/librte_ether/rte_ethdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib
From: Nelio Laranjeiro
For RETA query/update with a table of 512 entries, buffers are too small to
handle the request.
Signed-off-by: Nelio Laranjeiro
---
lib/librte_cmdline/cmdline_parse.h| 2 +-
lib/librte_cmdline/cmdline_parse_string.h | 2 +-
lib/librte_cmdline/cmdline_rdline.h
mlx5 devices support indirection tables of variable size up to 512 entries,
which requires a larger configuration structure (requiring a change in the
ABI).
This patchset can be considered as a first RFC step because the current API
is not very practical due to the following limitations:
- Config
From: Nelio Laranjeiro
Add interrupts handler for port status notification.
Signed-off-by: Nelio Laranjeiro
Signed-off-by: Adrien Mazarguil
---
drivers/net/mlx5/mlx5.c | 3 +
drivers/net/mlx5/mlx5.h | 7 ++
drivers/net/mlx5/mlx5_defs.h| 3 +
drivers/net/mlx5/mlx5_eth
From: Nelio Laranjeiro
Add interrupts handler for port status notification.
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx4/mlx4.c | 166
drivers/net/mlx4/mlx4.h | 3 +
2 files changed, 169 insertions(+)
diff --git a/drivers/net/mlx4/mlx
From: Nelio Laranjeiro
Add RTE_INTR_HANDLE_EXT handler type for PMDs that do not support VFIO or
UIO. Those are expected to manage the file descriptor themselves.
Signed-off-by: Nelio Laranjeiro
---
lib/librte_eal/linuxapp/eal/eal_interrupts.c | 34 --
.../linuxapp/e
Mellanox PMDs (mlx4 and mlx5) support link status notification with
libibverbs through a file descriptor, in a manner reminiscent of UIO/VFIO.
It still requires a new "external" interrupt handler type since contrary
to other types, this file descriptor must not be processed by EAL.
Nelio Laranjei
Add new features related to Mellanox OFED 3.1 support.
Signed-off-by: Adrien Mazarguil
---
doc/guides/nics/mlx5.rst | 26 ++
1 file changed, 26 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index fdb621c..2d68914 100644
--- a/doc/guides/n
From: Yaacov Hazan
Seen with GCC < 4.6:
error: unknown field ?tcp_udp? specified in initializer
error: extra brace group at end of initializer
Static initialization of anonymous structs/unions is a C11 feature
properly supported only since GCC 4.6.
Work around compilation errors with older v
For adapters that support it, this flag improves performance outside of VF
context.
Signed-off-by: Adrien Mazarguil
---
drivers/net/mlx5/Makefile | 5 +
drivers/net/mlx5/mlx5_txq.c | 7 +++
2 files changed, 12 insertions(+)
diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Mak
This is done because normal flows cannot support IPv6 at the moment.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/mlx5_mac.c| 18 +-
drivers/net/mlx5/mlx5_rxmode.c | 18 +-
drivers/net/mlx5/mlx5_rxq.c| 14 +++---
From: Nelio Laranjeiro
Normal MAC flows are not necessary when promiscuous mode is enabled.
Removing them frees up hardware resources.
Signed-off-by: Nelio Laranjeiro
Signed-off-by: Adrien Mazarguil
---
drivers/net/mlx5/mlx5_rxmode.c | 15 +--
1 file changed, 13 insertions(+), 2 d
The "show port X rss-hash" command sometimes displays garbage instead of the
expected RSS hash key because the maximum key length is undefined. When the
requested key is too large to fit in the buffer,
rte_eth_dev_rss_hash_conf_get() does not update it.
Signed-off-by: Adrien Mazarguil
Signed-off-
From: Nelio Laranjeiro
DPDK uses a structure to get or set a new hash key (see
eth_rte_rss_hash_conf). rss_hf field from this structure is used in
rss_hash_get_conf to retrieve the hash key and in rss_hash_update uses
it to verify the key exists before trying to update it.
Signed-off-by: Nelio
From: Nelio Laranjeiro
DPDK expects to have an RSS hash key per flow type (IPv4, IPv6, UDPv4,
etc.), to handle this the PMD must keep a table of hash keys to be able
to reconfigure the queues at each start/stop call.
Signed-off-by: Nelio Laranjeiro
Signed-off-by: Adrien Mazarguil
---
drivers/
From: Nelio Laranjeiro
First implementation of rss_hash_update and rss_hash_conf_get, those
functions still lack in functionality but are usable to change the RSS
hash key. For now, the PMD does not handle an indirection table for
each kind of flow (IPv4, IPv6, etc.), the same RSS hash key is us
From: Olga Shern
Promiscuous mode was historically enabled by adding a specific flow with
type IBV_FLOW_ATTR_ALL_DEFAULT to each hash RX queue, but this method is
deprecated. It is now simply enabled by omitting destination MAC addresses
from basic flow specifications.
Signed-off-by: Olga Shern
From: Olga Shern
All hash RX QPs currently use the same flow steering rule (L2 MAC filtering)
regardless of their type (TCP, UDP, IPv4, IPv6), which prevents them from
being dispatched properly. This is fixed by adding flow information to the
hash RX queue initialization data and generating speci
From: Nelio Laranjeiro
Use the maximum size of the indirection table when the number of requested
RX queues is not a power of two, this help to improve RSS balancing.
A message informs users that balancing is not optimal in such cases.
Signed-off-by: Nelio Laranjeiro
Signed-off-by: Adrien Maza
From: Olga Shern
The default hash RX queue handles packets that are not matched by more
specific types and requires its own indirection table of size 1 to work
properly.
This commit implements support for multiple indirection tables by grouping
their layout and properties in a static initializat
These modes are otherwise lost when device is stopped.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/mlx5.h | 2 ++
drivers/net/mlx5/mlx5_rxmode.c | 12
drivers/net/mlx5/mlx5_trigger.c | 4 ++--
3 files changed, 8 insertions(+), 10
The new Verbs RSS API is lower-level than the previous one and much more
flexible but requires RX queues to use Work Queues (WQs) internally instead
of Queue Pairs (QPs), which are grouped in an indirection table used by a
new kind of hash RX QPs.
Hash RX QPs and the indirection table together rep
Removing this structure reduces the size of SG and non-SG RX queue elements
significantly to improve performance.
An nice side effect is that the mbuf pointer is now fully stored in
struct rxq_elt instead of relying on the WR ID data offset hack.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Ol
This commit updates mlx5_rx_burst_sp() to use the fast verbs interface for
posting RX buffers just like mlx5_rx_burst(). Doing so avoids a loop in
libmlx5 and an indirect function call through libibverbs.
Note: recv_sg_list() is not implemented in the QP burst API, this commit is
only to prepare t
Mellanox OFED 3.1 [1] comes with improved APIs that Mellanox ConnectX-4
(mlx5) adapters can take advantage of, such as:
- Separate post and doorbell operations on all queues.
- Lightweight RX queues called Work Queues (WQs).
- Low-level RSS indirection table and hash key configuration.
This patch
Signed-off-by: Adrien Mazarguil
---
doc/guides/nics/mlx5.rst | 308 +++
doc/guides/rel_notes/release_2_2.rst | 8 +
2 files changed, 316 insertions(+)
create mode 100644 doc/guides/nics/mlx5.rst
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nic
This is the same implementation as mlx4.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/mlx5_rxq.c | 14 +++
drivers/net/mlx5/mlx5_rxtx.c | 94 +++
drivers/net/mlx5/mlx5_rxtx.h | 2 +
drivers/net/mlx5/mlx5_ut
All MAC RX flows must be updated with VLAN information when configuring a
VLAN filter.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/Makefile| 1 +
drivers/net/mlx5/mlx5.c | 1 +
drivers/net/mlx5/mlx5.h | 4 ++
drivers/net/mlx5/mlx5_vla
Like most other device control operations, those are handled by the related
kernel network device through syscalls.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/mlx5.c| 2 +
drivers/net/mlx5/mlx5.h| 2 +
drivers/net/mlx5/mlx5_ethdev.c |
Link information is retrieved using ethtool ioctls.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/mlx5.c| 1 +
drivers/net/mlx5/mlx5.h| 1 +
drivers/net/mlx5/mlx5_ethdev.c | 71 ++
3 files changed,
These modes require special non-MAC flows.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/Makefile | 1 +
drivers/net/mlx5/mlx5.c | 4 +
drivers/net/mlx5/mlx5.h | 11 ++
drivers/net/mlx5/mlx5_ethdev.c | 4 +
drivers/net/mlx5/ml
Hardware counters are not supported yet.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/Makefile | 1 +
drivers/net/mlx5/mlx5.c | 2 +
drivers/net/mlx5/mlx5.h | 5 ++
drivers/net/mlx5/mlx5_defs.h | 8 +++
drivers/net/mlx5/mlx5_rxq.c
Depending on the MTU and whether jumbo frames are enabled, RX queues may
switch between SG and non-SG modes for better performance.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
drivers/net/mlx5/mlx5.c| 1 +
drivers/net/mlx5/mlx5.h| 1 +
drivers/net/mlx
A dedicated RX callback is added to handle scattered buffers. For better
performance, it is only used when jumbo frames are enabled and MTU is larger
than a single mbuf.
On the TX path, scattered buffers are also handled in a separate function.
When there are more than MLX5_PMD_SGE_WR_N segments i
This commit adds the remaining missing callbacks to make mlx5 usable.
Like mlx4, device start and stop are implemented on top of MAC RX flows.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
Signed-off-by: Francesco Santoro
Signed-off-by: Didier Pallard
---
drivers/net/mlx5/Ma
This commit adds support for MAC flow steering rules mandatory for the RX
path as well as the related callbacks to add/remove MAC addresses.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
Signed-off-by: Didier Pallard
---
drivers/net/mlx5/mlx5.c | 4 +-
drivers/net/mlx5/
RSS implementation with parent/child QPs comes from mlx4 and is temporary.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Nelio Laranjeiro
---
config/common_bsdapp | 3 +
config/common_linuxapp| 3 +
drivers/net/mlx5/Makefile | 15 +
drivers/net/mlx5/mlx5.c | 40
In its current state, this driver implements the bare minimum to initialize
itself and Mellanox ConnectX-4 adapters without doing anything else
(no RX/TX for instance). It is disabled by default since it is based on the
mlx4 driver and also depends on libibverbs.
Signed-off-by: Adrien Mazarguil
S
This PMD adds basic support for Mellanox ConnectX-4 (mlx5) families of
10/25/40/50/100 Gb/s adapters through the Verbs framework.
Its design is very similar to that of mlx4 from which most of its code is
borrowed without the mistake of putting it all in a single huge file.
It is disabled by defau
From: Didier Pallard
Use the last array entry to store the broadcast address and keep it hidden
by not reporting the entire array size.
This is done to prevent DPDK applications from attempting to modify or
remove it.
Signed-off-by: Didier Pallard
---
drivers/net/mlx4/mlx4.c | 19 +++-
From: Francesco Santoro
Allows applications to retrieve the name of the related netdevice.
Signed-off-by: Francesco Santoro
---
drivers/net/mlx4/mlx4.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index e1ca577..9614471 100644
--- a/d
They were dropped by mistake in the commit below.
Fixes: ab351fe1c95c ("mbuf: remove packet type from offload flags")
Signed-off-by: Adrien Mazarguil
---
drivers/net/mlx4/mlx4.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index 2f49ed5..
On 10/02/2015 07:32 PM, Arevalo, Mario Alfredo C wrote:
> Hi,
>
> Working with the patchset to include new features to make install,
> some questions I missed to ask before:
>
> for example if you use only "make install":
>
> "T" variable is going to get "*" value and the
> makefiles are going to b
Hi Konstantin,
On Monday, October 10/05/15, 2015 at 04:46:40 -0700, Ananyev, Konstantin wrote:
>
>
> > -Original Message-
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rahul Lakkireddy
> > Sent: Monday, October 05, 2015 11:06 AM
> > To: Aaron Conole
> > Cc: dev at dpdk.org;
Hi Aaron,
On Friday, October 10/02/15, 2015 at 14:48:28 -0700, Aaron Conole wrote:
> Hi Rahul,
>
> Rahul Lakkireddy writes:
>
> > Update sge initialization with respect to free-list manager configuration
> > and ingress arbiter. Also update refill logic to refill mbufs only after
> > a certain
Add hierarchy-file support to the DPDK libraries, modules,
binary files, nic bind file, cpu layout file and documentation.
When invoking "make install-fhs" (filesystem hierarchy standard)
runtime files will be by default installed in:
$(DESTDIR)/$(BIN_DIR) where BIN_DIR=/usr/bin (binary files, ni
Add hierarchy-file support to the DPDK makefiles, scripts,
examples, tools, config files and headers.
When invoking "make install-sdk" makefiles, scripts,
examples, tools, config files will be installed in:
$(DESTDIR)/$(SDK_DIR)
and headers will be installed in:
$(DESTDIR)/$(INCLUDE_DIR)
Where SD
Add hierarchy-file support to the DPDK documentation.
When invoking "make install-doc" documentation files will
be installed in: $(DESTDIR)/$(DOC_DIR) where
DOC_DIR=$(DESTDIR)/usr/share/doc/dpdk by default.
You can override DOC_DIR var.
This hierarchy is based on:
http://www.freedesktop.org/softw
Add hierarchy-file support to the DPDK modules.
When invoking "make install-mod" modules will be
installed in: $(DESTDIR)/$(KERNEL_DIR)
If RTE_EXEC_ENV=linuxapp then
KERNEL_DIR=/lib/modules/$(uname -r)/extra/drivers/dpdk
else KERNEL_DIR=/boot/modules by default.
You can override KERNEL_DIR var.
Add hierarchy-file support to the DPDK libraries.
When invoking "make install-lib" libraries will
be installed in:
$(DESTDIR)/$(LIB_DIR)
If architecture is 64 bits then LIB_DIR=/usr/lib64
else LIB_DIR=/usr/lib by default.
You can override LIB_DIR var.
This hierarchy is based on:
http://www.freed
Add hierarchy-file support to the DPDK app files,
nic bind file and cpu layout file.
When invoking "make install-bin" app files will
be installed in: $(DESTDIR)/$(BIN_DIR)
where BIN_DIR=/usr/bin by default.
You can override BIN_DIR var.
This hierarchy is based on:
http://www.freedesktop.org/softw
Add hierarchy-file support to the DPDK headers.
When invoking "make install-headers" headers will
be installed in: $(DESTDIR)/$(INCLUDE_DIR)
where INCLUDE_DIR=/usr/include/dpdk by default.
You can override INCLUDE_DIR var.
This hierarchy is based on:
http://www.freedesktop.org/software/systemd/ma
DPDK package lacks of a mechanism to install libraries, headers
applications, kernel modules and sdk files to a file system tree.
This patch set allows to install files according to the next
proposal:
http://www.freedesktop.org/software/systemd/man/file-hierarchy.html
however this patch set does n
On Mon, Oct 05, 2015 at 07:59:27PM +0900, ??? wrote:
> Dear DPDK experts.
>
> I have a question about specifying constant time interval when using
> rte_get_timer_cycles();
>
> Would you let me know how can I specify constant time 30 seconds of
> DRAIN_TIME?
>
> I will really appreciate if
Hi Rahul,
> -Original Message-
> From: Rahul Lakkireddy [mailto:rahul.lakkireddy at chelsio.com]
> Sent: Monday, October 05, 2015 1:42 PM
> To: Ananyev, Konstantin
> Cc: Aaron Conole; dev at dpdk.org; Felix Marti; Kumar A S; Nirranjan
> Kirubaharan
> Subject: Re: [dpdk-dev] [PATCH 1/6] cx
On 10/5/2015 12:41 PM, Venkateswara Rao Dokku wrote:
> Thanks for the response Stephen.
>
> Are you referring to Virt-IO 0.9 in specific here in the response or for
> any Virt-IO versions in general?
>
> On Thu, Oct 1, 2015 at 8:12 PM, Stephen Hemminger <
> stephen at networkplumber.org> wrote:
>
>
> -Original Message-
> From: Singh, Jasvinder
> Sent: Monday, October 5, 2015 12:14 PM
> To: dev at dpdk.org
> Cc: Dumitrescu, Cristian
> Subject: [PATCH v2] ip_pipeline: add flow id parameter to flow classification
>
> This patch adds flow id field to the flow
> classification table ent
On 9/30/2015 5:36 AM, Michael S. Tsirkin wrote:
> On Tue, Sep 29, 2015 at 05:50:00PM +, shesha Sreenivasamurthy (shesha)
> wrote:
>> Sure. Then, is there any real reason why the backing files should not be
>> unlinked ?
> AFAIK qemu unlinks them already.
Sorry, i didn't make it clear. Let us t
Hello,
We are using Intel 82540EM Gigabit Ethernet Controller NIC card to
capture packets from multicaste ip address. As given in dpdk tutorial,
we need to bind an NIC before using it with dpdk application. The script
'dpdk_nic_bind.py' helps in binding the NIC to dpdk driver, but we are
unabl
This patch adds flow id field to the flow
classification table entries and adds table action
handlers to read flow id from table entry and
write it into the packet meta-data. The flow_id
(32-bit) parameter is also added to CLI commands
flow add, flow delete, etc.
*v2
fixed bug: flow table entry si
On Fri, 2015-10-02 at 16:44 +, Richardson, Bruce wrote:
> I'm not sure about that, to be honest. However, I'd rather not have
> too many cmd line options to be maintained in the code.
>
> Does you proposed blacklisting patch work with non-pci devices as well
> as with PCI ones as now?
I refa
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rahul Lakkireddy
> Sent: Monday, October 05, 2015 11:06 AM
> To: Aaron Conole
> Cc: dev at dpdk.org; Felix Marti; Kumar A S; Nirranjan Kirubaharan
> Subject: Re: [dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwardin
Signed-off-by: Bernard Iremonger
---
drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c
b/drivers/net/vmxnet3/vmxnet3_ethdev.c
index a70be5c..2beee3e 100644
--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
+++ b/drivers/net/v
Signed-off-by: Bernard Iremonger
---
drivers/net/virtio/virtio_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..20059a0 100644
--- a/drivers/net/virtio/virtio_ethdev.c
+++ b/drivers/net/virtio/v
Signed-off-by: Bernard Iremonger
---
drivers/net/mlx4/mlx4.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index 2f49ed5..e7b38da 100644
--- a/drivers/net/mlx4/mlx4.c
+++ b/drivers/net/mlx4/mlx4.c
@@ -4973,6 +4973,9 @@ mlx4_pci_devinit(st
Signed-off-by: Bernard Iremonger
---
drivers/net/enic/enic_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c
index e385560..95baa8a 100644
--- a/drivers/net/enic/enic_ethdev.c
+++ b/drivers/net/enic/enic_ethdev.c
@@ -597,6
Signed-off-by: Bernard Iremonger
---
drivers/net/cxgbe/cxgbe_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c
index 478051a..f081879 100644
--- a/drivers/net/cxgbe/cxgbe_ethdev.c
+++ b/drivers/net/cxgbe/cxgbe_ethde
Signed-off-by: Bernard Iremonger
---
drivers/net/bnx2x/bnx2x_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c
index 09b5920..fbcd5f4 100644
--- a/drivers/net/bnx2x/bnx2x_ethdev.c
+++ b/drivers/net/bnx2x/bnx2x_ethde
Signed-off-by: Bernard Iremonger
---
drivers/net/fm10k/fm10k_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index a69c990..12be227 100644
--- a/drivers/net/fm10k/fm10k_ethdev.c
+++ b/drivers/net/fm10k/fm10k_ethdev
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 3 +++
drivers/net/i40e/i40e_ethdev_vf.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 2dd9fdc..bd81d4e 100644
--- a/drivers/net/i40e/i40e_ethdev
Signed-off-by: Bernard Iremonger
---
drivers/net/e1000/em_ethdev.c | 3 +++
drivers/net/e1000/igb_ethdev.c | 5 +
2 files changed, 8 insertions(+)
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 912f5dd..aa1bf48 100644
--- a/drivers/net/e1000/em_ethdev.c
+++
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index ec2918c..08b5cbb 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethd
From: David Hunt
initialise dev_flags, kdrv, driver, drv_name and numa_node in eth_dev data.
Signed-off-by: David Hunt
Signed-off-by: Bernard Iremonger
---
drivers/net/mpipe/mpipe_tilegx.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/net/mpipe/mpipe_til
From: David Hunt
Initialise dev_flags, driver, kdrv, drv_name and numa_node in eth_dev data.
Signed-off-by: David Hunt
Signed-off-by: Bernard Iremonger
---
drivers/net/xenvirt/rte_eth_xenvirt.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/drivers/net/xenv
From: David Hunt
initialise dev_flags, driver, kdrv, drv_name and numa_node fileds in eth_dev
data.
Signed-off-by: David Hunt
Signed-off-by: Bernard Iremonger
---
drivers/net/af_packet/rte_eth_af_packet.c | 20
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git
remove rte_pcap_pmd and pci_dev.
initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev
data
Signed-off-by: Bernard Iremonger
---
drivers/net/pcap/rte_eth_pcap.c | 31 +--
1 file changed, 9 insertions(+), 22 deletions(-)
diff --git a/drivers/ne
remove pci_dev, pci_drv, rte_bond_pmd and pci_id_table.
initialise dev_flags, kdrv, driver, drv_name and numa_node fields in eth_dev
data.
handle numa_node for vdevs
handle RTE_ETH_DEV_INTR_LSC for vdevs
rename valid_bonded_device to check_for_bonded_device
Signed-off-by: Bernard Iremonger
---
remove rte_ring_pmd and pci_dev.
initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev
data.
Signed-off-by: Bernard Iremonger
---
drivers/net/ring/rte_eth_ring.c | 37 -
1 file changed, 8 insertions(+), 29 deletions(-)
diff --git a/dri
remove rte_null_pmd and pci_dev.
initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev
data
Signed-off-by: Bernard Iremonger
---
drivers/net/null/rte_eth_null.c | 28 +++-
1 file changed, 7 insertions(+), 21 deletions(-)
diff --git a/drivers/net/n
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c | 1 +
lib/librte_ether/rte_ethdev.h | 14 ++
lib/librte_ether/rte_ether_version.map | 7 +++
3 files changed, 22 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte
add dev_flags to rte_eth_dev_data, add macros for dev_flags.
add kdrv to rte_eth_dev_data.
add numa_node to rte_eth_dev_data.
add drv_name to rte_eth_dev_data.
use dev_type to distinguish between vdev's and pdev's.
remove pci_dev branches.
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rt
Signed-off-by: Bernard Iremonger
---
lib/librte_eal/common/include/rte_pci.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/common/include/rte_pci.h
b/lib/librte_eal/common/include/rte_pci.h
index 83e3c28..334c12e 100644
--- a/lib/librte_eal/common/include/r
There is a dummy pci driver in the vdev PMD's at present.
This patch set removes the pci driver from the vdev PMD's.
Changes have been made to librte_ether to handle vdevs and pdevs in the same
way.
The following vdev PMD's have had the pci driver removed:
null
ring
bonding
pcap
af_packet
xenvir
If a system is using deterministic interface names, it may be easier in
some cases to use the interface name to blacklist an interface.
Signed-off-by: Chas Williams <3chas3 at gmail.com>
---
app/test/test_devargs.c | 2 ++
lib/librte_eal/common/eal_common_devargs.c | 9
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Tuesday, September 15, 2015 2:11 PM
> To: Horton, Remy
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [RFC PATCH v1] rte: LCore heartbeat example
>
> Hi,
>
> 2015-09-15 13:16, Remy Hort
Can you please fix this when you get a chance?
(and/or if somebody has a patch - can you please forward)
Thanks
-Navneet
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Alejandro.Lucero
> Sent: Friday, October 2, 2015 12:26 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH 0/3] Support for Netronome?s NFP-6xxx card
>
> From: "Alejandro.Lucero"
>
> Alejandro.Lucero (3):
>
On 10/02/2015 07:26 PM, Arevalo, Mario Alfredo C wrote:
> Hi, Panu, perfect thank you for your feedback, I going to change that
> path by /lib/modules/$(uname -r)/extra/ in my patch.
Hi,
That's not quite what I suggested:
> The default install path for the kernel modules should be somewhe
Thanks for the response Stephen.
Are you referring to Virt-IO 0.9 in specific here in the response or for
any Virt-IO versions in general?
On Thu, Oct 1, 2015 at 8:12 PM, Stephen Hemminger <
stephen at networkplumber.org> wrote:
> On Thu, 1 Oct 2015 09:51:42 +0530
> Venkateswara Rao Dokku wrote
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Christoph Gysin
> Sent: Tuesday, September 29, 2015 7:53 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] eal: fix C++ build (struct member: virtual)
>
> 'virtual' is a keyword and can't be used if the c
> -Original Message-
> From: Singh, Jasvinder
> Sent: Saturday, October 3, 2015 12:20 PM
> To: dev at dpdk.org
> Cc: Dumitrescu, Cristian
> Subject: [PATCH] ip_pipeline: modify action handler in passthrough pipeline
>
>
> Signed-off-by: Jasvinder Singh
> ---
Acked-by: Cristian Dumitre
On Sun, Oct 04, 2015 at 11:12:46PM +0200, Marc Sune wrote:
> This patch redesigns the API to set the link speed/s configure
> for an ethernet port. Specifically:
>
> - it allows to define a set of advertised speeds for
> auto-negociation.
> - it allows to disable link auto-negociation (single fi
96 matches
Mail list logo