numam-dpdk/drivers/net/octeontx2
Ankur Dwivedi 357439ad09 net/octeontx2: fix buffer size assignment
The elt_size field in mempool holds the size of one packet buffer.
It can be used to set the lpm_sizem1 field in rq context.

The lpb_sizem1 field in rq context is 12 bit, direct assignment
to it was causing overflow of value. Because of this errors
were observed while trying inline inbound with large packets.
This patch resolves the errors.

Fixes: 094fc8a3a1 ("net/octeontx2: add Rx queue setup and release")
Cc: stable@dpdk.org

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Reviewed-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
2020-05-21 15:53:14 +02:00
..
Makefile net/octeontx2: add security in configure 2020-02-05 15:20:51 +01:00
meson.build net/octeontx2: check compiler flag before use 2020-02-06 09:10:00 +01:00
otx2_ethdev_debug.c net/octeontx2: support TM debug 2020-04-21 13:57:06 +02:00
otx2_ethdev_devargs.c mempool/octeontx2: add devargs to lock context in cache 2020-05-19 18:28:58 +02:00
otx2_ethdev_irq.c net/octeontx2: disable unnecessary error interrupts 2020-04-21 13:57:07 +02:00
otx2_ethdev_ops.c net/octeontx2: support configuring link attributes 2020-04-21 13:57:06 +02:00
otx2_ethdev_sec_tx.h net/octeontx2: add inline IPsec Tx 2020-02-05 15:20:51 +01:00
otx2_ethdev_sec.c net/octeontx2: update max packet length for inline IPsec 2020-05-17 16:10:44 +02:00
otx2_ethdev_sec.h net/octeontx2: sync inline tag type 2020-02-05 15:20:51 +01:00
otx2_ethdev.c net/octeontx2: fix buffer size assignment 2020-05-21 15:53:14 +02:00
otx2_ethdev.h net/octeontx2: fix device configuration sequence 2020-04-21 13:57:06 +02:00
otx2_flow_ctrl.c net/octeontx2: fix flow control initial state 2020-02-15 10:23:07 +01:00
otx2_flow_parse.c net/octeontx2: support HIGIG2 2019-11-08 23:15:04 +01:00
otx2_flow_utils.c net/octeontx2: support flow API flags based extraction 2019-07-23 14:31:35 +02:00
otx2_flow.c net/octeontx2: sync inline tag type 2020-02-05 15:20:51 +01:00
otx2_flow.h net/octeontx2: support HIGIG2 2019-11-08 23:15:04 +01:00
otx2_link.c net/octeontx2: support configuring link attributes 2020-04-21 13:57:06 +02:00
otx2_lookup.c net/octeontx2: fix bad L4 checksum detection 2020-05-05 15:54:26 +02:00
otx2_mac.c net/octeontx2: support SDP interface 2019-11-08 23:15:05 +01:00
otx2_mcast.c net/octeontx2: support multicast filter 2019-10-23 16:43:10 +02:00
otx2_ptp.c net/octeontx2: fix PTP and HIGIG2 coexistence 2020-01-17 19:46:26 +01:00
otx2_rss.c net/octeontx2: disable unnecessary error interrupts 2020-04-21 13:57:07 +02:00
otx2_rx.c replace hot attributes 2020-04-16 18:30:58 +02:00
otx2_rx.h net/octeontx2: add security in Rx 2020-02-05 15:20:51 +01:00
otx2_stats.c ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
otx2_tm.c net/octeontx2: fix minimum length to SMQ config 2020-05-11 22:27:39 +02:00
otx2_tm.h net/octeontx2: update red algo for shaper dynamic update 2020-05-05 15:54:26 +02:00
otx2_tx.c replace hot attributes 2020-04-16 18:30:58 +02:00
otx2_tx.h net/octeontx2: add security in Tx 2020-02-05 15:20:51 +01:00
otx2_vlan.c net/octeontx2: update KPU parser profile 2019-10-08 12:14:31 +02:00
rte_pmd_octeontx2_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00