numam-dpdk/drivers/net
Ferruh Yigit 675a6c1874 net/softnic: fix useless address check
Reported by "gcc (GCC) 12.0.0 20211003 (experimental)":

./drivers/net/softnic/rte_eth_softnic_cli.c:
	In function ‘tmgr_hierarchy_default’:
./drivers/net/softnic/rte_eth_softnic_cli.c:634:73:
	error: the comparison will always evaluate as ‘true’ for the
	address of ‘tc_valid’ will never be NULL [-Werror=address]
  634 | (&params->shared_shaper_id.tc_valid[0]) ? 1 : 0,
      |                                         ^

Fixing it by removing useless check.

Fixes: 1af2dc5111 ("net/softnic: add command for default tmgr hierarchy")
Fixes: 5eb676d74f ("net/softnic: add config flexibility to TM")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
2021-10-13 23:37:17 +02:00
..
af_packet ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
af_xdp net/af_xdp: disable secondary process support 2021-10-08 13:06:55 +02:00
ark ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
atlantic ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
avp ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
axgbe ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
bnx2x ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
bnxt net/bnxt: support meta flow actions to overrule destinations 2021-10-13 22:59:26 +02:00
bonding net/bonding: fix RSS key length 2021-10-08 19:23:32 +02:00
cnxk ethdev: remove deprecated shared counter attribute 2021-10-12 19:20:57 +02:00
cxgbe ethdev: hide internal structures 2021-10-13 22:14:59 +02:00
dpaa ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
dpaa2 ethdev: hide internal structures 2021-10-13 22:14:59 +02:00
e1000 ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
ena net/ena: remove useless address check 2021-10-11 17:47:31 +02:00
enetc ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
enic net/enic: support meta flow actions to overrule destinations 2021-10-13 22:59:26 +02:00
failsafe ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
fm10k ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
hinic ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
hns3 ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
i40e ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
iavf ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
ice ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
igc ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
ionic ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
ipn3ke ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
ixgbe ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
kni ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
liquidio ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
memif ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
mlx4 ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
mlx5 net/mlx5: support represented port flow action 2021-10-13 22:59:26 +02:00
mvneta ethdev: hide internal structures 2021-10-13 22:14:59 +02:00
mvpp2 ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
netvsc ethdev: hide internal structures 2021-10-13 22:14:59 +02:00
nfb ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
nfp ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
ngbe ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
null ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
octeontx mempool: add namespace to internal helpers 2021-10-20 10:00:18 +02:00
octeontx2 net/octeontx2: support port representor flow action 2021-10-13 22:59:26 +02:00
octeontx_ep ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
pcap ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
pfe ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
qede ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
ring ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
sfc net/sfc: support port representor flow item 2021-10-13 22:59:26 +02:00
softnic net/softnic: fix useless address check 2021-10-13 23:37:17 +02:00
szedata2 ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
tap ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
thunderx ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
txgbe ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
vdev_netvsc version: 21.11-rc0 2021-08-17 08:37:52 +02:00
vhost ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
virtio ethdev: remove legacy Rx descriptor done API 2021-10-11 16:44:57 +02:00
vmxnet3 ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
meson.build net/ngbe: add build and doc infrastructure 2021-07-12 17:55:19 +02:00