Getting hw directly on RX fast path without verbs call.
Now the number of scatters is calculating on the fly, according to the
maximum expected packet size.
Signed-off-by: Vasily Philipov
---
The series depends on:
http://dpdk.org/dev/patchwork/patch/27313/
---
drivers/net/mlx4/mlx4.h
Adding support for RX checksum and packet type HW offloads.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c| 11
drivers/net/mlx4/mlx4.h| 2 +
drivers/net/mlx4/mlx4_ethdev.c | 7 ++-
drivers/net/mlx4/mlx4_prm.h| 9
drivers/net/mlx4/mlx4_rxq.c
Providing this parameter requests flow API isolated mode on all ports at
initialization time. It ensures all traffic is received through the
configured flow rules only (see flow command).
Ports that do not support this mode are automatically discarded.
Signed-off-by: Vasily Philipov
---
app
Yes sure, I will send it
> -Original Message-
> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com]
> Sent: Wednesday, July 05, 2017 18:32
> To: Vasily Philipov ; dev@dpdk.org
> Cc: Adrien Mazarguil ; Nélio Laranjeiro
>
> Subject: Re: [dpdk-dev] [PATCH v8 1/4] app/
poll mode driver")
CC: sta...@dpdk.org
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index 16cafae..03c5c98 100644
--- a/drivers/net/mlx4/mlx4.c
+++ b/drivers/net/m
or flow API RSS action support.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 382 +--
drivers/net/mlx4/mlx4.h | 17 +-
drivers/net/mlx4/mlx4_flow.c | 15 ++
3 files changed, 291 insertions(+), 123 deletions(-)
diff --git a/d
configuration
(rte_flow_action_rss.queue[]).
- Because a queue can be associated with a single RSS context, it cannot
be targeted by multiple RSS actions simultaneously.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 6 +-
drivers/net/mlx4/mlx4.h | 5 ++
drivers/net
The user must request isolated mode before device configuration.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 57 +++-
drivers/net/mlx4/mlx4.h | 1 +
drivers/net/mlx4/mlx4_flow.c | 37
drivers/net
Providing this parameter requests flow API isolated mode on all ports at
initialization time. It ensures all traffic is received through the
configured flow rules only (see flow command).
Ports that do not support this mode are automatically discarded.
Signed-off-by: Vasily Philipov
---
app
The user must request isolated mode before device configuration.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 57 +++-
drivers/net/mlx4/mlx4.h | 1 +
drivers/net/mlx4/mlx4_flow.c | 37
drivers/net
configuration
(rte_flow_action_rss.queue[]).
- Because a queue can be associated with a single RSS context, it cannot
be targeted by multiple RSS actions simultaneously.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 2 +-
drivers/net/mlx4/mlx4.h | 5 ++
drivers/net
or flow API RSS action support.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 380
drivers/net/mlx4/mlx4.h | 17 ++-
2 files changed, 274 insertions(+), 123 deletions(-)
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.
Providing this parameter requests flow API isolated mode on all ports at
initialization time. It ensures all traffic is received through the
configured flow rules only (see flow command).
Ports that do not support this mode are automatically discarded.
Signed-off-by: Vasily Philipov
---
app
configuration
(rte_flow_action_rss.queue[]).
- Because a queue can be associated with a single RSS context, it cannot
be targeted by multiple RSS actions simultaneously.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 21 +++--
drivers/net/mlx4/mlx4.h | 5 ++
drivers
ent
set of queues, the PMD must have the ability to dynamically allocate
several parent queues, one per RSS group.
Refactor RSS parent queue allocations (currently limited to a single
parent) in preparation for flow API RSS action support.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/ml
The user must request isolated mode before device configuration,
the default RSS ring isn't created in this case.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 58 +++-
drivers/net/mlx4/mlx4.h | 1 +
drivers/net/mlx4/mlx4_f
Providing this parameter requests flow API isolated mode on all ports at
initialization time. It ensures all traffic is received through the
configured flow rules only (see flow command).
Ports that do not support this mode are automatically discarded.
Signed-off-by: Vasily Philipov
---
app
Insert just created parent queue in a list, keep the list in private
structure.
Signed-off-by: Vasily Philipov
---
The series depends on:
http://dpdk.org/ml/archives/dev/2017-April/064327.html
http://dpdk.org/dev/patchwork/patch/23741/
---
drivers/net/mlx4/mlx4.c | 377
The user must request isolated mode before device configuration,
the default RSS ring isn't created in this case.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 58 +++-
drivers/net/mlx4/mlx4.h | 1 +
drivers/net/mlx4/mlx4_f
In case if --isolated-mode parameter was added to the command line
the rte flow isolate action will be applied on each port before
the device configuring.
Signed-off-by: Vasily Philipov
---
app/test-pmd/parameters.c | 3 +++
app/test-pmd/testpmd.c| 14 ++
app/test-pmd/testpmd.h
The isolated mode should be enabled.
The number of queues in RSS ring must be power of 2.
The sharing a queue between several RSS rings is impossible.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 21 +++--
drivers/net/mlx4/mlx4.h | 5 ++
drivers/net/mlx4/mlx4_flow.c
rte_pktmbuf_headroom() and rte_pktmbuf_tailroom() should be usable
with any segment, not only with headered ones, so is_header should be 0
when we call for sanity check inside them.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Vasily Philipov
> -Original Message-
> From: Wu, Jingjing [mailto:jingjing...@intel.com]
> Sent: Thursday, June 22, 2017 04:13
> To: Vasily Philipov ; dev@dpdk.org
> Cc: Adrien Mazarguil ; Nélio Laranjeiro
>
> Subject: RE: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isol
> -Original Message-
> From: Wu, Jingjing [mailto:jingjing...@intel.com]
> Sent: Tuesday, June 20, 2017 04:27
> To: Vasily Philipov ; dev@dpdk.org
> Cc: Adrien Mazarguil ; Nélio Laranjeiro
>
> Subject: RE: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isol
The isolated mode should be enabled.
The number of queues in RSS ring must be power of 2.
The sharing a queue between several RSS rings is impossible.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 21 +++--
drivers/net/mlx4/mlx4.h | 5 ++
drivers/net/mlx4/mlx4_flow.c
received through the configured flow rules only (see flow command).
This automatically discards ports that do not support this mode.
Signed-off-by: Vasily Philipov
---
app/test-pmd/parameters.c | 3 +++
app/test-pmd/testpmd.c| 14 ++
app/test-pmd/testpmd.h| 1 +
3 files
Insert just created parent queue in a list, keep the list in private
structure.
Signed-off-by: Vasily Philipov
---
The series depends on:
http://dpdk.org/ml/archives/dev/2017-April/064327.html
http://dpdk.org/dev/patchwork/patch/23741/
---
drivers/net/mlx4/mlx4.c | 375
The user must request isolated mode before device configuration,
the default RSS ring isn't created in this case.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 58 +++-
drivers/net/mlx4/mlx4.h | 1 +
drivers/net/mlx4/mlx4_f
In case if --isolated-mode parameter was added to the command line
the rte flow isolate action will be applied on each port before
the device configuring.
Signed-off-by: Vasily Philipov
---
app/test-pmd/parameters.c | 3 +++
app/test-pmd/testpmd.c| 14 ++
app/test-pmd/testpmd.h
The user must request isolated mode before device configuration,
the default RSS ring isn't created in this case.
Signed-off-by: Vasily Philipov
---
The series depends on:
http://dpdk.org/ml/archives/dev/2017-April/064327.html
http://dpdk.org/dev/patchwork/patch/23741/
---
drivers/net
The isolated mode should be enabled.
The number of queues in RSS ring must be power of 2.
The sharing a queue between several RSS rings is impossible.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 2 +-
drivers/net/mlx4/mlx4.h | 5 ++
drivers/net/mlx4/mlx4_flow.c
The isolated mode should be enabled.
The number of queues in RSS ring must be power of 2.
The sharing a queue between several RSS rings is impossible.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 2 +-
drivers/net/mlx4/mlx4.h | 5 ++
drivers/net/mlx4/mlx4_flow.c
In case if --isolated-mode parameter was added to the command line
the rte flow isolate action will be applied on each port before
the device configuring.
Signed-off-by: Vasily Philipov
---
app/test-pmd/parameters.c | 3 +++
app/test-pmd/testpmd.c| 14 ++
app/test-pmd/testpmd.h
The user must request isolated mode before device configuration,
the default RSS ring isn't created in this case.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 431 ++-
drivers/net/mlx4/mlx4.h | 18 +-
drivers/net
In case if --isolated-mode parameter was added to the command line
the rte flow isolate action will be applied on each port before
the device configuring.
Signed-off-by: Vasily Philipov
---
app/test-pmd/parameters.c | 3 +++
app/test-pmd/testpmd.c| 14 ++
app/test-pmd/testpmd.h
The isolated mode should be enabled.
The number of queues in RSS ring must be power of 2.
The sharing a queue between several RSS rings is impossible.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 2 +-
drivers/net/mlx4/mlx4.h | 5 ++
drivers/net/mlx4/mlx4_flow.c
The user must request isolated mode before device configuration,
the default RSS ring isn't created in this case.
Signed-off-by: Vasily Philipov
---
The series depends on:
http://dpdk.org/ml/archives/dev/2017-April/064327.html
http://dpdk.org/dev/patchwork/patch/23741/
---
drivers/net
Signed-off-by: Vasily Philipov
Acked-by: Nelio Laranjeiro
---
This patch applies on top of [1]
[1] http://dpdk.org/dev/patchwork/patch/21415/
drivers/net/mlx4/mlx4.h | 1 +
drivers/net/mlx4/mlx4_flow.c | 149 ---
drivers/net/mlx4/mlx4_flow.h
Toggle Rx scatter mode based on the scatter_enable flag and the maximum
packet size only instead of deriving this information from the jumbo_frame
setting and the MTU configuration.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c| 27 +++
drivers/net
Adding support for the next items: eth, vlan, ipv4, udp, tcp and for the
next actions: queue, drop
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/Makefile|3 +-
drivers/net/mlx4/mlx4.c | 91 +++-
drivers/net/mlx4/mlx4.h |3 +
drivers/net/mlx4/mlx4_flow.c | 1043
Make priv_lock/priv_unlock functions and some other structs/defines visible
from different source files by placing them into mlx4.h header.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 193 +---
drivers/net/mlx4/mlx4.h | 187
Hi Ferruh,
> -Original Message-
> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com]
> Sent: Wednesday, February 22, 2017 21:05
> To: Vasily Philipov ; dev@dpdk.org
> Cc: Adrien Mazarguil ; Nélio Laranjeiro
>
> Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/mlx4: split t
Make some structs/defines visible from different source files by placing
them into mlx4.h header.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 183 ++
drivers/net/mlx4/mlx4.h | 187 +++-
2
Adding support for the next items: eth, vlan, ipv4, udp, tcp and for the
next actions: queue, drop
---
drivers/net/mlx4/Makefile|3 +-
drivers/net/mlx4/mlx4.c | 103 -
drivers/net/mlx4/mlx4.h |3 +
drivers/net/mlx4/mlx4_flow.c | 1053 +
Adding support for the next items: eth, vlan, ipv4, udp, tcp and for the
next actions: queue, drop
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/Makefile|3 +-
drivers/net/mlx4/mlx4.c | 60 ++-
drivers/net/mlx4/mlx4.h |3 +
drivers/net/mlx4/mlx4_flow.c | 1053
Make some structs/defines visible from different source files by placing
them into mlx4.h header.
Signed-off-by: Vasily Philipov
---
drivers/net/mlx4/mlx4.c | 183 ++
drivers/net/mlx4/mlx4.h | 187 +++-
2
| 765
>
> drivers/net/tap/rte_pmd_tap_version.map | 4 +
> mk/rte.app.mk | 1 +
> 10 files changed, 980 insertions(+)
Tested-by: Vasily Philipov
Hi all,
I am trying to run testpmd using bonding:
I have downloaded DPDK 16.07 and run the following command line:
dpdk-install/bin/testpmd -c 0xf -n 4 --vdev 'eth_bond0,mode=0,
slave=:08:00.0' -- --port-topology=chained
And this is the error I get:
EAL: Detected 28 lcore(s
48 matches
Mail list logo