]>
 
 
git.droids-corp.org - dpdk.git/log 
 
 
 
 
 
 
 
Xiaoyu Min  [Thu, 11 Oct 2018 13:31:43 +0000  (13:31 +0000)] 
 
app/testpmd: add commands to modify MAC address 
 
add commands to support following actions: 
 
- RTE_FLOW_ACTION_TYPE_SET_MAC_SRC 
- RTE_FLOW_ACTION_TYPE_SET_MAC_DST 
 
Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>  
Acked-by: Yongseok Koh <yskoh@mellanox.com>  
Xiaoyu Min  [Thu, 11 Oct 2018 13:31:39 +0000  (13:31 +0000)] 
 
ethdev: add generic MAC address rewrite actions 
 
rte_flow actions: 
- RTE_FLOW_ACTION_TYPE_SET_MAC_SRC 
- RTE_FLOW_ACTION_TYPE_SET_MAC_DST 
added in order to offload to NIC 
 
The rte_flow_itme_eth must be present in rte_flow pattern 
 
Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>  
Acked-by: Yongseok Koh <yskoh@mellanox.com>  
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>  
Xiaoyu Min  [Tue, 16 Oct 2018 08:14:30 +0000  (08:14 +0000)] 
 
net/mlx5: rewrite TTL by E-Switch 
 
Offload following modify TTL actions to E-Switch via 
TC-Flower driver 
 
- RTE_FLOW_ACTION_TYPE_SET_TTL 
- RTE_FLOW_ACTION_TYPE_DEC_TTL 
 
The corresponding IP protocol rte_flow_item_ipv[4|6] 
must be present in rte_flow pattern otherwith PMD 
return error 
 
The example testpmd commands are: 
 
    flow create 0 transfer ingress 
         pattern eth / ipv4 / udp dst is 7000 / end 
	 actions dec_ttl / 
	 port_id id 1 / end 
 
    flow create 0 transfer ingress 
         pattern eth / ipv4 / udp dst is 7001 / end 
	 actions set_ttl ttl_value 10 / 
	 port_id id 1 / end 
 
Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>  
Acked-by: Yongseok Koh <yskoh@mellanox.com>  
Xiaoyu Min  [Tue, 16 Oct 2018 08:14:27 +0000  (08:14 +0000)] 
 
app/testpmd: add commands to modify TTL 
 
add commands which supports following TTL actions: 
- RTE_FLOW_ACTION_TYPE_DEC_TTL 
- RTE_FLOW_ACTION_TYPE_SET_TTL 
 
Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>  
Acked-by: Yongseok Koh <yskoh@mellanox.com>  
Xiaoyu Min  [Tue, 16 Oct 2018 08:14:23 +0000  (08:14 +0000)] 
 
ethdev: add generic TTL rewrite actions 
 
rewrite TTL by decrease or just set it directly 
it's not necessary to check if the final result 
is zero or not 
 
This is slightly different from the one defined 
by openflow and more generic 
 
Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>  
Acked-by: Yongseok Koh <yskoh@mellanox.com>  
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>  
Alejandro Lucero  [Mon, 15 Oct 2018 14:11:02 +0000  (15:11 +0100)] 
 
ethdev: add field for device data per process 
 
Primary and secondary processes share a per-device private data. With 
current design it is not possible to have data per-device per-process. 
This is required for handling properly the CPP interface inside the NFP 
PMD with multiprocess support. 
 
There is also at least another PMD driver, tap, with similar 
requirements for per-process device data. 
 
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>  
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>  
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>  
Xiaoyun Li  [Mon, 15 Oct 2018 04:36:34 +0000  (00:36  -0400)] 
 
doc: add ixgbe known issue with legacy interrrupt 
 
When using uio_pci_generic module or using legacy interrupt mode of 
igb_uio or vfio, X550 cannot get interrupts. Because the Interrupt 
Status bit is not implemented, then the irq cannot be handled correctly 
and cannot report the event fd to DPDK apps. 
 
Add this hw limitation and details into ixgbe known issue. 
 
Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>  
Acked-by: Qi Zhang <qi.z.zhang@intel.com>  
Rahul Lakkireddy  [Mon, 15 Oct 2018 14:05:13 +0000  (19:35 +0530)] 
 
net/cxgbe: add action to swap MAC addresses 
 
Implement RTE_FLOW_ACTION_TYPE_MAC_SWAP to offload flows with 
action to swap the source and destination MAC addresses in the 
outermost Ethernet header. 
 
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>  
Ed Czeck  [Mon, 15 Oct 2018 12:53:26 +0000  (08:53 -0400)] 
 
net/ark: support updated hardware and Tx meta data 
 
Support for version 2 of DDM hardware and user tx meta data. 
Verify version during initialization. 
 
Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>  
Ed Czeck  [Mon, 15 Oct 2018 12:53:11 +0000  (08:53 -0400)] 
 
net/ark: remove useless hardware notifications 
 
Only send notification to mpu when crossing 64 index boundary. 
 
Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>  
Ed Czeck  [Mon, 15 Oct 2018 12:52:41 +0000  (08:52 -0400)] 
 
net/ark: add recovery for lack of mbufs 
 
Attempt to allocate smaller chunk of mbufs when larger amount is 
not available.  Report error when small chunk not available. 
 
Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>  
Phil Yang  [Fri, 12 Oct 2018 09:34:55 +0000  (17:34 +0800)] 
 
app/testpmd: fix vdev socket initialization 
 
The cmdline settings of port-numa-config and rxring-numa-config have 
been flushed by the following init_config. If we don't configure the 
port-numa-config, the virtual device will allocate the device ports to 
socket 0. It will cause failure when the socket 0 is unavailable. 
 
eg: 
testpmd -l <cores from socket 1> --vdev net_pcap0,iface=lo 
--socket-mem=64 -- --numa --port-numa-config="(0,1)" 
--ring-numa-config="(0,1,1),(0,2,1)" -i 
 
... 
Configuring Port 0 (socket 0) 
Failed to setup RX queue:No mempool allocation on the socket 0 
EAL: Error - exiting with code: 1 
  Cause: Start ports failed 
 
Fix by allocate the devices port to the first available socket or the 
socket configured in port-numa-config. 
 
Fixes: 487f9a592a27 ("app/testpmd: fix NUMA structures initialization")  
Fixes: 20a0286fd2c0 ("app/testpmd: check socket id validity")  
Cc: stable@dpdk.org  
Signed-off-by: Phil Yang <phil.yang@arm.com>  
Reviewed-by: Gavin Hu <gavin.hu@arm.com>  
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>  
Stephen Hemminger  [Fri, 12 Oct 2018 23:42:52 +0000  (16:42 -0700)] 
 
net/qede: remove invalid config option checks 
 
Now that logging of initialization is controlled by dynamic debug 
level, remove the #ifdef for RTE_LIBRTE_QEDE_DEBUG_INIT since that 
config option does not exist in common_base and is not documented. 
 
Fixes: 69b6573980c1 ("net/qede: implement dynamic logging")  
Cc: stable@dpdk.org  
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>  
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>  
Stephen Hemminger  [Fri, 12 Oct 2018 23:42:51 +0000  (16:42 -0700)] 
 
doc: remove invalid config options from liquidio guide 
 
The config options for init and debug driver were replaced by 
dynamic log levels. 
 
Fixes: 70e28c612d65 ("net/liquidio: implement dynamic logging")  
Cc: stable@dpdk.org  
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>  
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>  
Stephen Hemminger  [Fri, 12 Oct 2018 23:42:50 +0000  (16:42 -0700)] 
 
doc: remove invalid config option from ena guide 
 
The ena driver has used dynamic log type to enable init debugging since 
18.05 but the documentation still has leftover mention of the config 
option. 
 
Fixes: 8bc0acae970d ("net/ena: implement dynamic logging")  
Cc: stable@dpdk.org  
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>  
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>  
Haiyue Wang  [Sun, 14 Oct 2018 02:34:05 +0000  (10:34 +0800)] 
 
net/avf: fix build with debug enabled 
 
DEBUG_DUMP_DESC flag is enabled/disabled from Makefile and enabling it 
causing the build issue. 
 
Add the missed 'volatile' keyword to avoid the warning for type 
mismatch, which will be treated as compiler error if WERROR_FLAGS 
is enabled. 
 
Fixes: bfd38e4d708b ("net/avf: fix missing compiler error flags")  
CC: stable@dpdk.org  
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>  
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>  
Xiaoyu Min  [Mon, 15 Oct 2018 01:45:23 +0000  (01:45  +0000)] 
 
net/mlx5: fix build with zero-size array 
 
If the build environment doesn't have 'linux/tc_act/tc_pedit.h' header, 
compiler will use needed structs defined in mlx5_flow_tcf.c. 
 
However, there is a zero-size array defined in one struct and 
ISO C forbids this when -Wpedantic is set by debug mode. 
 
Simply put __extension__ keyword before the struct in question. 
 
Fixes: 2ed2fe5f0a9c ("net/mlx5: rewrite IP address UDP/TCP port by E-Switch")  
Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>  
Yongseok Koh  [Fri, 12 Oct 2018 08:42:33 +0000  (08:42 +0000)] 
 
net/mlx5: support multiple groups and jump action 
 
rte_flow has 'group' attribute and 'jump' action in order to support 
multiple groups. This feature is known as multi-table support ('chain' in 
linux TC flower) in general because a group means a table of flows. Example 
commands are: 
 
	flow create 0 transfer priority 1 ingress 
	     pattern eth / vlan vid is 100 / end 
	     actions jump group 1 / end 
 
	flow create 0 transfer priority 1 ingress 
	     pattern eth / vlan vid is 200 / end 
	     actions jump group 2 / end 
 
	flow create 0 transfer group 1 priority 2 ingress 
	     pattern eth / vlan vid is 100 / 
	     	     ipv4 dst spec 192.168.40.0 dst prefix 24 / end 
	     actions drop / end 
 
	flow create 0 transfer group 1 priority 2 ingress 
	     pattern end 
	     actions of_pop_vlan / port_id id 1 / end 
 
	flow create 0 transfer group 2 priority 2 ingress 
	     pattern eth / vlan vid is 200 / 
	     	     ipv4 dst spec 192.168.40.0 dst prefix 24 / end 
	     actions of_pop_vlan / port_id id 2 / end 
 
	flow create 0 transfer group 2 priority 2 ingress 
	     pattern end 
	     actions port_id id 2 / end 
 
With theses flows, if a packet having vlan 200 and src_ip as 192.168.40.1, 
this packet will firstly hit the 1st flow. Then it will hit the 5th flow 
because of the 'jump' action. As a result, the packet will be forwarded to 
port 2 (VF representor) with vlan tag being stripped off. If the packet had 
vlan 100 instead, it would be dropped by the 3rd flow. 
 
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>  
Igor Russkikh  [Fri, 12 Oct 2018 11:09:55 +0000  (11:09 +0000)] 
 
net/atlantic: add release notes 
 
Release notes for Aquantia atlantic driver. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:53 +0000  (11:09 +0000)] 
 
net/atlantic: read MAC registers for debug purposes 
 
This patch add support for dumping MAC registers. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:51 +0000  (11:09 +0000)] 
 
net/atlantic: implement EEPROM get/set 
 
Add support for EEPROM reading/writing. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:49 +0000  (11:09 +0000)] 
 
net/atlantic: implement VLAN filters and offloads 
 
VLAN filters and VLAN offloads implementation. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:45 +0000  (11:09 +0000)] 
 
net/atlantic: implement MTU configuration 
 
Add support for updating MTU value. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:43 +0000  (11:09 +0000)] 
 
net/atlantic: implement MAC address manipulations 
 
Add support for adding/removing MAC addresses. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:41 +0000  (11:09 +0000)] 
 
net/atlantic: add flow control configuration 
 
Add support for flow control feature. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Igor Russkikh  [Fri, 12 Oct 2018 11:09:38 +0000  (11:09 +0000)] 
 
net/atlantic: implement RSS and RETA manipulation API 
 
Add support for Receive Side Scaling feature. 
RSS hash and reta table configuration. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:36 +0000  (11:09 +0000)] 
 
net/atlantic: implement promisc and allmulti modes 
 
Add support for promiscuous/allmulticast modes configuration. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:34 +0000  (11:09 +0000)] 
 
net/atlantic: add Rx/Tx descriptors information 
 
Add support for Rx/Tx descriptors status information. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:31 +0000  (11:09 +0000)] 
 
net/atlantic: implement device statistics 
 
Add support for device stats, xstats and queue stats 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:29 +0000  (11:09 +0000)] 
 
net/atlantic: add link status and interrupt management 
 
Implement link interrupt, link info, link polling. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:27 +0000  (11:09 +0000)] 
 
net/atlantic: implement Tx path 
 
Add implementation for TX datapath. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Igor Russkikh  [Fri, 12 Oct 2018 11:09:25 +0000  (11:09 +0000)] 
 
net/atlantic: implement Rx path 
 
Add implementation for RX datapath. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:22 +0000  (11:09 +0000)] 
 
net/atlantic: implement core logic for Tx/Rx 
 
Add RX/TX function prototypes for further datapath development. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:20 +0000  (11:09 +0000)] 
 
net/atlantic: configure device start/stop 
 
Start, stop and reset are all done via hw_atl layer. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Igor Russkikh  [Fri, 12 Oct 2018 11:09:17 +0000  (11:09 +0000)] 
 
net/atlantic: add b0 hardware layer 
 
This is hw_atl logic layer derived from linux atlantic 
driver. It contains RX/TX hardware initialization 
sequences, various hw configuration. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Igor Russkikh  [Fri, 12 Oct 2018 11:09:14 +0000  (11:09 +0000)] 
 
net/atlantic: implement firmware operations 
 
AQC NICs comes in fields with two major 
FW generations: 1x and 3x. 
 
This is part of linux atlantic driver shared code, 
responsible for internal NIC firmware interactions, 
including link management ops, FW initialization, 
various lifecycle features. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Igor Russkikh  [Fri, 12 Oct 2018 11:09:11 +0000  (11:09 +0000)] 
 
net/atlantic: add hardware access layer 
 
This patch introduces hw_atl layer which is maintained 
in sync with linux kernel driver. 
It will generally be in sync with linux upstream. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Igor Russkikh  [Fri, 12 Oct 2018 11:09:08 +0000  (11:09 +0000)] 
 
net/atlantic: add hardware registers access routines 
 
Add implementation for hardware registers access routines. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Igor Russkikh  [Fri, 12 Oct 2018 11:09:06 +0000  (11:09 +0000)] 
 
net/atlantic: add logging structure 
 
Implement logging macroses for debug purposes. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
Pavel Belous  [Fri, 12 Oct 2018 11:09:03 +0000  (11:09 +0000)] 
 
net/atlantic: add PMD driver skeleton 
 
Makefile/meson build infrastructure, atl_ethdev minimal skeleton, 
header with aquantia aQtion NIC device and vendor IDs. 
 
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>  
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>  
John Daley  [Wed, 10 Oct 2018 22:11:31 +0000  (15:11 -0700)] 
 
net/enic: fix counter action 
 
- track whether counter DMAs are active or not so they can be stopped if 
  needed before DMA memory is freed 
- fix counter DMA shut-down by changing vnic_dev_counter_dma_cfg() to 
  take the number of counters to DMA instead of high counter index and 
  use num counters = 0 to shut off DMAs 
- remove unnecessary checks that DMA counter memory is valid and that 
  counter DMAs are in use 
- change the minimum DMA period to match what 1400 series adapter is 
  capable of 
- fix comments and change a couple variable names to make more sense 
 
Fixes: 86df6c4e2fce ("net/enic: support flow counter action")  
Signed-off-by: John Daley <johndale@cisco.com>  
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>  
Fiona Trahe  [Thu, 11 Oct 2018 17:14:05 +0000  (18:14 +0100)] 
 
common/qat: fix failure to create PMD 
 
If QAT crypto pmd failed to be created due to reaching MAX 
cryptodevs it prevented QAT comp PMD being created. And vice versa. 
Change to warning in these cases and allow the other PMD to be created. 
 
Fixes: c0c90bc4cade ("compress/qat: add create and destroy functions")  
Cc: stable@dpdk.org  
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>  
Acked-by: Tomasz Cel <tomaszx.cel@intel.com>  
Fan Zhang  [Mon, 15 Oct 2018 11:28:16 +0000  (12:28 +0100)] 
 
cryptodev: fix library version 
 
This patch fixes the cryptodev library version number that was 
missed updating in DPDK 18.08. 
 
Fixes: a4493be5bdfa ("cryptodev: replace bus specific struct with generic dev")  
Cc: stable@dpdk.org  
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>  
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>  
Hemant Agrawal  [Tue, 16 Oct 2018 09:47:53 +0000  (09:47 +0000)] 
 
test/crypto: add CAAM JR validation cases 
 
This patch adds the validation test cases for 
CAAM JR driver 
 
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Reviewed-by: Akhil Goyal <akhil.goyal@nxp.com>  
Hemant Agrawal  [Tue, 16 Oct 2018 12:48:57 +0000  (18:18 +0530)] 
 
doc: add CAAM JR guide 
 
add caam jr driver details, supported features and algorithms 
in the document. 
 
release note and MAINTAINERS are also updated. 
 
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Hemant Agrawal  [Fri, 12 Oct 2018 14:40:54 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add security offload 
 
This patch provides the support for protocol offload 
to the hardware. following security operations are 
added: 
 - session_create 
 - session_destroy 
 - capabilities_get 
 
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Hemant Agrawal  [Fri, 12 Oct 2018 14:40:53 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add statistics operations 
 
This patch adds the following statistics operations: 
 - stats_get 
 - stats_reset 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:52 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add scatter gather 
 
This patch add the scatter gather feature 
for auth-only, cipher-only and cipher-auth 
operations 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:51 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add enqueue/dequeue operations 
 
This patch add support for : 
1. creating run time sec hw decriptors for a given request. 
2. enqueue operation to the caam jr ring 
3. dequeue operation from the caam jr ring in poll mode 
4. creating a crypto protocol descriptor for session - first time. 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:49 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add device cababilities 
 
add device capabilities for supported algorithms, 
key length etc. 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:50 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add session configuration methods 
 
This patch add support to create session configuration 
of various types i.e. cipher, auth and aead etc. 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Hemant Agrawal  [Fri, 12 Oct 2018 14:40:48 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add queue pair config 
 
add following ops for configuring queues 
 - queue_pair_setup 
 - queue_pair_release 
 - queue_pair_count 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:47 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add device basic operations 
 
This patch adds following device operations 
 - dev_configure 
 - dev_start 
 - dev_stop 
 - dev_close 
 - dev_infos_get 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:46 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add basic job ring routines 
 
This patch adds following job ring routines 
 - init_job_ring (configure hw/sw resources) 
 - shutdown_job_ring (releases hw/sw resources) 
 - close_job_ring (flush job ring) 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:45 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add UIO specific operations 
 
caam_jr need support from kernel caam driver for 
job ring initialisation. So to access register space 
for job ring and allow re configure and map to userspace 
UIO interface is used. This also allows to handle the 
caam interrupts from the user space. 
 
This patch adds UIO specific operations 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:44 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add routines to configure HW 
 
This patch add routines for configuring the hw 
to support various features. 
These routines will be used by the PMD ops. 
The patch also defines structure and macros used 
to access hw capabilities. 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:43 +0000  (20:10 +0530)] 
 
crypto/caam_jr: add HW tuning options 
 
caam_jr hardware can be tuned for multiple settings 
like ring depth, coalescing, notification types, cache 
size etc. 
 
These parameter can be used for performance tuning 
for various platforms. 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Gagandeep Singh  [Fri, 12 Oct 2018 14:40:42 +0000  (20:10 +0530)] 
 
crypto/caam_jr: introduce basic driver 
 
The caam_jr poll mode crypto driver is supported for 
NXP SEC 4.x+ (CAAM) hardware accelerator. 
This driver is by default supported on LE platforms, 
if it is used on BE platforms like LS104X, 
config option CONFIG_RTE_LIBRTE_PMD_CAAM_JR_BE can be 
enabled. 
 
This patch add skeleton for caam jobring driver 
with probe and uintialisation functions 
 
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Fan Zhang  [Wed, 10 Oct 2018 11:04:41 +0000  (12:04 +0100)] 
 
crypto/aesni_mb: support AES-GCM algorithm 
 
This patch updates the current AESNI-MB PMD with added AES-GCM 
algorithm support. The patch includes the necessary changes 
to the code including the capability update, control and data 
patch changes for the AES-GCM algorithm support. 
 
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>  
Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>  
Fiona Trahe  [Mon, 1 Oct 2018 21:17:44 +0000  (22:17 +0100)] 
 
common/qat: support GEN3 devices 
 
This adds pci detection, queue-pair configuration and 
documentation for Intel GEN3 QuickAssist devices. 
 
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>  
Acked-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>  
Tomasz Cel  [Tue, 9 Oct 2018 16:08:10 +0000  (18:08 +0200)] 
 
crypto/qat: support AES-CMAC 
 
This patch add AES-CMAC support. CMAC is a keyed hash function 
that is based on a symmetric key block cipher. It is One-Key 
CBC MAC improvement over XCBC-MAC. RFC 4493. NIST SP 800-38B. 
 
Signed-off-by: Tomasz Cel <tomaszx.cel@intel.com>  
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>  
Acked-by: Fiona Trahe <fiona.trahe@intel.com>  
Junxiao Shi  [Tue, 9 Oct 2018 14:16:23 +0000  (10:16 -0400)] 
 
cryptodev: fix pool element size for undefined operation 
 
The documentation of rte_crypto_op_pool_create indicates that 
specifying RTE_CRYPTO_OP_TYPE_UNDEFINED would create a pool that 
supports all operation types. This change makes the code 
consistent with documentation. 
 
Fixes: c0f87eb5252b ("cryptodev: change burst API to be crypto op oriented")  
Cc: stable@dpdk.org  
Signed-off-by: Junxiao Shi <git@mail1.yoursunny.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Akhil Goyal  [Fri, 14 Sep 2018 11:48:10 +0000  (17:18 +0530)] 
 
event/dpaa2: support crypto adapter 
 
event dpaa2 device support both ethernet as well as 
crypto queues to be attached to it. eth_rx_adapter 
provide infrastructure to attach ethernet queues and 
crypto_adapter provide support for crypto queues. 
 
This patch add support for dpaa2_eventdev to attach 
dpaa2_sec queues. 
 
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>  
Signed-off-by: Ashish Jain <ashish.jain@nxp.com>  
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>  
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>  
Ashish Jain  [Fri, 14 Sep 2018 11:48:09 +0000  (17:18 +0530)] 
 
crypto/dpaa2_sec: support atomic queues 
 
Queues attached to event crypto device can be 
parallel, atomic and ordered. 
This patch add support for atomic queues processing 
for dpaa2_sec queues. 
 
Signed-off-by: Ashish Jain <ashish.jain@nxp.com>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Akhil Goyal  [Fri, 14 Sep 2018 11:48:08 +0000  (17:18 +0530)] 
 
crypto/dpaa2_sec: support event crypto adapter 
 
dpaa2_sec hw queues can be attached to a hw dpaa2 event 
device and the application can configure the event 
crypto adapter to access the dpaa2_sec packets using 
hardware events. 
This patch defines APIs which can be used by the dpaa2 
event device to attach/detach dpaa2_sec queues. 
 
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>  
Signed-off-by: Ashish Jain <ashish.jain@nxp.com>  
Hari Kumar Vemula  [Fri, 5 Oct 2018 10:59:17 +0000  (11:59 +0100)] 
 
crypto/zuc: enable meson build 
 
Added new meson.build file for ZUC 
 
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>  
Acked-by: Luca Boccassi <bluca@debian.org>  
Hari Kumar Vemula  [Fri, 5 Oct 2018 10:59:16 +0000  (11:59 +0100)] 
 
crypto/kasumi: enable meson build 
 
Added new meson.build file for KASUMI 
 
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>  
Acked-by: Luca Boccassi <bluca@debian.org>  
Hari Kumar Vemula  [Fri, 5 Oct 2018 10:59:15 +0000  (11:59 +0100)] 
 
crypto/aesni_mb: enable meson build 
 
Added new meson.build file for aesni_mb 
 
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>  
Acked-by: Luca Boccassi <bluca@debian.org>  
Hari Kumar Vemula  [Fri, 5 Oct 2018 10:59:14 +0000  (11:59 +0100)] 
 
crypto/aesni_gcm: enable meson build 
 
Added new meson.build files for aesni_gcm 
 
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>  
Acked-by: Luca Boccassi <bluca@debian.org>  
Dmitry Eremin-Solenikov  [Tue, 2 Oct 2018 20:00:03 +0000  (23:00 +0300)] 
 
crypto/openssl: support truncated HMAC operations 
 
IPsec requires truncated HMAC operations support. Extend OpenSSL crypto 
PMD to support truncated HMAC operations necessary for IPsec. 
 
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>  
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>  
Anoob Joseph  [Tue, 9 Oct 2018 09:07:56 +0000  (14:37 +0530)] 
 
doc: add OCTEON TX crypto guide 
 
Adding feature file and guide for OCTEON TX crypto PMD 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Ankur Dwivedi  [Tue, 9 Oct 2018 09:07:55 +0000  (14:37 +0530)] 
 
test/crypto: add OCTEON TX unit tests 
 
Adding validation tests for OCTEON TX crypto device. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Tejasree Kondoj  [Tue, 9 Oct 2018 09:07:54 +0000  (14:37 +0530)] 
 
crypto/octeontx: add burst dequeue 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Tejasree Kondoj  [Tue, 9 Oct 2018 09:07:53 +0000  (14:37 +0530)] 
 
crypto/octeontx: add burst enqueue 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Tejasree Kondoj  [Tue, 9 Oct 2018 09:07:52 +0000  (14:37 +0530)] 
 
crypto/octeontx: add routines to prepare instructions 
 
Adding hardware specific routines which prepare cpt instructions. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Srisivasubramanian S  [Tue, 9 Oct 2018 09:07:51 +0000  (14:37 +0530)] 
 
common/cpt: support hash 
 
Adding microcode interface for supporting verify and authentication 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Srisivasubramanian S  [Tue, 9 Oct 2018 09:07:50 +0000  (14:37 +0530)] 
 
common/cpt: support KASUMI 
 
Adding microcode interface for supporting kasumi. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Srisivasubramanian S  [Tue, 9 Oct 2018 09:07:49 +0000  (14:37 +0530)] 
 
common/cpt: support ZUC and SNOW3G 
 
Adding microcode interface for supporting ZUC and SNOW3G. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Ragothaman Jayaraman  [Tue, 9 Oct 2018 09:07:48 +0000  (14:37 +0530)] 
 
common/cpt: add crypto enqueue request manager framework 
 
Adding crypto enqueue op request manager framework. This routine won't 
submit to the hardware yet. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Ragothaman Jayaraman  [Tue, 9 Oct 2018 09:07:47 +0000  (14:37 +0530)] 
 
common/cpt: add microcode interface for decryption 
 
Adding microcode interface additions for supporting decryption. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Ragothaman Jayaraman  [Tue, 9 Oct 2018 09:07:46 +0000  (14:37 +0530)] 
 
common/cpt: add microcode interface for encryption 
 
Adding microcode interface additions for supporting encryption. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Nithin Dabilpuram  [Tue, 9 Oct 2018 09:07:45 +0000  (14:37 +0530)] 
 
common/cpt: add common defines for microcode 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Nithin Dabilpuram  [Tue, 9 Oct 2018 09:07:44 +0000  (14:37 +0530)] 
 
crypto/octeontx: add supported sessions 
 
Adding AEAD, cipher & auth sessions support. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Nithin Dabilpuram  [Tue, 9 Oct 2018 09:07:43 +0000  (14:37 +0530)] 
 
crypto/octeontx: add session management operations 
 
Adding routines for session configure, session clear and get session 
size ops. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Murthy NSSR  [Tue, 9 Oct 2018 09:07:42 +0000  (14:37 +0530)] 
 
crypto/octeontx: add queue pair functions 
 
Adding queue pair setup and release functions 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Murthy NSSR  [Tue, 9 Oct 2018 09:07:41 +0000  (14:37 +0530)] 
 
crypto/octeontx: add basic device operations 
 
Adding the following dev ops, 
- dev_configure 
- dev_start 
- dev_stop 
- dev_close 
- dev_infos_get 
- stats_get 
- stats_reset 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Murthy NSSR  [Tue, 9 Oct 2018 09:07:40 +0000  (14:37 +0530)] 
 
crypto/octeontx: add mailbox routines 
 
Adding mailbox routines to interact with the pf driver 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Anoob Joseph  [Tue, 9 Oct 2018 09:07:39 +0000  (14:37 +0530)] 
 
crypto/octeontx: add global resource init 
 
Adding initialization of global resources. This will be saved as 
metadata in cptvf and would be used by common code. Exit path for 
failure case is also added along with the new routines. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Anoob Joseph  [Tue, 9 Oct 2018 09:07:38 +0000  (14:37 +0530)] 
 
common/cpt: add PMD ops helper functions 
 
Adding pmd ops helper functions. Control path accessed APIs would be 
added as helper functions. Adding microcode defined macros etc as 
dependencies to the helper functions. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Ankur Dwivedi  [Tue, 9 Oct 2018 09:07:37 +0000  (14:37 +0530)] 
 
crypto/octeontx: add symmetric capabilities 
 
This patch adds the symmetric algorithms capabilities 
supported by octeontx crypto hardware. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Ankur Dwivedi  [Tue, 9 Oct 2018 09:07:36 +0000  (14:37 +0530)] 
 
crypto/octeontx: add hardware register access for misc poll 
 
Adding hardware register accesses required for misc poll 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Ankur Dwivedi  [Tue, 9 Oct 2018 09:07:35 +0000  (14:37 +0530)] 
 
crypto/octeontx: add hardware init routine 
 
Adding hardware init routine for OCTEON TX crypto device. A place holder 
is added for misc polling routine. That will be added in the further 
patches. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Anoob Joseph  [Tue, 9 Oct 2018 09:07:34 +0000  (14:37 +0530)] 
 
crypto/octeontx: add PMD skeleton 
 
Adding OCTEON TX crypto PMD skeleton. Updating the maintainers files to 
claim responsibility. Also enabling driver by default by adding the 
component in common_base. 
 
Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>  
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>  
Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com>  
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>  
Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com>  
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>  
Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>  
Tomasz Jozwiak  [Fri, 28 Sep 2018 13:14:28 +0000  (15:14 +0200)] 
 
compressdev: fix compression API description 
 
This patch fixes following API descriptions 
  -  rte_comp_op_raw_bulk_alloc 
  -  rte_comp_op_bulk_alloc 
 
Fixes: 96086db5a369 ("compressdev: add operation management")  
Cc: stable@dpdk.org  
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>  
Acked-by: Fiona Trahe <fiona.trahe@intel.com>  
Tomasz Duszynski  [Mon, 27 Aug 2018 12:22:54 +0000  (14:22 +0200)] 
 
crypto/mvsam: add dynamic logging 
 
Add dynamic logging support to mvsam crypto PMD. 
 
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>  
Dmitri Epshtein  [Mon, 27 Aug 2018 12:22:53 +0000  (14:22 +0200)] 
 
crypto/mvsam: use common initialization 
 
Use common initialization to reduce boilerplate code. 
 
Signed-off-by: Dmitri Epshtein <dima@marvell.com>  
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>  
Reviewed-by: Natalie Samsonov <nsamsono@marvell.com>  
Zyta Szpak  [Mon, 27 Aug 2018 12:22:52 +0000  (14:22 +0200)] 
 
crypto/mvsam: support scatter gather 
 
The patch adds support for chained source mbufs given 
to crypto operations. The crypto engine accepts source buffer 
containing a number of segments. The destination buffer 
stays the same - always one segment. 
On decryption, EIP engine will look for digest at 'auth_icv_offset' 
offset in SRC buffer.It must be placed in the last segment and the 
offset must be set to reach digest in the last segment. 
If application doesn't placed digest in source mbuf, driver try to 
copy it to a last segment. 
 
Signed-off-by: Zyta Szpak <zr@semihalf.com>  
Signed-off-by: Natalie Samsonov <nsamsono@marvell.com>  
Reviewed-by: Dmitri Epshtein <dima@marvell.com>  
Tomasz Duszynski  [Fri, 21 Sep 2018 14:53:59 +0000  (16:53 +0200)] 
 
crypto/mvsam: add 3DES ECB to the capabilities list 
 
3DES in ECB mode is supported by the PMD thus specific 
entry should exist in the crypto PMD capabilities list. 
 
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>  
Reviewed-by: Natalie Samsonov <nsamsono@marvell.com>  
Tomasz Duszynski  [Fri, 21 Sep 2018 14:53:58 +0000  (16:53 +0200)] 
 
crypto/mvsam: support crypto/auth NULL algorithms 
 
Add support for both cipher and auth NULL algorithms. 
 
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>  
Reviewed-by: Natalie Samsonov <nsamsono@marvell.com>  
Tomasz Duszynski  [Fri, 21 Sep 2018 14:53:57 +0000  (16:53 +0200)] 
 
crypto/mvsam: support AES ECB 
 
Add support for AES128/192/256 in ECB mode. 
 
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>  
Reviewed-by: Natalie Samsonov <nsamsono@marvell.com>