numam-dpdk/drivers/net
Leyi Rong 966dd8e290 net/ice/base: refactor HW table init function
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 on unloading the driver.
2. Fill HW tables with package content after successful package download.
3. Free HW table and flow profile allocations when unloading driver.
4. Add flag in block structure to check if lists in block are
initialized. This is to avoid any NULL reference in releasing flow
profiles that may have been freed in previous calls to free tables.

Signed-off-by: Vignesh Sridhar <vignesh.sridhar@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2019-06-28 20:31:48 +02:00
..
af_packet net/af_packet: fix RxQ errors stat 2019-06-06 20:21:19 +09:00
af_xdp net/af_xdp: remove unused struct member 2019-06-13 23:54:30 +09:00
ark net/ark: remove unnecessary cast 2019-06-13 23:54:28 +09:00
atlantic net/atlantic: add missing experimental API tags 2019-06-29 19:04:37 +02:00
avp net/avp: fix RxQ errors stat 2019-06-06 20:21:19 +09:00
axgbe net/axgbe: remove unnecessary cast 2019-06-13 23:54:29 +09:00
bnx2x net/bnx2x: fix icc build 2019-06-26 09:14:24 +02:00
bnxt net/bnxt: fix build with some compilers 2019-06-14 15:55:38 +09:00
bonding net/bonding: remove unnecessary cast 2019-06-13 23:54:29 +09:00
cxgbe net/cxgbe: remove unnecessary cast 2019-06-13 23:54:29 +09:00
dpaa net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
dpaa2 remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
e1000 net/e1000: fix Tx prepare to set positive rte_errno 2019-06-13 23:54:30 +09:00
ena net/ena: fix assigning NUMA node to IO queue 2019-06-13 23:54:30 +09:00
enetc net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
enic net/enic: remove flow locks 2019-06-14 00:01:06 +09:00
failsafe eal: fix positive error codes from probe/remove 2019-06-29 21:28:38 +02:00
fm10k net/fm10k: fix Tx prepare to set positive rte_errno 2019-06-13 23:54:30 +09:00
i40e net/i40e: remove empty queue stats mapping set devops 2019-06-20 23:42:04 +02:00
iavf net/iavf: move compile time define to configuration 2019-06-20 23:42:04 +02:00
ice net/ice/base: refactor HW table init function 2019-06-28 20:31:48 +02:00
ifc
ipn3ke net/ipn3ke: fix null pointer dereference 2019-06-20 23:42:04 +02:00
ixgbe enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
kni net/kni: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
liquidio net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
memif net/memif: introduce memory interface PMD 2019-06-13 23:54:29 +09:00
mlx4 net/mlx4: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
mlx5 net/mlx5: fix master device Netlink socket sharing 2019-06-14 00:01:06 +09:00
mvneta net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
mvpp2 net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
netvsc net/netvsc: initialize VF spinlock 2019-06-20 23:42:04 +02:00
nfb net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
nfp net/nfp: disable for 32-bit meson builds 2019-06-03 23:52:55 +02:00
null net/null: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
octeontx net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
pcap net/pcap: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
qede net/qede: fix warnings from invalid assert 2019-06-24 12:25:03 +01:00
ring net/ring: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
sfc net/sfc/base: add APIs for PTP privilege configuration 2019-06-20 23:42:04 +02:00
softnic enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
szedata2 net/szedata2: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
tap net/tap: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
thunderx net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
vdev_netvsc eal: fix positive error codes from probe/remove 2019-06-29 21:28:38 +02:00
vhost net/vhost: release port upon close 2019-06-13 23:54:29 +09:00
virtio net/virtio: fix packets check in mergeable packed Rx 2019-06-20 23:42:04 +02:00
vmxnet3 net/vmxnet3: fix Tx prepare to set positive rte_errno 2019-06-13 23:54:30 +09:00
Makefile net/memif: introduce memory interface PMD 2019-06-13 23:54:29 +09:00
meson.build net/memif: introduce memory interface PMD 2019-06-13 23:54:29 +09:00