numam-dpdk/drivers/net
Ali Alnubani d924d6b964 net/mlx4: fix initialization of struct members
This patch fixes compilation errors with meson and the clang
compiler caused by some of the struct members not being
initialized.

```
../drivers/net/mlx4/mlx4_mr.c:357:37: error: missing field 'end'
initializer [-Werror,-Wmissing-field-initializers]
                struct mlx4_mr_cache entry = { 0, };
                                                  ^
../drivers/net/mlx4/mlx4_mr.c:401:36: error: missing field 'end'
initializer [-Werror,-Wmissing-field-initializers]
                        struct mlx4_mr_cache ret = { 0, };
                                                        ^
../drivers/net/mlx4/mlx4_mr.c:691:35: error: missing field 'end'
initializer [-Werror,-Wmissing-field-initializers]
                struct mlx4_mr_cache ret = { 0, };
                                                ^
```

The compilation errors reproduce with
clang version 3.4.2 (tags/RELEASE_34/dot2-final) on RHEL.

Fixes: 9797bfcce1 ("net/mlx4: add new memory region support")
Cc: stable@dpdk.org

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2018-11-15 23:54:53 +01: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 net/avf/base: fix shifting 32-bit signed variable 31 times 2018-11-05 15:58:45 +01:00
avp net/avp: disable in FreeBSD build with meson 2018-10-27 18:00:01 +02:00
axgbe ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
bnx2x net/bnx2x: fix VF link state update 2018-11-14 00:35:53 +01:00
bnxt net/bnxt: fix uninitialized variable access 2018-11-05 18:54:48 +01:00
bonding net/bonding: fix crash when stopping mode 4 port 2018-11-14 00:35:53 +01:00
cxgbe net/cxgbevf: fix illegal memory access when freeing MPS TCAM 2018-11-14 00:35:53 +01: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 net/e1000/base: fix uninitialized variable 2018-11-14 00:35:53 +01:00
ena drivers/net: set close behaviour flag at probing 2018-11-14 00:35:53 +01:00
enetc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
enic net/enic: fix size check in Tx prepare handler 2018-11-14 00:35:53 +01:00
failsafe drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
fm10k eal: fix build 2018-11-12 13:27:02 +01:00
i40e net/i40e: fix RSS key initialization 2018-11-15 23:32:46 +01:00
ifc add missing static keyword to globals 2018-10-29 02:01:08 +01:00
ixgbe net/ixgbe: fix maximum wait time in comment 2018-11-15 23:32:01 +01: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 net/mlx4: fix initialization of struct members 2018-11-15 23:54:53 +01:00
mlx5 net/mlx5: fix minor typos 2018-11-15 23:54:53 +01: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 net/netvsc: fix VF link update 2018-11-05 20:10:54 +01:00
nfp mem: rename DMA mask check with proper prefix 2018-11-05 01:01:54 +01:00
null ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
octeontx net/octeontx: fix mbuf corruption with large private sizes 2018-11-14 00:35:53 +01:00
pcap ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
qede net/qede: fix Tx tunnel offload support mask 2018-11-14 00:35:53 +01:00
ring ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
sfc net/sfc/base: fix field order in filter spec struct 2018-11-14 00:35:53 +01:00
softnic net/softnic: fix string copy 2018-11-02 11:23:00 +01:00
szedata2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
tap net/tap: fix probe for multiq or flowq failure 2018-11-14 00:35:53 +01:00
thunderx net/thunderx: fix Tx desc corruption in scatter-gather mode 2018-11-14 00:35:53 +01:00
vdev_netvsc net/vdev_netvsc: disable in FreeBSD build with meson 2018-10-27 18:03:33 +02:00
vhost net/vhost: fix parameters string 2018-11-05 15:01:25 +01:00
virtio net/virtio: fix unchecked return value 2018-11-14 00:35:53 +01:00
vmxnet3 drivers/net: set close behaviour flag at probing 2018-11-14 00:35:53 +01: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