numam-dpdk/drivers/net
Viacheslav Ovsiienko c4301b9caf net/mlx5: fix flow counters creation
The Flow counter creation function contains two problems:

  - Flow counter object in Verbs is not freed in case of memory
    allocation error. The call of counter Verbs object deallocating
    function is added to fix.

  - The initial value of reference counter is set to one in order
    to provide the correct counter object freeing in the
    flow_verbs_counter_release() function. The reference counter
    field should be initialized to one.

Fixes: 60bd8c9747 ("net/mlx5: add count flow action")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2018-10-26 22:14:06 +02:00
..
af_packet ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
ark ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
atlantic net/atlantic: read MAC registers for debug purposes 2018-10-18 10:24:39 +02:00
avf ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
avp ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
axgbe ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
bnx2x net/bnx2x: remove profanity 2018-10-18 10:24:39 +02:00
bnxt ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
bonding ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
cxgbe ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
dpaa ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
dpaa2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
e1000 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
ena drivers/net: enable device detach on secondary process 2018-10-17 10:16:18 +02:00
enetc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
enic net/enic: add missing Tx offload flags 2018-10-26 22:14:05 +02:00
failsafe ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
fm10k ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
i40e net/i40e: update Tx offload mask 2018-10-26 22:14:06 +02:00
ifc net/ifc: invoke ifcvf HW init function in probe 2018-10-11 18:56:02 +02:00
ixgbe net/ixgbe: fix RSS flow error return 2018-10-26 22:14:06 +02:00
kni ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
liquidio ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mlx4 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mlx5 net/mlx5: fix flow counters creation 2018-10-26 22:14:06 +02:00
mvneta ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mvpp2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
netvsc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
nfp net/nfp: fix RSS 2018-10-11 18:53:48 +02:00
null ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
octeontx ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
pcap ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
qede ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
ring ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
sfc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
softnic ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
szedata2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
tap ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
thunderx net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
vdev_netvsc drivers/net: fix log type string 2018-10-11 18:53:49 +02:00
vhost ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
virtio ethdev: remove deprecated attach/detach functions 2018-10-26 22:14:05 +02:00
vmxnet3 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
Makefile net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00
meson.build net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00