From: Jerin Jacob
Update rte_eventdev.h file description to adapt to Tx adapter changes.
Fixes: c9bf83947e2e ("eventdev: add eth Tx adapter APIs")
Cc: sta...@dpdk.org
Cc: Nikhil Rao
Signed-off-by: Jerin Jacob
---
lib/librte_eventdev/rte_eventdev.h | 6 +++---
1 file changed, 3 insertions(+),
Hi Jerin,
> -Original Message-
> From: Jerin Jacob Kollanukkaran [mailto:jer...@marvell.com]
> Sent: Monday, June 17, 2019 10:03 AM
> To: Rao, Nikhil
> Cc: dev@dpdk.org
> Subject: RE: [PATCH v2] eventdev: change Rx adapter callback and stats
> structure
>
> 2) remove the following
> lib
Xiaolong Ye will replace Beilei Xing as co-maintainer of
dpdk-next-net-intel.
Signed-off-by: Qi Zhang
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index fdc083db9..19f18b09d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -33,7 +33,7
Add support for new i40e device.
Fixes: 4b748eef853c ("net/i40e: enable new device")
Signed-off-by: Beilei Xing
---
v3 change:
- Add new section.
- Add fixes line.
v2 change:
- Change indentation.
doc/guides/rel_notes/release_19_08.rst | 18 ++
1 file changed, 18 insertions
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Rao, Nikhil
> Sent: Wednesday, June 19, 2019 1:40 PM
> To: Jerin Jacob Kollanukkaran
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2] eventdev: change Rx adapter callback
> and stats structure
>
> Hi Jerin,
ipn3ke can work on 10G mode and 25G mode.
10G mode and 25G mode has different MAC register address for statistics.
This patch implemente statistics registers for 10G mode and 25G mode.
Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver")
Cc: rosen...@intel.com
Signed-off-by: Andy Pei
---
drivers/
This patch implemente statistics read and reset
function for ipn3ke.
Fixes: 70d6b7f550f4 ("net/ipn3ke: add representor")
Cc: rosen...@intel.com
Signed-off-by: Andy Pei
---
drivers/net/ipn3ke/ipn3ke_representor.c | 3440 ++-
1 file changed, 3431 insertions(+), 9 delet
original code is compatible with older device,
whose mac register address is no more than 10 bits.
Now we have mac register address longer than 10 bits,
so we just delete the mask here.
Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver")
Cc: rosen...@intel.com
Signed-off-by: Andy Pei
---
drivers
clear line side and NIC side statistics registers
when HW init and uinit, and when dev start.
Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver")
Cc: rosen...@intel.com
Signed-off-by: Andy Pei
---
drivers/net/ipn3ke/ipn3ke_ethdev.c | 59 -
drivers/net/ipn3ke/
On Wed, Jun 19, 2019 at 10:56 AM Andy Pei wrote:
> This patch implemente statistics read and reset
> function for ipn3ke.
>
> Fixes: 70d6b7f550f4 ("net/ipn3ke: add representor")
> Cc: rosen...@intel.com
>
> Signed-off-by: Andy Pei
> ---
> drivers/net/ipn3ke/ipn3ke_representor.c | 3440
> +++
On 11.06.2019 3:06, Yongseok Koh wrote:
On Mon, Jun 10, 2019 at 10:20:28AM +0300, Andrew Rybchenko wrote:
On 6/10/19 6:19 AM, Wang, Haiyue wrote:
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Andrew Rybchenko
Sent: Sunday, June 9, 2019 22:24
To: Yongseok Koh ;
Hi Noa,
On 6/19/19 8:13 AM, Noa Ezra wrote:
Rx mergeable buffers is a virtio feature that allows chaining of
multiple virtio descriptors to handle large packet size.
This behavior is supported and enabled by default, however in case
the user knows that rx mergeable buffers are not needed, he can
rte_calloc functions returns a non-null pointer in case of
success and null pointer in case of failure.
The return value should be checked and the function flow
should take that into consideration.
This patch adds a check for rte_calloc return value in function
flow_list_create.
Fixes: 84c406e7
mlx5_link_update uses the newer ethtool command
ETHTOOL_GLINKSETTINGS to determine interface capabilities but falls
back to the older (deprecated) ETHTOOL_GSET command if the new
method fails for any reason.
The older method only supports reporting of capabilities up to 40G.
However, mlx5_link_upd
On 6/19/19 8:13 AM, Noa Ezra wrote:
TSO (TCP Segmentation Offload) is enabled by default on vhost.
Add the ability to disable TSO on vhost.
The user should also disable the feature on the virtual machine's xml.
For TSO, I think it make sense to have the option to disable it,
as it requires t
On Thu, Jun 13, 2019 at 03:44:02PM +0100, Bruce Richardson wrote:
> On Thu, Jun 13, 2019 at 10:23:36AM -0400, Neil Horman wrote:
> > The __rte_internal macro is defined dependent on the value of the build
> > environment variable BUILDING_RTE_SDK. This variable was set in the
> > Makefile environm
On Wed, Jun 19, 2019 at 06:39:00AM -0400, Neil Horman wrote:
> On Thu, Jun 13, 2019 at 03:44:02PM +0100, Bruce Richardson wrote:
> > On Thu, Jun 13, 2019 at 10:23:36AM -0400, Neil Horman wrote:
> > > The __rte_internal macro is defined dependent on the value of the build
> > > environment variable
On Mon, Jun 17, 2019 at 07:30:34AM +, Hemant Agrawal wrote:
> HI Neil,
> The same code of low-level HW driver is shared with different OSs
> (kernel, uboot etc) and different framework. If we introduce rte_internal in
> these low-level hw files, it will be a big maintenance issue for NX
Why doesn’t DPDK support `DEFAULTED` state in Receive machine in 802.3ad bond
implementation?
Hello,
Can somebody please provide an equivalent patch for DPDK.
https://patchwork.ozlabs.org/patch/479888/
We are most likely hitting this issue in our setup, when we restart our
DPDK application multiple times on the i219LM NIC. If someone can provide a
patch, we can test it and see whether we
> -Original Message-
> From: Legacy, Allain
> Sent: Tuesday, June 18, 2019 3:19 PM
> To: tho...@monjalon.net
> Cc: dev@dpdk.org; ferruh.yi...@intel.com; Peters, Matt
> Subject: [PATCH v3] net/avp: remove resources when port is closed
>
> The rte_eth_dev_close() function now handles freeing
On Mon, Jun 17, 2019 at 09:09:59AM +, Zhang, Roy Fan wrote:
Hi Jens,
You are right. Sorry the code wasn't cleaned up properly in the first place.
Do you want me to send a v2 with new title?
No it's fine for me :)
regards,
Jens
On 6/18/19 9:41 AM, Tiwei Bie wrote:
When there is no enough segments for a packet in in-order
mergeable Rx path, we should free the whole mbuf chain instead
of just the last segment.
I would write instead:
"
we should free the whole mbuf chain instead of just recycling the last
segment.
On 6/18/19 9:41 AM, Tiwei Bie wrote:
When there is no enough segments for a packet in mergeable
Rx path, we should free the whole mbuf chain instead of just
the last segment.
Fixes: bcac5aa207f8 ("net/virtio: improve batching in mergeable path")
Cc:sta...@dpdk.org
Signed-off-by: Tiwei Bie
--
On 6/18/19 9:41 AM, Tiwei Bie wrote:
When there is no enough segments for a packet in mergeable
packed Rx path, we should free the whole mbuf chain instead
of just the last segment.
Fixes: a76290c8f1cf ("net/virtio: implement Rx path for packed queues")
Cc:sta...@dpdk.org
Signed-off-by: Tiwe
Hi Wang,
1. It is better to explicitly use __rte_noinline with this function
because my gcc still inlines it even without the inline qualifier.
2. The same should be applied to _v20 functions.
3. Please try running the tests again and show the results.
4. Make this patch the first in a serie
On 6/18/19 9:41 AM, Tiwei Bie wrote:
We should check the descriptor state instead of vq's internal
free count (i.e. the number of descriptors that we haven't made
available) for the remaining mergeable packets.
Fixes: a76290c8f1cf ("net/virtio: implement Rx path for packed queues")
Cc: sta...
On 6/19/19 7:29 AM, lidejun wrote:
Why doesn’t DPDK support `DEFAULTED` state in Receive machine in 802.3ad bond
implementation?
Can you be a bit more specific about your question? This is some support
for a DEFAULTED state.
That sounds like a good idea. Do you have any examples by chance of something
like this or any advice how to implement.
The string needs to be generated beforehand so where would we be able to put
the code in for that.
From: David Marchand [mailto:david.march...@redhat.com]
Sent: Tuesday, June 1
Noa Ezra writes:
> Add support for disabling TSO and mrg-rxbuf in vhost.
>
> Noa Ezra (2):
> net/vhost: support TSO disabling
> net/vhost: support mrg-rxbuf disabling
>
> doc/guides/nics/vhost.rst | 10 +
> drivers/net/vhost/rte_eth_vhost.c | 45
> +++
On Wed, Jun 19, 2019 at 4:13 PM Sirvys, Andrius
wrote:
> That sounds like a good idea. Do you have any examples by chance of
> something like this or any advice how to implement.
>
> The string needs to be generated beforehand so where would we be able to
> put the code in for that.
>
For the us
On Wed, Jun 19, 2019 at 4:23 PM David Marchand
wrote:
>
> On Wed, Jun 19, 2019 at 4:13 PM Sirvys, Andrius
> wrote:
>
>> That sounds like a good idea. Do you have any examples by chance of
>> something like this or any advice how to implement.
>>
>> The string needs to be generated beforehand so
I apologize for the late notice.
This is Mellanox's roadmap for DPDK19.08, which we are working on currently.
Introduce rte_flow APIs for:
* Matching and modification for TCP ACK and TCP SEQ.
* Setting Metadata in RX and receiving it as part of mbuf, to have more info
from packet processing in th
> On Mon, Jun 17, 2019 at 11:21:28AM -0700, Nicolas Chautru wrote:
> > Reorg within Intel teams causing transfer of maintainership
> >
> > Signed-off-by: Nicolas Chautru
> > ---
>
> Acked-by: Bruce Richardson
>
Applied to dpdk-next-crypto
Thanks
> > Fixes: e09231eaa2af ("crypto/qat: add SGL capability")
> > Cc: Arek Kusztal
> > Cc: sta...@dpdk.org
> >
> > Signed-off-by: Gosia Bakota
> Acked-by: Fiona Trahe
No need to add " Cc: Arek Kusztal " in commit
message.
Also changes the subject as that of your v1. Please take care of this in fu
>
>
> > -Original Message-
> > From: Kusztal, ArkadiuszX
> > Sent: Friday, May 31, 2019 7:59 AM
> > To: dev@dpdk.org
> > Cc: akhil.go...@nxp.com; Trahe, Fiona ; Doherty,
> Declan
> > ; Kusztal, ArkadiuszX
>
> > Subject: [PATCH] crypto/openssl: fix usage of non constant time memcmp for
> From: Lukasz Bartosik
>
> Synchronize mbox with latest changes in kernel driver
>
> Signed-off-by: Lukasz Bartosik
> Signed-off-by: Anoob Joseph
> ---
> drivers/crypto/octeontx/otx_cryptodev_mbox.c | 3 +++
> drivers/crypto/octeontx/otx_cryptodev_mbox.h | 12 +---
> 2 files chan
> From: Ankur Dwivedi
>
> The format for printing float is incorrect for the following fields
> in pmd-cyclecount test: Cycles/Op,Cycles/Enq,Cycles/Deq.
>
> Currently, the format is %.f3. This format will round off the number to
> the nearest integer and append a 3 after that.
>
> This patch ch
> The perf tests were removed in a previous commit.
>
> Fixes: 2ac67c32837a ('test/crypto: remove crypto perf tests')
> Signed-off-by: Thierry Herbelot
> ---
> doc/guides/cryptodevs/armv8.rst | 1 -
> doc/guides/cryptodevs/openssl.rst | 1 -
> 2 files changed, 2 deletions(-)
>
Acked-by: Akhil
> > >
> > > The release function was using qp->stream after already releasing it and
> > > the
> > > null pointer checking was missing.
> > >
> > > Also since rte_free(NULL) is a no-op, remove unnecessary checks for NULL.
> > >
> > > Coverity issure: 340860
> > > Fixes: dc49e6aa4879 ("compress/isa
> >
> > This patch fixes coverity issue: Improper use of negative value.
> > test_data->input_data_sz is passed to a parameter that
> > cannot be negative.
> >
> > Coverity issue: 328504
> > Fixes: b68a82425da4 ("app/compress-perf: add performance measurement")
> > Cc: sta...@dpdk.org
> >
> > Signe
> >
> > Coverity issue: 336866
> > Coverity issue: 336841
> > Coverity issue: 336838
> > Fixes: 41d561cbdd24 ("examples/fips_validation: add power on self test")
> >
> > Signed-off-by: Fan Zhang
> > ---
>
> Acked-by: Marko Kovacevic
Cc: sta...@dpdk.org
Applied to dpdk-next-crypto
Thanks
> > Fixed some typos and clarified how errors on ops which fail to get submitted
> on
> > the enqueue API should be handled.
> >
> > Fixes: a584d3bea902 ("doc: add compressdev library guide")
> > cc: sta...@dpdk.org
> >
> > Signed-off-by: Fiona Trahe
> > ---
> Acked-by: Shally Verma
>
>
Appl
>
> Added info about socket id used by compression perf test process and by the
> driver
>
> Signed-off-by: Tomasz Cel
> Signed-off-by: Fiona Trahe
> Acked-by: Artur Trybula < arturx.tryb...@intel.com>
> ---
Applied to dpdk-next-crypto
Thanks.
>
> Fix unchecked return value issue for rte_pci_read_config.
>
> Coverity issue: 302861
> Fixes: 25500d4b8076 ("crypto/virtio: support device init")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Chenbo Xia
> ---
Acked-by: Akhil Goyal
Applied to dpdk-next-crypto
Thanks.
> >
> > This patch adds an option to support both IV (of all supported sizes)
> > and J0 when using Galois Counter Mode of crypto operation.
> >
> > Signed-off-by: Arek Kusztal
> > ---
> > lib/librte_cryptodev/rte_crypto_sym.h | 37
> > ++---
> --
> > 1 file change
Hi Fan,
> >
> > Hi Akhil,
> >
> > This patch was sent in 19.05 but I just found it can be applied to 19.08 RC0
> > cleanly.
> > Do you think I need to send a v4 (with no change) for 19.08?
> >
> No need to send a v4, I will take v3. Planning to take some patches next week.
> Will let you know in ca
This patch introduces a new version of the event timer adapter software
PMD. In the original design, timer event producer lcores in the primary
and secondary processes enqueued event timers into a ring, and a
service core in the primary process dequeued them and processed them
further. To improve
This patch introduces a new version of the event timer adapter software
PMD [1]. In the original design, timer event producer lcores in the primary
and secondary processes enqueued event timers into a ring, and a service
core in the primary process dequeued them and processed them further. To
impr
This is the first of a series of patches, whose purpose is to add
support for the virtio-vhost-user transport. This is a vhost-user
transport implementation that is different from the default AF_UNIX
transport. It uses the virtio-vhost-user PCI device in order to tunnel
vhost-user protocol messages
Hi everyone,
this patch series introduces the concept of the virtio-vhost-user
transport. This is actually a revised version of an earlier RFC
implementation that has been proposed by Stefan Hajnoczi [1]. Though
this is a great feature, it seems to have been stalled, so I’d like to
restart the con
The socket.c file serves two purposes:
1. librte_vhost public API entry points, e.g. rte_vhost_driver_register().
2. AF_UNIX socket management.
Move AF_UNIX socket code into trans_af_unix.c so that socket.c only
handles the librte_vhost public API entry points. This will make it
possible to suppo
From: Stefan Hajnoczi
vhost-user transports have per-socket state (like file descriptors).
Make it possible for transports to keep state beyond what is included in
struct vhost_user_socket.
This patch makes it possible to move AF_UNIX-specific fields from struct
vhost_user_socket into trans_af_u
The socket file descriptor and AF_UNIX sockaddr are specific to the
AF_UNIX transport, so move them into trans_af_unix.c.
In order to do this, we need to begin defining the vhost_transport_ops
interface that will allow librte_vhost to support multiple transports.
This patch adds socket_init() and
The AF_UNIX transport can accept multiple client connections on a server
socket. Each connection instantiates a separate vhost-user device,
which is stored as a vhost_user_connection. This behavior is specific
to AF_UNIX and other transports may not support N connections per
socket endpoint.
Mov
From: Stefan Hajnoczi
Introduce a vhost_transport_ops->socket_start() interface so the
transport can begin establishing vhost-user connections. This is part
of the AF_UNIX transport refactoring and removes AF_UNIX code from
vhost.h and socket.c.
Signed-off-by: Stefan Hajnoczi
---
lib/librte_v
The socket reconnection code is highly specific to AF_UNIX, so move the
remaining pieces of it into trans_af_unix.c.
Signed-off-by: Nikos Dragazis
Signed-off-by: Stefan Hajnoczi
---
lib/librte_vhost/socket.c| 4
lib/librte_vhost/trans_af_unix.c | 9 +++--
lib/librte_vhost/vho
This patch propagates struct vhost_user_socket's vhost_transport_ops
into the newly created vhost device.
This patch completes the initial refactoring of socket.c, with the
AF_UNIX-specific code now in trans_af_unix.c and the librte_vhost API
entrypoints in socket.c.
Now it is time to turn toward
The fdset is used by the AF_UNIX transport code but other transports may
not need it. Move it to trans_af_unix.c and then make struct vhost_user
private again since nothing outside socket.c needs it.
Signed-off-by: Nikos Dragazis
Signed-off-by: Stefan Hajnoczi
---
lib/librte_vhost/socket.c
There is a 1:1 relationship between struct virtio_net and struct
vhost_user_connection. They share the same lifetime. struct virtio_net
is the per-device state that is part of the vhost.h API. struct
vhost_user_connection is the AF_UNIX-specific per-device state and is
private to trans_af_unix.c
The core vhost-user protocol code should not do socket I/O, because the
details are transport-specific. Move code to send and receive
vhost-user messages into trans_af_unix.c.
The connection fd is a transport-specific feature. Therefore, it should
and eventually will be removed from the core vhos
The slave request file descriptor is specific to the AF_UNIX transport.
Move this field along with its spinlock out of struct virtio_net and
into the trans_af_unix.c private struct vhost_user_connection struct.
This implies that we also had to move the associated functions
send_vhost_slave_message(
Mapping the vhost memory regions is a transport-specific operation, so
this patch moves the relevant code into trans_af_unix.c. The new
.map_mem_table()/.unmap_mem_table() interfaces allow transports to
perform the mapping and unmapping.
In addition, the function vhost_user_set_mem_table(), which
Setting up the log memory region involves mapping/unmapping guest
memory. This is a transport-specific operation. Other transports may use
other means of accessing the guest memory log. Therefore, the mmap/unmap
operations, that are related to the memory log, are moved to
trans_af_unix.c. A new set
After refactoring the socket I/O and the vhost-user map/unmap operations
in previous patches, there is no need for the connection fds in the core
vhost-user code. This patch removes the connection fds from the core
vhost-user code.
Connection fds are used for socket I/O between master and slave.
H
Postcopy live migration is an AF_UNIX-bound feature due to the
userfaultfd mechanism. Therefore, this patch moves the relevant code from
vhost_user.c to trans_af_unix.c and exposes this functionality via
transport-specific functions. Any other vhost-user transport
could potentially implement this f
This patch introduces a global transport map which will hold pointers to
the transport-specific operations of all the available transports.
The AF_UNIX transport is supported by default. More transports can be
hooked up by implementing struct vhost_transport_ops and registering
this structure to th
The virtio-vhost-user transport requires a driver for the
virtio-vhost-user PCI device, hence it needs a virtio-pci driver. There
is currently no librte_virtio API that we can use.
This commit is a hack that duplicates the virtio pci code from
drivers/net/ into drivers/virtio_vhost_user/. A bett
From: Stefan Hajnoczi
Currently, the only way of determining a struct vhost_virtqueue's index
is to search struct virtio_net->virtqueue[] for its address. Stash the
index in struct vhost_virtqueue so we won't have to search the array.
This new field will be used by virtio-vhost-user.
Signed-of
This patch introduces the virtio-vhost-user transport. This transport is
based on the virtio-vhost-user device. This device replaces the AF_UNIX
socket used by the vhost-user protocol with a virtio device that tunnels
vhost-user protocol messages. This allows a guest to act as a vhost
device backe
Enhance the virtio-vhost-user device driver so that it utilizes the
device's additional resource capabilities. In specific, this patch adds
support for the doorbells and shared_memory capabilities. The former is
used to find the location of the device doorbells. The latter is used to
find the locat
Extend the API to support the virtio-vhost-user transport
as an alternative to the AF_UNIX transport. The caller provides a PCI
DomBDF address:
rte_vhost_driver_register(":00:04.0",
RTE_VHOST_USER_VIRTIO_TRANSPORT);
Signed-off-by: Nikos Dragazis
Signed-off-by:
The new virtio-transport=0|1 argument enables virtio-vhost-user support:
testpmd ... --pci-whitelist :00:04.0 \
--vdev vhost,iface=:00:04.0,virtio-transport=1
Signed-off-by: Nikos Dragazis
Signed-off-by: Stefan Hajnoczi
---
drivers/net/vhost/rte_eth_vhost.c | 13 +++
From: Stefan Hajnoczi
The default filename built into examples/vhost_scsi may not be
convenient. Allow the user to specify the full UNIX domain socket path
on the command-line.
Signed-off-by: Stefan Hajnoczi
---
examples/vhost_scsi/vhost_scsi.c | 93
1
Export the virtio-vhost-user transport to all the apps. Support using
the virtio-vhost-user transport with shared libraries by unconditionally
linking librte_virtio_vhost_user.so with the apps.
Signed-off-by: Nikos Dragazis
---
mk/rte.app.mk | 6 ++
1 file changed, 6 insertions(+)
diff --gi
From: Stefan Hajnoczi
The new --virtio-vhost-user-pci command-line argument uses
virtio-vhost-user instead of the default AF_UNIX transport.
Signed-off-by: Stefan Hajnoczi
---
examples/vhost_scsi/vhost_scsi.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/e
Add a configuration option for compiling and linking with the
virtio-vhost-user library.
Signed-off-by: Nikos Dragazis
---
config/common_base | 6 ++
config/common_linux | 1 +
drivers/Makefile| 5 -
mk/rte.app.mk | 2 +-
4 files changed, 12 insertions(+), 2 deletions(-)
diff
The virtio-vhost-user PCI adapter is not detected in any existing group
of devices supported by dpdk-devbind.py. Add a new "Others" group for
miscellaneous devices like this one.
Signed-off-by: Nikos Dragazis
Signed-off-by: Stefan Hajnoczi
---
usertools/dpdk-devbind.py | 7 +++
1 file chan
Main changes:
1. Advanced switch rule support.
2. Add more APIs for tunnel management.
3. Add some minor features.
4. Code clean and bug fix.
---
v3:
- Drop some patches which do not used.
- Split some patches which include irrelevant code.
- Squash some patches which needs to be put together.
- A
Once upon a time, the ice_flow_create_xtrct_seq() function in ice_flow.c
extracted only protocol fields explicitly specified by the caller of the
ice_flow_add_prof() function via its struct ice_flow_seg_info instances.
However, to support different ingress and egress flow profiles with the
same mat
Decouple ice_cfg_lldp_mib_change from the ice_init_dcb function call.
Signed-off-by: Chinh T Cao
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Leyi Rong
---
drivers/net/ice/base/ice_dcb.c | 38 ++
drivers/net/ice/base/ice_dcb.h | 3 ++-
2 files changed, 36
When a port is not cabled, but DCBx is enabled in the
firmware, the status of DCBx will be NOT_STARTED. This
is a valid state for FW enabled and should not be
treated as a is_fw_lldp true automatically.
Add the code to treat NOT_STARTED as another valid state.
Signed-off-by: Dave Ertman
Signed-o
Add the Add Recipe (0x0290), Recipe to Profile (0x0291), Get Recipe
(0x0292) and Get Recipe to Profile (0x0293) Commands.
Signed-off-by: Lev Faerman
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Leyi Rong
---
drivers/net/ice/base/ice_adminq_cmd.h | 73 +++
1 file ch
Add functions to support following admin queue commands:
1. 0x0208: allocate resource to hold a switch recipe. This is needed
when a new switch recipe needs to be created.
2. 0x0290: create a recipe with protocol header information and
other details that determine how this recipe filter work.
3. 0x
1. Added an interface to support adding advanced switch rules.
2. Advanced rules are provided in a form of protocol headers and values
to match in addition to actions (limited actions are current supported).
3. Retrieve field vectors for ICE configuration package to determine
extracted fields and e
Code added to replay the advanced rule per VSI basis and remove the
advanced rule information from shared code recipe list.
Signed-off-by: Victor Raj
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Leyi Rong
---
drivers/net/ice/base/ice_switch.c | 81 ++-
1 file c
This patch also contains ice_remove_adv_rule function to remove existing
advanced rules. it also handles the case when we have multiple VSI using
the same rule using the following helper functions:
ice_adv_rem_update_vsi_list - function to remove VS from VSI list for
advanced rules.
Signed-off-by
Added code to save the queue bandwidth information when it is applied
and it is replayed when queue is re-enabled again. Earlier saved value
is used for replay purpose.
Added vsi_handle, tc, and q_handle argument to the ice_cfg_q_bw_lmt,
ice_cfg_q_bw_dflt_lmt.
Signed-off-by: Tarun Singh
Signed-of
Adding support to remove RSS configurations added
prior to failing case in AVF.
Signed-off-by: Vignesh Sridhar
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Leyi Rong
---
drivers/net/ice/base/ice_flow.c | 128
1 file changed, 128 insertions(+)
diff --git a
1. Move the RSS list pointer and lock from the VSI context to the ice_hw
structure. This is to ensure that the RSS configurations added to the
list prior to reset and maintained until the PF is unloaded. This will
ensure that the configuration list is unaffected by VFRs that would
destroy the VSI c
After the transition from cable-unplug to cable-plug events, FW will
clear the set-phy-cfg data, sent by user. Thus, we will need to
cache these info.
1. The submitted data when set-phy-cfg is called. This info will be used
later to check if FW clears out the PHY info, requested by user.
2. The FC,
1. Separated the calls to initialize and allocate the HW XLT tables
from call to fill table. This is to allow the ice_init_hw_tbls call
to be made prior to package download so that all HW structures are
correctly initialized. This will avoid any invalid memory references
if package download fails o
Add locking mechanism around profile map list.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Leyi Rong
---
drivers/net/ice/base/ice_flex_pipe.c | 62 +---
drivers/net/ice/base/ice_flex_type.h | 5 ++-
2 files changed, 49 insertions(+), 18
1. Perform a check against the package version to make sure that
it will be compatible with the shared code implementation. There
will be points in time when the shared code and package will need
to be changed in lock step; the mechanism added here is meant to
deal with those situations.
2. Support
In order to initialize the current status of the FW logging,
the api ice_get_fw_log_cfg is added. The function retrieves
the current setting of the FW logging from HW and updates the
ice_hw structure accordingly.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Leyi Ro
Replace the use of the magic number 8 by BITS_PER_BYTE when calculating
the number of bits from the number of bytes.
Signed-off-by: Bruce Allan
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Leyi Rong
Acked-by: Maxime Coquelin
---
drivers/net/ice/base/ice_flex_pipe.c | 4 +-
drivers/net/i
The ice_debug_cq function is only called from ice_controlq.c, and has no
other callers outside of that file. Move it and mark it static to avoid
namespace pollution.
Signed-off-by: Jacob Keller
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Leyi Rong
---
drivers/net/ice/base/ice_common.c
The ice_init_all_ctrlq and ice_shutdown_all_ctrlq functions create and
destroy the locks used to protect the send and receive process of each
control queue.
Signed-off-by: Jacob Keller
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Leyi Rong
---
drivers/net/ice/base/ice_common.c | 6 +-
>-Original Message-
>From: Chautru, Nicolas
>Sent: Friday, June 14, 2019 9:18 AM
>To: akhil.go...@nxp.com; dev@dpdk.org
vCc: Yigit, Ferruh ; tho...@monjalon.net; Mokhtar, Amr
; Chalupnik, KamilX ;
Chautru, Nicolas
>Subject: [PATCH v6] baseband/fpga_lte_fec: adding driver for FEC on FP
There was a bug in the previous code which never traverses all the
children to get the first node of the requested layer.
Added a sibling head pointer to point the first node of each layer
per TC. This helps the traverse easy and quicker and also removed the
recursive, complexity of the code.
Sig
1 - 100 of 224 matches
Mail list logo