Le 16/01/2017 à 01:55, Zhang, Helin a écrit :
Acked-by: Helin Zhang
Acked-by: Vincent Jardin
On Wed, Jan 11, 2017 at 10:56:20AM -0800, Stephen Hemminger wrote:
> Please write generic code. Something like the following (untested).
Despite there are few compile errors (which are easy to fix), it works
fine.
More importantly, it saves near 2000 cycles if I apply the bulk free
to virtio_xmit
Le 16/01/2017 à 06:51, Wenzhuo Lu a écrit :
+ As an EXPERIMENTAL feature, please aware it can be changed or even
+ removed without prior notice.
thank you.
The commit 414b202343ce8ad (bonding: fix initial link status of slave) invokes
lsc callback,
the lsc callback may be executed at same time when slave_configure() and
bond_ethdev_slave_link_status_change_monitor ()
competing for calling the lsc callback. The panic will be triggered when bond
ethd
On Fri, Jan 13, 2017 at 02:13:09PM +0800, Yuanhan Liu wrote:
> But it's not the test methodology I'd expect. You are purely testing
> the instruction cycles. The drop on ARM is something more like "the
> if instruction takes more cycles than the simple assignment".
>
> This macro is used in the ca
On 01/16/2017 08:44 AM, Qiming Yang wrote:
This patch adds a new API 'rte_eth_dev_fw_version_get' for
fetching firmware version by a given device.
Signed-off-by: Qiming Yang
Acked-by: Remy Horton
---
doc/guides/nics/features/default.ini | 1 +
doc/guides/rel_notes/deprecation.rst | 4
On Fri, Jan 13, 2017 at 10:20:55AM +, wangyunjian wrote:
> In function fill_vec_buf, it will happen uint32_t cast to uint16_t, when the
> *desc_chain_len is assigned by the len.
>
> This maybe result in data truncation.
Do you have a real example?
I don't think data truncation could happen h
Hi Zbigniew,
> -Original Message-
> From: Zbigniew Bodek [mailto:zbigniew.bo...@caviumnetworks.com]
> Subject: Re: [PATCH v3 0/8] Add crypto PMD optimized for ARMv8
> On 13.01.2017 09:07, Hemant Agrawal wrote:
> > On 1/4/2017 11:03 PM, zbigniew.bo...@caviumnetworks.com wrote:
> >> From: Z
On Mon, Jan 09, 2017 at 06:46:25PM +0100, Olivier Matz wrote:
> The virtio specifications requires that the L4 checksum is set to the
> pseudo header checksum. You can search for "pseudo header" in the
> following doc:
> http://docs.oasis-open.org/virtio/virtio/v1.0/cs04/virtio-v1.0-cs04.pdf
>
> E
On Wed, Jan 11, 2017 at 06:05:25PM +0100, Olivier Matz wrote:
> When the virtio PMD is used on top of a vhost that does not support
> offloads, Rx offload capabilities are still advertised by
> virtio_dev_info_get(). But if an application tries to start the PMD with
> Rx offloads enabled (rxmode.hw
>
> Besides, it's more like a howto doc instead of prog guide to me, that
> it's better to put it to doc/guides/howto?
Cc Thomas.
--yliu
On 13 January 2017 at 16:16, Hemant Agrawal wrote:
> On 1/4/2017 11:03 PM, zbigniew.bo...@caviumnetworks.com wrote:
>>
>> From: Zbigniew Bodek
>>
>> Add type and name for ARMv8 crypto PMD
>>
>> Signed-off-by: Zbigniew Bodek
>> ---
>> lib/librte_cryptodev/rte_cryptodev.h | 3 +++
>> 1 file chang
On Fri, Jan 13, 2017 at 12:18:41PM +, Jianfeng Tan wrote:
> Signed-off-by: Jianfeng Tan
> ---
> .../img/virtio_user_as_excpetional_path.png| Bin 0 -> 38600 bytes
> doc/guides/prog_guide/index.rst| 1 +
> .../prog_guide/virtio_user_as_exceptional_path.rst | 104
From: Bernard Iremonger
modify set_vf_rx_vlan function to handle the i40e PMD.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 38 +++---
app/test-pmd/config.c | 13 -
app/test-pmd/testpmd.h | 2 --
3 files changed, 31 insertions(+),
Update the NIC doc and release note.
Signed-off-by: Wenzhuo Lu
---
doc/guides/nics/i40e.rst | 1 +
doc/guides/rel_notes/release_17_02.rst | 29 +
2 files changed, 30 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 0
From: Qi Zhang
This patch add support to get/clear VF statistics
from PF side.
Two APIs are added:
rte_pmd_i40e_get_vf_stats.
rte_pmd_i40e_reset_vf_stats.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev.c| 79 +++
drivers/net/i40e/rte_pmd_i40e.h
From: "Chen Jing D(Mark)"
When VF sends request to add a new MAC address, PF host
will check if it's a non-zero or unicast address, or it
will return with error. In fact, VF still can set multicast
address. This change remove to check if it's a unicast
address.
Signed-off-by: Chen Jing D(Mark)
Add testpmd CLI to set VF multicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 93 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++
2 files changed, 102 insertions(+)
diff --git a/app/test-pmd/cmdline.
From: Bernard Iremonger
command is: set vf vlan tag port_id vf_id on|off
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 99 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 ++
2 files changed, 106 insertions(+)
diff --git a/ap
From: Bernard Iremonger
Add command to call rte_pmd_i40e_set_vf_broadcast.
Add set vf broadcast in testpmd_funcs.rst file.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 93 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++
The new VF Daemon (VFD) APIs is implemented on i40e. Change
testpmd code to use them, including VF MAC anti-spoofing,
VF VLAN anti-spoofing, TX loopback, VF VLAN strip, VF VLAN
insert.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Chen Jing D(Mark)
Signed-off-by: Bernard Iremonger
---
app/test-pmd/
From: Bernard Iremonger
add rte_pmd_i40e_set_vf_vlan_filter API.
User can call the API on PF to enable/disable
a set of VF's VLAN filters.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 63 +++
drivers/net/i40e/rte_pmd_i40e.h
Add testpmd CLI to set VF unicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 93 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++
2 files changed, 102 insertions(+)
diff --git a/app/test-pmd/cmdline.c
From: Bernard Iremonger
Add rte_pmd_i40e_set_vf_vlan_tag API.
User can call the API on PF to enable/disable a specific
VF's VLAN tag.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 68 +++
drivers/net/i40e/rte_pmd_i40e.h |
From: Bernard Iremonger
Support enabling/disabling VF broadcast mode from PF.
User can call the API on PF to enable/disable a specific
VF's broadcast mode.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 56 +++
drivers/net/i40e/rte_
From: Bernard Iremonger
Support inserting VF VLAN id from PF.
User can call the API on PF to insert a VLAN id to a
specific VF.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 65 +++
drivers/net/i40e/rte_pmd_i40e.h | 19 ++
From: Ferruh Yigit
If PF sets vf->mac_addr, in VF initialization hw->mac.addr will be set
to that same value. It is possible to check if PF set a MAC address or
not through the hw->mac.addr variable.
hw->mac.addr set by i40e_vf_parse_hw_config(), call stack is:
In PF side
i40e_pf_host_process_c
From: Ferruh Yigit
Support changing VF default MAC address.
This function is not supported if PF set the MAC
address for the PF.
Signed-off-by: Ferruh Yigit
---
drivers/net/i40e/i40e_ethdev.h| 4 +++-
drivers/net/i40e/i40e_ethdev_vf.c | 49 +--
2 files
From: Qi Zhang
This patch implement mtu_set ops for i40e VF.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index f50ac2d
From: Ferruh Yigit
Support setting VF MAC address from PF.
User can call the API on PF to set a specific
VF's MAC address.
PF should set MAC address before VF initialized,
if PF sets the MAC address after VF initialized,
new MAC address won't be effective until VF
reinitialized.
This will remov
From: "Chen Jing D(Mark)"
Add a function to configure vlan strip enable/disable for specific
SRIOV VF device.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/i40e/i40e_ethdev.c| 37 +++
drivers/net/i40e/rte_pmd_i40e.h | 19
dr
From: Qi Zhang
Add missing step during VF reset: PF should
set I40E_VFGEN_RSTAT to ACTIVE at end of the
VF reset operation or VF driver may not able
to detect that reset is already completed.
This patch also remove the unnecessary enum
for vfr state.
Fixes: 4861cde46116 ("i40e: new poll mode dri
Support enabling/disabling VF multicast promiscuous mode from
PF.
User can call the API on PF to enable/disable a specific
VF's multicast promiscuous mode.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 41 +++
drivers/net/i40e/rte_pmd_i40e.
Support enabling/disabling VF unicast promiscuous mode from
PF.
User can call the API on PF to enable/disable a specific
VF's unicast promiscuous mode.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 41 +++
drivers/net/i40e/rte_pmd_i40e.h
Support enabling/disabling TX loopback from PF.
User can call the API on PF to enable/disable TX loopback
for all the PF and VFs.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 241 ++
drivers/net/i40e/rte_pmd_i40e.h | 16 ++
driv
Support enabling/disabling VF MAC anti-spoofing from
PF.
User can call the API on PF to enable/disable a specific
VF's MAC anti-spoofing.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 65 +++
drivers/net/i40e/rte_pmd_i40e.h | 19 +
Add an API to expose the ability, that PF can notify VF
when link status changes, to APP.
So if PF APP doesn't want to enable interruption but check
link status by itself, PF APP can let VF know link status
changed.
Signed-off-by: Wenzhuo Lu
---
MAINTAINERS | 1 +
Support enabling/disabling VF VLAN anti-spoofing from
PF.
User can call the API on PF to enable/disable a specific
VF's VLAN anti-spoofing.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 140 --
drivers/net/i40e/i40e_ethdev.h|
The callback asks the user application if it is allowed to
perform the mailbox messages.
If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED
then continue. If ACK or NACK, do nothing and send
not_supported to VF.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_pf.c | 230 +++
1, VF Daemon (VFD)
VFD is an idea to control all the VFs from PF.
As we need to support the scenario kernel PF + DPDK VF, DPDK follows
the interface between kernel PF + kernel VF.
We don't want to introduce too many new messages between PF and VF.
So this patch set adds some new APIs to control VFs
This patch adds a new API 'rte_eth_dev_fw_version_get' for
fetching firmware version by a given device.
Signed-off-by: Qiming Yang
Acked-by: Remy Horton
---
doc/guides/nics/features/default.ini | 1 +
doc/guides/rel_notes/deprecation.rst | 4
doc/guides/rel_notes/release_17_02.rst |
This patch enhances the ethtool example to support to show
firmware version, in the same way that the Linux kernel
ethtool does.
Signed-off-by: Qiming Yang
Acked-by: Remy Horton
---
examples/ethtool/ethtool-app/ethapp.c | 1 +
examples/ethtool/lib/rte_ethtool.c| 9 +
2 files changed
This patch add a new function i40e_fw_version_get.
Signed-off-by: Qiming Yang
Acked-by: Remy Horton
---
doc/guides/nics/features/i40e.ini | 1 +
drivers/net/i40e/i40e_ethdev.c| 32
2 files changed, 33 insertions(+)
diff --git a/doc/guides/nics/features/i40
This patch adds a new function ixgbe_fw_version_get.
Signed-off-by: Qiming Yang
Acked-by: Remy Horton
---
doc/guides/nics/features/ixgbe.ini | 1 +
drivers/net/ixgbe/ixgbe_ethdev.c | 25 +
2 files changed, 26 insertions(+)
diff --git a/doc/guides/nics/features/ixgbe.
This patch adds a new function eth_igb_fw_version_get.
Signed-off-by: Qiming Yang
Acked-by: Remy Horton
---
doc/guides/nics/features/igb.ini | 1 +
drivers/net/e1000/igb_ethdev.c | 56
2 files changed, 57 insertions(+)
diff --git a/doc/guides/nics/fe
v9: - when fw_size is insufficient, return the size of the non truncated
string as snprintf does.
v8: - defined the minimum fw version size as a macro.
v7: - rebased
v6: - renamed fw_length -> fw_size
- added return value for insufficient fw_size
- fixed the indentation problem in
On Sun, Jan 15, 2017 at 12:04:31PM +, Pablo de Lara wrote:
> Elastic Flow Distributor (EFD) is a distributor library that uses
> perfect hashing to determine a target/value for a given incoming flow key.
> It has the following advantages:
>
> - First, because it uses perfect hashing, it does n
On Sun, Jan 15, 2017 at 12:04:34PM +, Pablo de Lara wrote:
> Signed-off-by: Sameh Gobriel
> Acked-by: Christian Maciocco
Looks like trailing white space error on git am. Please check it
➜ [dpdk] $ pwclient git-am 19363
Applying patch #19363 using 'git am'
Description: [dpdk-dev,v4,4/5] doc:
On Sun, Jan 15, 2017 at 10:29:42PM +0100, Thomas Monjalon wrote:
> 2017-01-12 14:47, Jerin Jacob:
> > +#define rte_read8_relaxed(addr) \
> > + ({ uint8_t __v = *(const volatile uint8_t *)addr; __v; })
>
> Why do you prefer a macro over an inline function?
In this case, I thought of avoiding any
Add two new commands "show port cap " and "show
port cap all"to diaplay what offload capabilities supported
in ports. It will not only display all the capabilities of
the port, but also the enabling condition for each capability
in the running time.
Signed-off-by: Qiming Yang
Acked-by: Jingjing W
>
> If these flags are advertised by a PMD, the NIC supports the MACsec
> offload. The incoming MACsec traffics can be offloaded transparently
> after the MACsec offload is configured correctly by the application.
> And the application can set the PKT_TX_MACSEC flag in mbufs to enable
> the MACs
>
> This commit adds a below event type:
>
> - RTE_ETH_EVENT_MACSEC
>
> This event will occur when the PN counter in a MACsec connection
> reaches the exhaustion threshold.
>
> Signed-off-by: Tiwei Bie
> ---
> lib/librte_ether/rte_ethdev.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff -
Hi, Pablo
I have checked with Wenzhuo, this capability has no way to disable and is
always enable if NIC have this capability.
So I'll change the print to " RX Outer IPv4 checksum:on".
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Yang, Qiming
Sent: Satur
Acked-by: Helin Zhang
-Original Message-
From: Chen, Jing D
Sent: Friday, January 13, 2017 11:13 AM
To: dev@dpdk.org
Cc: dani...@research.att.com; Zhang, Helin ; Yigit,
Ferruh ; vincent.jar...@6wind.com; Wu, Jingjing
; Chen, Jing D
Subject: [PATCH v2 0/4] enhancement to i40e PF host d
Hi Vincent,
> -Original Message-
> From: Vincent JARDIN [mailto:vincent.jar...@6wind.com]
> Sent: Monday, January 16, 2017 7:35 AM
> To: Lu, Wenzhuo
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v9 01/26] net/i40e: support link status
> notification
>
> Le 13/01/2017 à 07:52, Wenzhu
Le 13/01/2017 à 19:32, Ferruh Yigit a écrit :
Please aware VFD is an EXPERIMENTAL feature, it can be changed or even
removed without prior notice.
So new version sent with a experimental tag, this can provide some
flexibility to the feature until proper DPDK PF discussion concluded.
Is there a
Le 13/01/2017 à 07:52, Wenzhuo Lu a écrit :
+ * @b EXPERIMENTAL: this API may change without prior notice
a minor comment here:
+ including be removed.
Thanks John for the kernel support. I'd like to add one thought on this
need from Joshi:
Also, the kernel drivers have no concept of passing VF messages to upstream
"decision making” (or policy enforcement) software like VFd.
It shall be possible to define some Netlink or policy management
2017-01-12 14:47, Jerin Jacob:
> +#define rte_read8_relaxed(addr) \
> + ({ uint8_t __v = *(const volatile uint8_t *)addr; __v; })
Why do you prefer a macro over an inline function?
It won't provide the same "debuggability".
2017-01-12 14:31, Qiming Yang:
> + * @param fw_size
> + * The size of the array pointed by fw_version, which should be
> + * large enough to store firmware version of the device.
> + * @return
> + * - (0) if successful.
> + * - (-ENOTSUP) if operation is not supported.
> + * - (-ENODEV) i
clang reports this error message:
error: this function declaration is not a prototype
[-Werror,-Wstrict-prototypes]
Signed-off-by: Emmanuel Roullit
---
drivers/net/qede/qede_eth_if.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/qede/qede_eth_if.h b/drivers/net/
clang reports the following error:
error: logical not is only applied to the left hand side of this bitwise
operator. [-Werror,-Wlogical-not-parentheses]
Signed-off-by: Emmanuel Roullit
---
drivers/net/cxgbe/cxgbe_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
error: taking address of packed member 'mlock' of class or structure
'rte_mem_config' may result in an unaligned pointer value
[-Werror,-Waddress-of-packed-member]
Signed-off-by: Emmanuel Roullit
---
mk/toolchain/clang/rte.vars.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
2017-01-13 16:32, Olivier Matz:
> On Thu, 12 Jan 2017 10:40:44 +0100, Tomasz Kulasek
> wrote:
> > This patch adds function rte_pktmbuf_linearize to let crypto PMD
> > coalesce chained mbuf before crypto operation and extend their
> > capabilities to support segmented mbufs when device cannot handl
2017-01-13 19:21, Tiwei Bie:
> This patch set adds the MACsec offload support for ixgbe.
> The testpmd is also updated to support MACsec cmds.
Applied, thanks
Minor updates when applying:
- no need of release notes section for mbuf flag (covered by ixgbe entry)
- squashed release notes patch with
John,
Thanks for comments. To answer a specific question you raised:
> Open question for me on this though is the PF in these SRIOV cases
> ever being used by DPDK datapath or is it just being leveraged for
> configuration with primarily control traffic?
In our case, the answer is yes. We intend
Hi Tim,
It's great that you are going to expose the i40E Qos capability, would it be
possible to expose the low-latency configuration too?
Thanks,
Hanoh
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of O'Driscoll, Tim
Sent: Friday, January 13, 2017 12:24 PM
To: de
This new sample app, based on the client/server sample app,
shows the user an scenario using the EFD library.
It consists of:
- A front-end server which has an EFD table that stores the
node id for each flow key, which will distribute the incoming
packets to the different nodes
- A back-end n
Signed-off-by: Sameh Gobriel
Signed-off-by: Pablo de Lara
Acked-by: Christian Maciocco
---
MAINTAINERS |1 +
doc/guides/sample_app_ug/flow_distributor.rst | 494
doc/guides/sample_app_ug/img/flow_distributor.svg | 1254
Signed-off-by: Byron Marohn
Signed-off-by: Karla Saur
Signed-off-by: Saikrishna Edupuganti
Signed-off-by: Pablo de Lara
Acked-by: Christian Maciocco
---
MAINTAINERS | 1 +
app/test/Makefile| 5 +-
app/test/test_efd.c | 494
Elastic Flow Distributor (EFD) is a distributor library that uses
perfect hashing to determine a target/value for a given incoming flow key.
It has the following advantages:
- First, because it uses perfect hashing, it does not store
the key itself and hence lookup performance is not dependent
EFD is a distributor library that uses perfect hashing to determine a
target/value for a given incoming flow key. It has the following advantages:
first, because it uses perfect hashing it does not store the key itself and
hence lookup performance is not dependent on the key size. Second, the
targe
Update
The fault is relevant to VF only
DPDK over i40e PF functions correctly
Regards,
Gregory
On Thu, Jan 12, 2017 at 11:14 AM, Gregory Etelson wrote:
> Hello,
>
>
>
> I have a standalone utility that implements
>
> ICMP ping over DPDK.
>
> When I run the utility with i40e PMD over VF it stac
73 matches
Mail list logo