numam-dpdk/drivers/net/sfc
Weiguo Li b0fed38467 net/sfc: fix memory allocation size for cache
The size of unit cache should be sizeof(**cache) instead of
sizeof(*cache). Memory reallocation is inadequate by sizeof(*cache)
for the platform whose size of pointer is 32-bits. Found by coccinelle
(see https://coccinelle.gitlabpages.inria.fr/website) script.

Fixes: 63abf8d292 ("net/sfc: support SW stats groups")
Cc: stable@dpdk.org

Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2022-02-18 16:49:42 +01:00
..
meson.build net/sfc: rework flow action RSS support 2022-02-02 18:37:31 +01:00
sfc_debug.h
sfc_dp_rx.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
sfc_dp_tx.h net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_dp.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
sfc_dp.h net/sfc: merge Rx and Tx doorbell counters into one 2021-11-04 17:42:05 +01:00
sfc_ef10_essb_rx.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
sfc_ef10_rx_ev.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
sfc_ef10_rx.c net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_ef10_tx.c net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_ef10.h net/sfc: add xstats for Rx/Tx doorbells 2021-07-23 23:26:45 +02:00
sfc_ef100_rx.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
sfc_ef100_tx.c net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_ef100.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
sfc_ethdev_state.h net/sfc: move adapter state enum to separate header 2021-10-12 18:44:11 +02:00
sfc_ethdev.c net/sfc: do not push fast free offload to default TxQ config 2022-02-10 14:32:02 +01:00
sfc_ev.c net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_ev.h net/sfc: implement representor Tx queue start/stop 2021-10-12 18:44:11 +02:00
sfc_filter.c
sfc_filter.h
sfc_flow_rss.c net/sfc: use even spread mode in flow action RSS 2022-02-02 18:37:31 +01:00
sfc_flow_rss.h net/sfc: use even spread mode in flow action RSS 2022-02-02 18:37:31 +01:00
sfc_flow_tunnel.c net/sfc: fix flow tunnel support detection 2022-02-18 16:22:25 +01:00
sfc_flow_tunnel.h net/sfc: support counters in tunnel offload jump rules 2021-10-13 21:30:13 +02:00
sfc_flow.c net/sfc: rework flow action RSS support 2022-02-02 18:37:31 +01:00
sfc_flow.h net/sfc: rework flow action RSS support 2022-02-02 18:37:31 +01:00
sfc_intr.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
sfc_kvargs.c net/sfc: add port representors infrastructure 2021-10-12 18:44:11 +02:00
sfc_kvargs.h net/sfc: add port representors infrastructure 2021-10-12 18:44:11 +02:00
sfc_log.h net/sfc: add more debug messages to transfer flows 2021-04-21 12:38:37 +02:00
sfc_mae_counter.c net/sfc: allow control threads for counter queue polling 2021-11-04 17:57:00 +01:00
sfc_mae_counter.h net/sfc: support counters in tunnel offload jump rules 2021-10-13 21:30:13 +02:00
sfc_mae.c net/sfc: support MAC address edits in transfer flows 2021-11-17 14:10:08 +01:00
sfc_mae.h net/sfc: support MAC address edits in transfer flows 2021-11-17 14:10:08 +01:00
sfc_mcdi.c net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_nic_dma_dp.h net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_nic_dma.c net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_nic_dma.h net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_port.c net/sfc: support regioned NIC DMA memory mapping type 2021-11-17 12:37:07 +01:00
sfc_repr_proxy_api.h net/sfc: implement port representor start and stop 2021-10-12 18:44:11 +02:00
sfc_repr_proxy.c net/sfc: fix lock releases 2022-02-07 13:39:47 +01:00
sfc_repr_proxy.h net/sfc: implement representor Rx 2021-10-12 18:44:11 +02:00
sfc_repr.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
sfc_repr.h net/sfc: store PCI address for represented entities 2021-10-12 18:44:11 +02:00
sfc_rx.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
sfc_rx.h net/sfc: add Rx datapath method to get pushed buffers count 2021-07-20 12:20:31 +02:00
sfc_service.c net/sfc: add NUMA-aware registry of service logical cores 2021-07-20 12:20:31 +02:00
sfc_service.h net/sfc: add NUMA-aware registry of service logical cores 2021-07-20 12:20:31 +02:00
sfc_sriov.c net/sfc: add switch mode device argument 2021-10-12 18:44:10 +02:00
sfc_sriov.h
sfc_stats.h net/sfc: relax SW packets/bytes atomic ops memory ordering 2021-10-07 16:57:42 +02:00
sfc_sw_stats.c net/sfc: fix memory allocation size for cache 2022-02-18 16:49:42 +01:00
sfc_sw_stats.h net/sfc: add xstats for Rx/Tx doorbells 2021-07-23 23:26:45 +02:00
sfc_switch.c net/sfc: support represented port flow item 2021-11-02 19:26:13 +01:00
sfc_switch.h net/sfc: support represented port flow item 2021-11-02 19:26:13 +01:00
sfc_tso.c mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
sfc_tso.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
sfc_tweak.h net/sfc: support flow action count in transfer rules 2021-07-20 12:20:31 +02:00
sfc_tx.c net/sfc: demand Tx fast free offload on EF10 simple datapath 2022-02-10 14:32:02 +01:00
sfc_tx.h net/sfc: implement representor Tx queue start/stop 2021-10-12 18:44:11 +02:00
sfc.c net/sfc: rework flow action RSS support 2022-02-02 18:37:31 +01:00
sfc.h net/sfc: rework flow action RSS support 2022-02-02 18:37:31 +01:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00