numam-dpdk/drivers/net/sfc
Igor Romanov 6c0cc77a2d net/sfc: fix MTU change to check Rx scatter consistency
Rx queue setup function checks configured MTU to make sure that
no oversized packets can be received. But a following call to
set MTU function might make this check irrelevant.

Add a function to check MTU size against Rx buffer size and
additional Rx queue info, including Rx scatter offload.

Fixes: e961cf425e ("net/sfc: support MTU change")
Cc: stable@dpdk.org

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2019-05-03 18:45:22 +02:00
..
base net/sfc/base: share macro to increment per-event type stats 2019-02-08 11:35:41 +01:00
efsys.h net/sfc: fix typo in preprocessor check 2019-01-14 17:44:29 +01:00
Makefile net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
meson.build build: set RTE_ARCH_64 based on pointer size 2019-02-26 18:34:28 +01:00
rte_pmd_sfc_version.map net/sfc: rename version map file 2018-02-05 13:14:36 +01:00
sfc_debug.h net/sfc: start to factor out multi-process shared data 2019-02-07 16:06:30 +01:00
sfc_dp_rx.h net/sfc: use NIC EVQ descs limits instead of defines 2019-02-08 11:35:41 +01:00
sfc_dp_tx.h net/sfc: support tunnel TSO on EF10 native Tx datapath 2019-04-05 17:45:22 +02:00
sfc_dp.c net/sfc: support driver-wide dynamic logging 2018-03-30 14:08:44 +02:00
sfc_dp.h net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_ef10_essb_rx.c net/sfc: use NIC EVQ descs limits instead of defines 2019-02-08 11:35:41 +01:00
sfc_ef10_rx_ev.h net/sfc: handle unknown L3 packet class in EF10 event parser 2018-07-23 23:55:26 +02:00
sfc_ef10_rx.c net/sfc: use NIC Rx descs limits instead of defines 2019-02-08 11:35:41 +01:00
sfc_ef10_tx.c net/sfc: support tunnel TSO on EF10 native Tx datapath 2019-04-05 17:45:22 +02:00
sfc_ef10.h net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_ethdev.c net/sfc: fix MTU change to check Rx scatter consistency 2019-05-03 18:45:22 +02:00
sfc_ev.c net/sfc: use NIC event descriptor size instead of common 2019-02-08 11:35:41 +01:00
sfc_ev.h net/sfc: use NIC EVQ descs limits instead of defines 2019-02-08 11:35:41 +01:00
sfc_filter.c net/sfc: fix filter exceptions logic 2018-07-23 23:55:26 +02:00
sfc_filter.h net/sfc: fix filter exceptions logic 2018-07-23 23:55:26 +02:00
sfc_flow.c ethdev: deprecate legacy filter API 2019-04-19 14:51:54 +02:00
sfc_flow.h net/sfc: remove conditional compilation for RSS 2018-04-27 18:00:55 +01:00
sfc_intr.c build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
sfc_kvargs.c net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_kvargs.h net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_log.h net/sfc: make main logging macro reusable in secondary 2019-02-07 16:06:30 +01:00
sfc_mcdi.c net/sfc: start to factor out multi-process shared data 2019-02-07 16:06:30 +01:00
sfc_port.c net/sfc: move isolated flag in adapter shared 2019-02-07 16:06:30 +01:00
sfc_rx.c net/sfc: fix MTU change to check Rx scatter consistency 2019-05-03 18:45:22 +02:00
sfc_rx.h net/sfc: fix MTU change to check Rx scatter consistency 2019-05-03 18:45:22 +02:00
sfc_tso.c net/sfc: factor out function to get IPv4 packet ID for TSO 2019-04-05 17:45:22 +02:00
sfc_tso.h net/sfc: factor out function to get IPv4 packet ID for TSO 2019-04-05 17:45:22 +02:00
sfc_tweak.h net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_tx.c net/sfc: support tunnel TSO on EF10 native Tx datapath 2019-04-05 17:45:22 +02:00
sfc_tx.h net/sfc: remove TxQ control from shared TxQ info 2019-02-07 16:06:30 +01:00
sfc.c net/sfc: support tunnel TSO on EF10 native Tx datapath 2019-04-05 17:45:22 +02:00
sfc.h net/sfc: support tunnel TSO on EF10 native Tx datapath 2019-04-05 17:45:22 +02:00