- RTE_FLOW_ITEM_TYPE_PPPOES: matches a PPPoE session header.
- RTE_FLOW_ITEM_TYPE_PPPOED: matches a PPPoE discovery header.
- RTE_FLOW_ITEM_TYPE_PPPOE_PROTO_ID: matches a PPPoE session
protocol identifier.
Signed-off-by: Wang Ying A
---
app/test-pmd/cmdline_flow.c | 57 ++
patch 1/2: Add GTP extension header to flow API.
patch 2/2: Add PPPoE to flow API.
---
v4: Fix PPPoE testpmd cmdline issue.
v3: Split original patch, one for GTP and the other for PPPoE.
Add RTE_FLOW_ITEM_TYPE_PPPOE_PROTO_ID for PPPoE session packets.
v2: Remove Gerrit Change-Id's.
---
Wang Y
- RTE_FLOW_ITEM_TYPE_GTP_PSC: matches a GTP
PDU extension header (PDU session container).
Signed-off-by: Wang Ying A
---
app/test-pmd/cmdline_flow.c | 36 +
doc/guides/prog_guide/rte_flow.rst | 9
doc/guides/testpmd_app_ug/testpmd_
> -Original Message-
> From: Fiona Trahe
> Sent: Tuesday, August 27, 2019 10:56 PM
> To: dev@dpdk.org
> Cc: akhil.go...@nxp.com; Ashish Gupta ; Shally
> Verma ; Fiona Trahe
> Subject: [PATCH] doc/compressdev: clarify that structs should be zeroed
> before use
>
> Some structs used on
Hello,
Following are the work items planned for 19.11 release:
1) Integrate WFE/SEV instructions in spinlock and ring library
2) Add support for lock-free stack mempool handler
3) Integrate LPM and Hash libraries with RCU
4) Enable lock-free data path algorithms in L3-Fwd application
5) Te
This ensures secondary processes never have to
calculate the TSC rate themselves, which can be
noticeable in VMs that don't have access to
arch-specific detection mechanism (such as
CPUID leaf 0x15 or MSR 0xCE on x86).
Since rte_mem_config is now internal to the rte_eal
library, we can add tsc_hz
The sw PMD implements xstats reset by having the xstat get operations
return a value to the statistic's value at the last reset. The value at the
last reset is maintained in the per-xstat reset_value field, but the PMD
was setting reset_value = current - reset_value instead of reset_value =
current
Andrew Rybchenko writes:
> It is the first patch series to get rid of void returning functions
> in ethdev in accordance with deprecation notice [1].
This is a huge series, and I suggest to combine some of the work, and/or
break it up.
Additionally, this patch breaks the ring_pmd_autotest unit
On Tue, 27 Aug 2019 15:25:24 +0100
Andrew Rybchenko wrote:
> From: Ivan Ilchenko
>
> rte_eth_dev_info_get() return value was changed from void to int,
> so this patch modify rte_eth_dev_info_get() usage across
> net/netvsc according to its new return type.
>
> Signed-off-by: Ivan Ilchenko
> S
On Wed, 28 Aug 2019 01:00:16 +0530
Nitin Katiyar wrote:
> Even if whitelist of devices is provided, rte_pci_probe() increments
> the probed counter for all the devices present in the system. If probe
> fails for all the whitelisted devices it still return success because
> failed and probed count
From: Rastislav Cernay
The rte_eth_dev_close() function now handles freeing resources for
devices (e.g., mac_addrs). To conform with the new close() behaviour we
are asserting the RTE_ETH_DEV_CLOSE_REMOVE flag so that
rte_eth_dev_close() releases all device level dynamic memory.
Signed-off-by:
From: Rastislav Cernay
The rte_eth_dev_close() function now handles freeing resources for
devices (e.g., mac_addrs). To conform with the new close() behaviour we
are asserting the RTE_ETH_DEV_CLOSE_REMOVE flag so that
rte_eth_dev_close() releases all device level dynamic memory.
Signed-off-by:
Hi all,
Just putting it out there that the DPDK compressdev API has been available
since 18.05, has had minimal change in recent releases and can be considered
mature enough to have the experimental label removed.
I'd like to make this change in the 19.11 release.
Opinions?
Regards,
Fiona
Some structs used on the API are zeroed on creation by API calls,
(e.g. rte_comp_op), but a few are allocated in the application domain.
Clarify that the application should zero those to enable future
extensions without API breakage.
Signed-off-by: Fiona Trahe
---
doc/guides/prog_guide/compressd
Adding a Dockerfile with Ubuntu bionic base image to build dpdk
as shared library. This docker image could be used as base image to
build and run dpdk applications in containers.
Signed-off-by: Abdul Halim
---
extras/Dockerfile.ubuntu | 38 ++
extras/README.md
The testpmd application provides two sets of commands for RX offload
flags configuration. The purpose of this patch is to eliminate this
duplication by removing the old set of commands:
“port config all crc-strip|scatter|rx-cksum|rx-timestamp|hw-vlan|
hw-vlan-filter|hw-vlan-strip|hw-vlan-extend on|
On 8/22/2019 6:53 AM, Ajit Khaparde wrote:
> From: Kalesh AP
>
> Refactor init and uninit functions so that the driver can fail
> the eth_dev_ops callbacks and accessing Tx and Rx queues
> when device is in reset or in error state.
>
> Transmit and receive queues are freed during reset cleanup a
On Tue, Aug 27, 2019 at 7:56 PM Andrew Rybchenko
wrote:
>
> From: Ivan Ilchenko
>
> rte_eth_dev_info_get() return value was changed from void to int, so
> this patch modify rte_eth_dev_info_get() usage across
> net/bnxt according to its new return type.
>
> Signed-off-by: Ivan Ilchenko
> Signed-
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/exception_path according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/exception_path/mai
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/ethtool according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/ethtool/ethtool-app/main.
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/load_balancer according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/load_balancer/init.
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/kni according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/kni/main.c | 26 +
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/l2fwd-keepalive according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/l2fwd-keepalive/m
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/netmap_compat according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/netmap_compat/lib/c
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/ip_pipeline according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/ip_pipeline/kni.c |
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/ipsec-secgw according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/ipsec-secgw/ipsec-sec
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/multi_process according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/multi_process/symme
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/packet_ordering according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/packet_ordering/m
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/flow_classify according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/flow_classify/flow_
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/performance-thread according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/performance-th
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/l2fwd-crypto according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/l2fwd-crypto/main.c
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/tep_termination according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/tep_termination/v
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/server_node_efd according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/server_node_efd/s
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/ptpclient according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/ptpclient/ptpclient.c |
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/link_status_interrupt according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/link_status
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/vhost according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/vhost/main.c | 9 -
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/ip_reassembly according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/ip_reassembly/main.
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/eventdev according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/eventdev_pipeline/main.c
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/l2fwd-jobstats according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/l2fwd-jobstats/mai
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/bond according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/bond/main.c | 14 +++
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/ipv4_multicast according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/ipv4_multicast/mai
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/skeleton according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/skeleton/basicfwd.c | 8
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/vmdq_dcb according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/vmdq_dcb/main.c | 18 +++
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/l2fwd according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/l2fwd/main.c | 8 +++-
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/l3fwd-power according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/l3fwd-power/main.c |
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/qos_sched according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/qos_sched/init.c | 8 ++
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/flow_filtering according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/flow_filtering/mai
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/vm_power according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/vm_power_manager/main.c
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/l3fwd-acl according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/l3fwd-acl/main.c | 22 +
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/vmdq according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/vmdq/main.c | 16 +++
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/distributor according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/distributor/main.c |
From: Ivan Ilchenko
Change rte_eth_dev_info_get() return value from void to int and return
negative errno values in case of error conditions.
Modify rte_eth_dev_info_get() usage across the ethdev according
to new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
do
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
net/softnic according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
drivers/net/softnic/rte_eth_softnic_lin
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/ip_frag according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/ip_fragmentation/main.c |
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
net/bonding according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
drivers/net/bonding/rte_eth_bond_api.c
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/l3fwd according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/l3fwd/main.c | 14 +
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to int,
so this patch modify rte_eth_dev_info_get() usage across
net/netvsc according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
drivers/net/netvsc/hn_vf.c | 10
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to int, so
this patch modify rte_eth_dev_info_get() usage across
net/bnxt according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
drivers/net/bnxt/rte_pmd_bnxt.c | 122
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
app/test/test_event_eth_rx_adapter.c according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
app/test/test_
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to int,
so this patch modify rte_eth_dev_info_get() usage across
app/test/test_link_bonding_rssconf.c according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
app/test/test_
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/qos_meter according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/qos_meter/main.c | 16 +
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
examples/rxtx_callbacks according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
examples/rxtx_callbacks/mai
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to int,
so this patch modify rte_eth_dev_info_get() usage across
pdump component according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
lib/librte_pdump/rte_pdump.c | 9 ++
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to int,
so this patch modify rte_eth_dev_info_get() usage across
app/test/test_kni.c according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
app/test/test_kni.c | 27 ++
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to int, so
this patch modify rte_eth_dev_info_get() usage across app/test-eventdev
according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
app/test-eventdev/test_perf_commo
It is the first patch series to get rid of void returning functions
in ethdev in accordance with deprecation notice [1].
The patch to change dev_infos_get callback prototype to allow driver
return error will follow.
[1] https://patches.dpdk.org/patch/56969/
Ivan Ilchenko (51):
ethdev: change r
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to int, so
this patch modify rte_eth_dev_info_get() usage across app/procinfo
according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
app/proc-info/main.c | 15
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
latency component according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
lib/librte_latencystats/rte_laten
From: Ivan Ilchenko
rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
app/test/test_pmd_ring.c according to its new return type.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
app/test/test_pmd_ring.c |
From: Ivan Ilchenko
Add eth_dev_info_get_print_err() which is a wrapper for
rte_eth_dev_info_get() printing error if rte_eth_dev_info_get()
fails and returning its status code.
Signed-off-by: Ivan Ilchenko
Signed-off-by: Andrew Rybchenko
---
app/test-pmd/cmdline.c | 119 +
On 27/08/2019 09:28, Ray Kinsella wrote:
>
>
> On 27/08/2019 09:17, Bruce Richardson wrote:
>> On Mon, Aug 26, 2019 at 05:45:55PM +0100, Ray Kinsella wrote:
>>>
>>>
>>> On 23/08/2019 16:49, Aaron Conole wrote:
Ray Kinsella writes:
> This patchset adds ABI version testing to the
On Tue, Aug 27, 2019 at 01:04:18PM +0100, Burakov, Anatoly wrote:
> On 26-Aug-19 2:44 PM, Jim Harris wrote:
> > Ideally, get_tsc_freq_arch() is able to provide the
> > TSC rate using arch-specific means. When that is not
> > possible, DPDK reverts to calculating the TSC rate with
> > a 100ms nanos
Nitin Katiyar writes:
> rte_bus_probe() doesn't return error. As a result rte_eal_init()
> doesn't catch this error and thus making dpdk initialization
> successful despite probe failing for devices.
>
> This patch returns error if probe fails for any of device.
>
> Signed-off-by: Nitin Katiyar
On 8/22/2019 6:53 AM, Ajit Khaparde wrote:
> From: Kalesh AP
>
> Signed-off-by: Kalesh AP
> Reviewed-by: Somnath Kotur
> Reviewed-by: Ajit Khaparde
> ---
> drivers/net/bnxt/hsi_struct_def_dpdk.h | 137 +
> 1 file changed, 137 insertions(+)
Hi Kalesh,
As far as I can
On 8/23/19 4:19 AM, Stephen Hemminger wrote:
On Thu, 22 Aug 2019 02:17:50 +0530
wrote:
From: Pavan Nikhilesh
Add new Rx offload flag `DEV_RX_OFFLOAD_RSS_HASH` which can be used to
enable/disable PMDs write to `rte_mbuf::hash::rss`.
PMDs notify the validity of `rte_mbuf::hash:rss` to the appl
On 8/23/2019 4:28 PM, John W. Linville wrote:
> On Thu, Aug 22, 2019 at 11:55:36AM +0530, Abhishek Sachan wrote:
>> af_packet driver is leaving stale socket after device is removed.
>> Ring buffers are memory mapped when device is added using rte_dev_probe.
>> There is no corresponding munmap call
On 8/23/2019 11:17 AM, Andrew Rybchenko wrote:
> On 8/20/19 4:45 PM, David Marchand wrote:
>> spi should be set with network endian values.
>> While 0x == htonl(0x), this missing annotation is caught
>> by sparse when compiling ovs (dpdk-latest branch).
>>
>> Fixes: d4b684f7197a ("n
wt., 16 lip 2019 o 22:43 Stephen Hemminger
napisał(a):
>
> The generic RTE_LOGTYPE_PMD is a historical relic and should
> not be used. Every driver must use dynamic logtypes.
>
> Compile tested only!
>
> Signed-off-by: Stephen Hemminger
Tested-by: Michal Krawczyk
> ---
> drivers/net/ena/base/e
On Tue, Aug 27, 2019 at 01:04:18PM +0100, Burakov, Anatoly wrote:
> On 26-Aug-19 2:44 PM, Jim Harris wrote:
> > Ideally, get_tsc_freq_arch() is able to provide the
> > TSC rate using arch-specific means. When that is not
> > possible, DPDK reverts to calculating the TSC rate with
> > a 100ms nanos
On 8/18/2019 10:37 AM, Andrew Rybchenko wrote:
> There is no RTE_FDIR_DISABLE. The right name is RTE_FDIR_MODE_NONE.
>
> Fixes: af75078fece3 ("first public release")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Andrew Rybchenko
Applied to dpdk-next-net/master, thanks.
From: Dekel Peled
> Constant MLX5_GROUP_FACTOR is defined with value 1, and used to
> multiply group value in two places.
>
> This patch removes the unneeded constant definition and use.
>
> Cc: sta...@dpdk.org
>
> Signed-off-by: Dekel Peled
Acked-by: Matan Azrad
On 8/12/2019 12:19 PM, Rastislav Cernay wrote:
> From: Rastislav Cernay
>
> The rte_eth_dev_close() function now handles freeing resources for
> devices (e.g., mac_addrs). To conform with the new close() behaviour we
> are asserting the RTE_ETH_DEV_CLOSE_REMOVE flag so that
> rte_eth_dev_close()
On 26-Aug-19 2:44 PM, Jim Harris wrote:
Ideally, get_tsc_freq_arch() is able to provide the
TSC rate using arch-specific means. When that is not
possible, DPDK reverts to calculating the TSC rate with
a 100ms nanosleep or 1s sleep. The latter occurs more
frequently in VMs which often do not hav
Unit test cases are added for eal vfio library.
eal_vfio_autotest added to meson build file.
Signed-off-by: Chaitanya Babu Talluri
---
app/test/Makefile| 1 +
app/test/meson.build | 2 +
app/test/test_eal_vfio.c | 736 +++
3 files changed, 739
Unmap fails when there are duplicate entries in user_mem_maps.
The fix is to validate if the input VA, IOVA exists or
overlaps in user_mem_maps before creating map.
Fixes: 73a63908 ("vfio: allow to map other memory regions")
Cc: sta...@dpdk.org
Signed-off-by: Chaitanya Babu Talluri
---
lib/lib
Add rte_vfio_iommu_type_is_set() to check IOMMU
type for default container.
Signed-off-by: Chaitanya Babu Talluri
---
lib/librte_eal/common/include/rte_vfio.h | 10 ++
lib/librte_eal/linux/eal/eal_vfio.c | 16
2 files changed, 26 insertions(+)
diff --git a/lib/libr
Unmapping page with a VA that is found in the list
of current mappings will succeed even if the IOVA
for the chunk that is being unmapped,is mismatched.
Fix it by checking if IOVA address matches the
expected IOVA address exactly.
Fixes: 73a6390859 ("vfio: allow to map other memory regions")
Cc:
1/4: fix vfio unmap that fails unexpectedly
2/4: fix vfio unmap that succeeds unexpectedly
3/4: add API to check iommu type is set
4/4: add unit tests for eal vfio
Patch 4/4 depends on 1/4,2/4,3/4
Signed-off-by: Chaitanya Babu Talluri
---
v3: Added API to check iommu type.
v2: Updated commit mes
On 8/2/2019 9:57 AM, Sylvain Rodon wrote:
> From: Sylvain Rodon
>
> Timestamp is always set in PCAP header, whether it reads a file or
> listen on an interface. This information can be important for some
> applications and it cannot be obtained otherwise (especially when
> reading a PCAP file, wh
rte_bus_probe() doesn't return error. As a result rte_eal_init()
doesn't catch this error and thus making dpdk initialization
successful despite probe failing for devices.
This patch returns error if probe fails for any of device.
Signed-off-by: Nitin Katiyar
---
lib/librte_eal/common/eal_commo
Even if whitelist of devices is provided, rte_pci_probe() increments
the probed counter for all the devices present in the system. If probe
fails for all the whitelisted devices it still return success because
failed and probed counts don't match.
This patch increments probed count only when devic
Hi,
> Could you elaborate more about the issue that this patch trying to solve?
this issue is:start l3fwd-power with pf port0 bind to vfio-pci,there was no
response when send packets to l3fwd-power in x552/x557.
> -Original Message-
> From: Ye, Xiaolong
> Sent: Tuesday, August 27, 2019
Constant MLX5_GROUP_FACTOR is defined with value 1, and used to
multiply group value in two places.
This patch removes the unneeded constant definition and use.
Cc: sta...@dpdk.org
Signed-off-by: Dekel Peled
---
drivers/net/mlx5/mlx5.h | 1 -
drivers/net/mlx5/mlx5_flow_dv.c | 5 ++---
net/enic: enic driver doesn't work with 2nd process. the problem is that the
private data structure enic uses pointers to rte_eth_dev and rte_pci_device
which are overwritten when a 2nd process starts using this device.
given patch removes these two pointers from the private data and uses the
corre
dirk (1):
net/enic: enic driver doesn't work with 2nd process. the problem is that the
private data structure enic uses pointers to rte_eth_dev and rte_pci_device
which are overwritten when a 2nd process starts using this device.
given patch removes these two pointers from the private data
On 8/5/2019 1:25 PM, Flavia Musatescu wrote:
> The testpmd application provides two sets of commands for RX offload
> flags configuration. The purpose of this patch is to eliminate this
> duplication by removing the old set of commands:
> “port config all crc-strip|scatter|rx-cksum|rx-timestamp|hw-
On 7/16/2019 7:55 PM, Stephen Hemminger wrote:
> The generic RTE_LOGTYPE_PMD is a historical relic and should
> will be deprecated in near future. Every driver must register its own logtype.
>
> Signed-off-by: Stephen Hemminger
Reviewed-by: Ferruh Yigit
Applied to dpdk-next-net/master, thanks.
dirk (1):
net/enic: enic driver doesn't work with 2nd process. the problem is that the
private data structure enic uses pointers to rte_eth_dev and rte_pci_device
which are overwritten when a 2nd process starts using this device.
given patch removes these two pointers from the private data
Signed-off-by: dirk
---
drivers/net/enic/enic.h | 36 ---
drivers/net/enic/enic_clsf.c | 5 +-
drivers/net/enic/enic_ethdev.c| 79 ++-
drivers/net/enic/enic_main.c | 177 +++---
drivers/net/enic/enic_res.c
On 27/08/2019 09:17, Bruce Richardson wrote:
> On Mon, Aug 26, 2019 at 05:45:55PM +0100, Ray Kinsella wrote:
>>
>>
>> On 23/08/2019 16:49, Aaron Conole wrote:
>>> Ray Kinsella writes:
>>>
This patchset adds ABI version testing to the app/test unit test framework,
addressing two issues
1 - 100 of 142 matches
Mail list logo