[dpdk-dev] [PATCH v10 4/5] raw/ntb: add handshake process

2019-07-01 Thread Xiaoyun Li
Add handshake process using doorbell so that two hosts can communicate to start and stop. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb_rawdev.rst | 5 + drivers/raw/ntb_rawdev/ntb_rawdev.c | 336 +++- 2 files changed, 340 insertions(+), 1 deletion(-) diff

[dpdk-dev] [PATCH v10 3/5] raw/ntb: add intel ntb support

2019-07-01 Thread Xiaoyun Li
Add in the list of registers for the device. And enable ntb device ops for Intel Skylake platform. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb_rawdev.rst | 17 ++ drivers/raw/ntb_rawdev/Makefile | 1 + drivers/raw/ntb_rawdev/meson.build| 3 +- drivers/raw/ntb_rawdev

[dpdk-dev] [PATCH v10 1/5] raw/ntb: introduce ntb rawdev driver

2019-07-01 Thread Xiaoyun Li
Introduce rawdev driver support for NTB (Non-transparent Bridge) which can help to connect two separate hosts with each other. Signed-off-by: Xiaoyun Li --- MAINTAINERS | 5 + config/common_base| 5 + doc/guides/rawdevs/index.rst

[dpdk-dev] [PATCH v10 1/5] raw/ntb: introduce ntb rawdev driver

2019-07-01 Thread Xiaoyun Li
Introduce rawdev driver support for NTB (Non-transparent Bridge) which can help to connect two separate hosts with each other. Signed-off-by: Xiaoyun Li --- MAINTAINERS | 5 + config/common_base| 5 + doc/guides/rawdevs/index.rst

[dpdk-dev] [PATCH v10 2/5] usertools/dpdk-devbind.py: add support for ntb

2019-07-01 Thread Xiaoyun Li
In order to allow binding/unbinding of devices for use by the ntb_rawdev, we need to update the devbind script to add a new class of device, and add device ids for the specific HW instances. And only support Intel Skylake platform right now. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs

[dpdk-dev] [PATCH v10 3/5] raw/ntb: add intel ntb support

2019-07-01 Thread Xiaoyun Li
Add in the list of registers for the device. And enable ntb device ops for Intel Skylake platform. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb_rawdev.rst | 17 ++ drivers/raw/ntb_rawdev/Makefile | 1 + drivers/raw/ntb_rawdev/meson.build| 3 +- drivers/raw/ntb_rawdev

[dpdk-dev] [PATCH v10 0/5] rawdev driver for ntb

2019-07-01 Thread Xiaoyun Li
about how to setup BIOS for skylake. * Fixed not return issue and not free issue in example. * Renamed ntb_devices to communication_devices to be more generic in usertools. * Polish the codes and docs. Xiaoyun Li (5): raw/ntb: introduce ntb rawdev driver usertools/dpdk-devbind.py: add support

[dpdk-dev] [PATCH v10 5/5] examples/ntb: enable an example for ntb

2019-07-01 Thread Xiaoyun Li
e functions and only support transmitting file no more than 4M. Signed-off-by: Xiaoyun Li --- MAINTAINERS | 4 + doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/ntb.rst| 47 drivers/raw/ntb_rawdev/ntb_rawdev.c | 28 ++

[dpdk-dev] [PATCH v10 4/5] raw/ntb: add handshake process

2019-07-01 Thread Xiaoyun Li
Add handshake process using doorbell so that two hosts can communicate to start and stop. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb_rawdev.rst | 5 + drivers/raw/ntb_rawdev/ntb_rawdev.c | 336 +++- 2 files changed, 340 insertions(+), 1 deletion(-) diff

[dpdk-dev] [PATCH 0/6] rawdev driver for ntb

2019-06-03 Thread Xiaoyun Li
support file which is no more than 4M. And will add FIFO in the future. Xiaoyun Li (6): raw/ntb: introduce ntb rawdev driver raw/ntb: add intel ntb support raw/ntb: add handshake process examples/ntb: enable an example for ntb usertools/dpdk-devbind.py: add support for ntb doc: update

[dpdk-dev] [PATCH 5/6] usertools/dpdk-devbind.py: add support for ntb

2019-06-03 Thread Xiaoyun Li
In order to allow binding/unbinding of devices for use by the ntb_rawdev, we need to update the devbind script to add a new class of device, and add device ids for the specific HW instances. And only support skx platform right now. Signed-off-by: Xiaoyun Li --- usertools/dpdk-devbind.py | 9

[dpdk-dev] [PATCH 6/6] doc: update docs for ntb pmd

2019-06-03 Thread Xiaoyun Li
Update related documents for ntb pmd and example. Signed-off-by: Xiaoyun Li --- MAINTAINERS| 8 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rawdevs/ntb_rawdev.rst | 25 ++ doc/guides/rel_notes/release_19_08.rst | 16

[dpdk-dev] [PATCH 4/6] examples/ntb: enable an example for ntb

2019-06-03 Thread Xiaoyun Li
e functions and only support transmitting file no more than 4M. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 25 +- examples/Makefile | 1 + examples/meson.build| 21 +- examples/ntb/Makefile | 68 ++ exam

[dpdk-dev] [PATCH 2/6] raw/ntb: add intel ntb support

2019-06-03 Thread Xiaoyun Li
Add in the list of registers for the device. And enable ntb device ops for intel skylake platform. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/Makefile | 1 + drivers/raw/ntb_rawdev/meson.build| 3 +- drivers/raw/ntb_rawdev/ntb_hw_intel.c | 373

[dpdk-dev] [PATCH 3/6] raw/ntb: add handshake process

2019-06-03 Thread Xiaoyun Li
Add handshake process using doorbell so that two hosts can communicate to start and stop. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 276 1 file changed, 276 insertions(+) diff --git a/drivers/raw/ntb_rawdev/ntb_rawdev.c b/drivers/raw

[dpdk-dev] [PATCH 1/6] raw/ntb: introduce ntb rawdev driver

2019-06-03 Thread Xiaoyun Li
Introduce rawdev driver support for NTB (Non-transparent Bridge) which can help to connect two separate hosts with each other. Signed-off-by: Xiaoyun Li --- config/common_base| 5 + drivers/raw/Makefile | 1 + drivers/raw/meson.build

[dpdk-dev] [PATCH v2 1/6] raw/ntb: introduce ntb rawdev driver

2019-06-06 Thread Xiaoyun Li
Introduce rawdev driver support for NTB (Non-transparent Bridge) which can help to connect two separate hosts with each other. Signed-off-by: Xiaoyun Li --- config/common_base| 5 + drivers/raw/Makefile | 1 + drivers/raw/meson.build

[dpdk-dev] [PATCH v2 0/6] rawdev driver for ntb

2019-06-06 Thread Xiaoyun Li
docs. Xiaoyun Li (6): raw/ntb: introduce ntb rawdev driver raw/ntb: add intel ntb support raw/ntb: add handshake process examples/ntb: enable an example for ntb usertools/dpdk-devbind.py: add support for ntb doc: update docs for ntb driver MAINTAINERS

[dpdk-dev] [PATCH v2 3/6] raw/ntb: add handshake process

2019-06-06 Thread Xiaoyun Li
Add handshake process using doorbell so that two hosts can communicate to start and stop. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 335 +++- 1 file changed, 334 insertions(+), 1 deletion(-) diff --git a/drivers/raw/ntb_rawdev/ntb_rawdev.c b

[dpdk-dev] [PATCH v2 2/6] raw/ntb: add intel ntb support

2019-06-06 Thread Xiaoyun Li
Add in the list of registers for the device. And enable ntb device ops for intel skylake platform. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/Makefile | 1 + drivers/raw/ntb_rawdev/meson.build| 3 +- drivers/raw/ntb_rawdev/ntb_hw_intel.c | 368

[dpdk-dev] [PATCH v2 6/6] doc: update docs for ntb driver

2019-06-06 Thread Xiaoyun Li
Update related documents for ntb pmd and example. Signed-off-by: Xiaoyun Li --- MAINTAINERS| 8 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rawdevs/ntb_rawdev.rst | 41 ++ doc/guides/rel_notes/release_19_08.rst | 16

[dpdk-dev] [PATCH v2 5/6] usertools/dpdk-devbind.py: add support for ntb

2019-06-06 Thread Xiaoyun Li
In order to allow binding/unbinding of devices for use by the ntb_rawdev, we need to update the devbind script to add a new class of device, and add device ids for the specific HW instances. And only support skx platform right now. Signed-off-by: Xiaoyun Li --- usertools/dpdk-devbind.py | 9

[dpdk-dev] [PATCH v2 4/6] examples/ntb: enable an example for ntb

2019-06-06 Thread Xiaoyun Li
e functions and only support transmitting file no more than 4M. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 27 +- examples/Makefile | 1 + examples/meson.build| 21 +- examples/ntb/Makefile | 68 + exam

[dpdk-dev] [PATCH 0/6] rawdev driver for ntb

2019-06-11 Thread Xiaoyun Li
. * Fixed not return issue and not free issue in example. * Renamed ntb_devices to communication_devices to be more generic in usertools. * Polish the codes and docs. Xiaoyun Li (6): raw/ntb: introduce ntb rawdev driver raw/ntb: add intel ntb support raw/ntb: add handshake process examples

[dpdk-dev] [PATCH 2/6] raw/ntb: add intel ntb support

2019-06-11 Thread Xiaoyun Li
Add in the list of registers for the device. And enable ntb device ops for intel skylake platform. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/Makefile | 1 + drivers/raw/ntb_rawdev/meson.build| 3 +- drivers/raw/ntb_rawdev/ntb_hw_intel.c | 368

[dpdk-dev] [PATCH 1/6] raw/ntb: introduce ntb rawdev driver

2019-06-11 Thread Xiaoyun Li
Introduce rawdev driver support for NTB (Non-transparent Bridge) which can help to connect two separate hosts with each other. Signed-off-by: Xiaoyun Li --- config/common_base| 5 + drivers/raw/Makefile | 1 + drivers/raw/meson.build

[dpdk-dev] [PATCH 5/6] usertools/dpdk-devbind.py: add support for ntb

2019-06-11 Thread Xiaoyun Li
In order to allow binding/unbinding of devices for use by the ntb_rawdev, we need to update the devbind script to add a new class of device, and add device ids for the specific HW instances. And only support skx platform right now. Signed-off-by: Xiaoyun Li --- usertools/dpdk-devbind.py | 9

[dpdk-dev] [PATCH 4/6] examples/ntb: enable an example for ntb

2019-06-11 Thread Xiaoyun Li
e functions and only support transmitting file no more than 4M. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 28 +- examples/Makefile | 1 + examples/meson.build| 2 +- examples/ntb/Makefile | 68 + exam

[dpdk-dev] [PATCH 6/6] doc: update docs for ntb driver

2019-06-11 Thread Xiaoyun Li
Update related documents for ntb pmd and example. Signed-off-by: Xiaoyun Li --- MAINTAINERS| 8 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rawdevs/ntb_rawdev.rst | 41 ++ doc/guides/rel_notes/release_19_08.rst | 15

[dpdk-dev] [PATCH 3/6] raw/ntb: add handshake process

2019-06-11 Thread Xiaoyun Li
Add handshake process using doorbell so that two hosts can communicate to start and stop. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 336 +++- 1 file changed, 335 insertions(+), 1 deletion(-) diff --git a/drivers/raw/ntb_rawdev/ntb_rawdev.c b

[dpdk-dev] [PATCH v3 0/6] rawdev driver for ntb

2019-06-11 Thread Xiaoyun Li
. * Fixed not return issue and not free issue in example. * Renamed ntb_devices to communication_devices to be more generic in usertools. * Polish the codes and docs. Xiaoyun Li (6): raw/ntb: introduce ntb rawdev driver raw/ntb: add intel ntb support raw/ntb: add handshake process examples

[dpdk-dev] [PATCH v3 1/6] raw/ntb: introduce ntb rawdev driver

2019-06-11 Thread Xiaoyun Li
Introduce rawdev driver support for NTB (Non-transparent Bridge) which can help to connect two separate hosts with each other. Signed-off-by: Xiaoyun Li --- config/common_base| 5 + drivers/raw/Makefile | 1 + drivers/raw/meson.build

[dpdk-dev] [PATCH v3 2/6] raw/ntb: add intel ntb support

2019-06-11 Thread Xiaoyun Li
Add in the list of registers for the device. And enable ntb device ops for intel skylake platform. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/Makefile | 1 + drivers/raw/ntb_rawdev/meson.build| 3 +- drivers/raw/ntb_rawdev/ntb_hw_intel.c | 368

[dpdk-dev] [PATCH v3 4/6] examples/ntb: enable an example for ntb

2019-06-11 Thread Xiaoyun Li
e functions and only support transmitting file no more than 4M. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 28 +- examples/Makefile | 1 + examples/meson.build| 2 +- examples/ntb/Makefile | 68 + exam

[dpdk-dev] [PATCH v3 3/6] raw/ntb: add handshake process

2019-06-11 Thread Xiaoyun Li
Add handshake process using doorbell so that two hosts can communicate to start and stop. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 336 +++- 1 file changed, 335 insertions(+), 1 deletion(-) diff --git a/drivers/raw/ntb_rawdev/ntb_rawdev.c b

[dpdk-dev] [PATCH v3 5/6] usertools/dpdk-devbind.py: add support for ntb

2019-06-11 Thread Xiaoyun Li
In order to allow binding/unbinding of devices for use by the ntb_rawdev, we need to update the devbind script to add a new class of device, and add device ids for the specific HW instances. And only support skx platform right now. Signed-off-by: Xiaoyun Li --- usertools/dpdk-devbind.py | 9

[dpdk-dev] [PATCH v3 6/6] doc: update docs for ntb driver

2019-06-11 Thread Xiaoyun Li
Update related documents for ntb pmd and example. Signed-off-by: Xiaoyun Li --- MAINTAINERS| 8 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rawdevs/ntb_rawdev.rst | 41 ++ doc/guides/rel_notes/release_19_08.rst | 15

[dpdk-dev] [PATCH v4 0/6] rawdev driver for ntb

2019-06-13 Thread Xiaoyun Li
debugging. * Updated docs especailly about how to setup BIOS for skylake. * Fixed not return issue and not free issue in example. * Renamed ntb_devices to communication_devices to be more generic in usertools. * Polish the codes and docs. Xiaoyun Li (6): raw/ntb: introduce ntb rawdev driver raw/ntb

[dpdk-dev] [PATCH v4 1/6] raw/ntb: introduce ntb rawdev driver

2019-06-13 Thread Xiaoyun Li
Introduce rawdev driver support for NTB (Non-transparent Bridge) which can help to connect two separate hosts with each other. Signed-off-by: Xiaoyun Li --- config/common_base| 5 + drivers/raw/Makefile | 1 + drivers/raw/meson.build

[dpdk-dev] [PATCH v4 2/6] raw/ntb: add intel ntb support

2019-06-13 Thread Xiaoyun Li
Add in the list of registers for the device. And enable ntb device ops for intel skylake platform. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/Makefile | 1 + drivers/raw/ntb_rawdev/meson.build| 3 +- drivers/raw/ntb_rawdev/ntb_hw_intel.c | 368

[dpdk-dev] [PATCH v4 6/6] doc: update docs for ntb driver

2019-06-13 Thread Xiaoyun Li
Update related documents for ntb pmd and example. Signed-off-by: Xiaoyun Li --- MAINTAINERS| 8 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rawdevs/ntb_rawdev.rst | 41 ++ doc/guides/rel_notes/release_19_08.rst | 15

[dpdk-dev] [PATCH v4 3/6] raw/ntb: add handshake process

2019-06-13 Thread Xiaoyun Li
Add handshake process using doorbell so that two hosts can communicate to start and stop. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 336 +++- 1 file changed, 335 insertions(+), 1 deletion(-) diff --git a/drivers/raw/ntb_rawdev/ntb_rawdev.c b

[dpdk-dev] [PATCH v4 4/6] examples/ntb: enable an example for ntb

2019-06-13 Thread Xiaoyun Li
e functions and only support transmitting file no more than 4M. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 28 +- examples/Makefile | 1 + examples/meson.build| 2 +- examples/ntb/Makefile | 68 + exam

[dpdk-dev] [PATCH v4 5/6] usertools/dpdk-devbind.py: add support for ntb

2019-06-13 Thread Xiaoyun Li
In order to allow binding/unbinding of devices for use by the ntb_rawdev, we need to update the devbind script to add a new class of device, and add device ids for the specific HW instances. And only support skx platform right now. Signed-off-by: Xiaoyun Li --- usertools/dpdk-devbind.py | 9

[dpdk-dev] [PATCH v5 1/6] raw/ntb: introduce ntb rawdev driver

2019-06-13 Thread Xiaoyun Li
Introduce rawdev driver support for NTB (Non-transparent Bridge) which can help to connect two separate hosts with each other. Signed-off-by: Xiaoyun Li --- config/common_base| 5 + drivers/raw/Makefile | 1 + drivers/raw/meson.build

[dpdk-dev] [PATCH v5 0/6] rawdev driver for ntb

2019-06-13 Thread Xiaoyun Li
stopped abnormally such as crashed while debugging. * Updated docs especailly about how to setup BIOS for skylake. * Fixed not return issue and not free issue in example. * Renamed ntb_devices to communication_devices to be more generic in usertools. * Polish the codes and docs. Xiaoyun Li (6

[dpdk-dev] [PATCH v5 2/6] raw/ntb: add intel ntb support

2019-06-13 Thread Xiaoyun Li
Add in the list of registers for the device. And enable ntb device ops for intel skylake platform. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/Makefile | 1 + drivers/raw/ntb_rawdev/meson.build| 3 +- drivers/raw/ntb_rawdev/ntb_hw_intel.c | 368

[dpdk-dev] [PATCH v5 4/6] examples/ntb: enable an example for ntb

2019-06-13 Thread Xiaoyun Li
e functions and only support transmitting file no more than 4M. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 28 ++- examples/Makefile | 1 + examples/meson.build| 2 +- examples/ntb/Makefile | 68 + exam

[dpdk-dev] [PATCH v5 6/6] doc: update docs for ntb driver

2019-06-13 Thread Xiaoyun Li
Update related documents for ntb pmd and example. Signed-off-by: Xiaoyun Li --- MAINTAINERS| 8 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rawdevs/ntb_rawdev.rst | 41 ++ doc/guides/rel_notes/release_19_08.rst | 15

[dpdk-dev] [PATCH v5 3/6] raw/ntb: add handshake process

2019-06-13 Thread Xiaoyun Li
Add handshake process using doorbell so that two hosts can communicate to start and stop. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb_rawdev/ntb_rawdev.c | 336 +++- 1 file changed, 335 insertions(+), 1 deletion(-) diff --git a/drivers/raw/ntb_rawdev/ntb_rawdev.c b

[dpdk-dev] [PATCH v5 5/6] usertools/dpdk-devbind.py: add support for ntb

2019-06-13 Thread Xiaoyun Li
In order to allow binding/unbinding of devices for use by the ntb_rawdev, we need to update the devbind script to add a new class of device, and add device ids for the specific HW instances. And only support skx platform right now. Signed-off-by: Xiaoyun Li --- usertools/dpdk-devbind.py | 9

[dpdk-dev] [PATCH 0/4] enable FIFO for NTB

2019-09-04 Thread Xiaoyun Li
Enable FIFO for NTB rawdev driver to support packet based processing. And an example is provided to support txonly, rxonly, iofwd between NTB device and ethdev, and file transmission. Xiaoyun Li (4): raw/ntb: setup ntb queue raw/ntb: add xstats support raw/ntb: add enqueue and dequeue

[dpdk-dev] [PATCH 3/4] raw/ntb: add enqueue and dequeue functions

2019-09-04 Thread Xiaoyun Li
Introduce enqueue and dequeue functions to support packet based processing. And enable write-combining for ntb driver since it can improve the performance a lot. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 28 drivers/raw/ntb/ntb.c | 242

[dpdk-dev] [PATCH 2/4] raw/ntb: add xstats support

2019-09-04 Thread Xiaoyun Li
Add xstats support for ntb rawdev. Support tx-packets, tx-bytes, tx-errors and rx-packets, rx-bytes, rx-missed. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb/ntb.c | 135 -- drivers/raw/ntb/ntb.h | 11 2 files changed, 128 insertions(+), 18

[dpdk-dev] [PATCH 1/4] raw/ntb: setup ntb queue

2019-09-04 Thread Xiaoyun Li
Setup and init ntb txq and rxq. And negotiate queue information with the peer. If queue size and number of queues are not consistent on both sides, return error. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 39 +- doc/guides/rel_notes/release_19_11.rst | 4

[dpdk-dev] [PATCH 4/4] examples/ntb: support more functions for NTB

2019-09-04 Thread Xiaoyun Li
Support to transmit files between two systems. Support iofwd between one ethdev and NTB device. Support rxonly and txonly for NTB device. Support to set forwarding mode as file-trans, txonly, rxonly or iofwd. Support to show/clear port stats and throughput. Signed-off-by: Xiaoyun Li --- doc

[dpdk-dev] [PATCH v2 0/4] enable FIFO for NTB

2019-09-05 Thread Xiaoyun Li
Enable FIFO for NTB rawdev driver to support packet based processing. And an example is provided to support txonly, rxonly, iofwd between NTB device and ethdev, and file transmission. Xiaoyun Li (4): raw/ntb: setup ntb queue raw/ntb: add xstats support raw/ntb: add enqueue and dequeue

[dpdk-dev] [PATCH v2 1/4] raw/ntb: setup ntb queue

2019-09-05 Thread Xiaoyun Li
Setup and init ntb txq and rxq. And negotiate queue information with the peer. If queue size and number of queues are not consistent on both sides, return error. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 39 +- doc/guides/rel_notes/release_19_11.rst | 4

[dpdk-dev] [PATCH v2 2/4] raw/ntb: add xstats support

2019-09-05 Thread Xiaoyun Li
Add xstats support for ntb rawdev. Support tx-packets, tx-bytes, tx-errors and rx-packets, rx-bytes, rx-missed. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb/ntb.c | 135 -- drivers/raw/ntb/ntb.h | 11 2 files changed, 128 insertions(+), 18

[dpdk-dev] [PATCH v2 4/4] examples/ntb: support more functions for NTB

2019-09-05 Thread Xiaoyun Li
Support to transmit files between two systems. Support iofwd between one ethdev and NTB device. Support rxonly and txonly for NTB device. Support to set forwarding mode as file-trans, txonly, rxonly or iofwd. Support to show/clear port stats and throughput. Signed-off-by: Xiaoyun Li --- doc

[dpdk-dev] [PATCH v2 3/4] raw/ntb: add enqueue and dequeue functions

2019-09-05 Thread Xiaoyun Li
Introduce enqueue and dequeue functions to support packet based processing. And enable write-combining for ntb driver since it can improve the performance a lot. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 28 drivers/raw/ntb/ntb.c | 242

[dpdk-dev] [PATCH v3 1/4] raw/ntb: setup ntb queue

2019-09-06 Thread Xiaoyun Li
Setup and init ntb txq and rxq. And negotiate queue information with the peer. If queue size and number of queues are not consistent on both sides, return error. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 39 +- doc/guides/rel_notes/release_19_11.rst | 4

[dpdk-dev] [PATCH v3 2/4] raw/ntb: add xstats support

2019-09-06 Thread Xiaoyun Li
Add xstats support for ntb rawdev. Support tx-packets, tx-bytes, tx-errors and rx-packets, rx-bytes, rx-missed. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb/ntb.c | 132 -- drivers/raw/ntb/ntb.h | 11 2 files changed, 125 insertions(+), 18

[dpdk-dev] [PATCH v3 0/4] enable FIFO for NTB

2019-09-06 Thread Xiaoyun Li
compile issues with 32-bit machine and lack of including file. * Fixed a typo. Xiaoyun Li (4): raw/ntb: setup ntb queue raw/ntb: add xstats support raw/ntb: add enqueue and dequeue functions examples/ntb: support more functions for NTB doc/guides/rawdevs/ntb.rst | 67 +- doc

[dpdk-dev] [PATCH v3 4/4] examples/ntb: support more functions for NTB

2019-09-06 Thread Xiaoyun Li
Support to transmit files between two systems. Support iofwd between one ethdev and NTB device. Support rxonly and txonly for NTB device. Support to set forwarding mode as file-trans, txonly, rxonly or iofwd. Support to show/clear port stats and throughput. Signed-off-by: Xiaoyun Li --- doc

[dpdk-dev] [PATCH v3 3/4] raw/ntb: add enqueue and dequeue functions

2019-09-06 Thread Xiaoyun Li
Introduce enqueue and dequeue functions to support packet based processing. And enable write-combining for ntb driver since it can improve the performance a lot. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 28 drivers/raw/ntb/ntb.c | 242

[dpdk-dev] [PATCH v4 3/4] raw/ntb: add enqueue and dequeue functions

2019-09-08 Thread Xiaoyun Li
Introduce enqueue and dequeue functions to support packet based processing. And enable write-combining for ntb driver since it can improve the performance a lot. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 28 drivers/raw/ntb/ntb.c | 242

[dpdk-dev] [PATCH v4 2/4] raw/ntb: add xstats support

2019-09-08 Thread Xiaoyun Li
Add xstats support for ntb rawdev. Support tx-packets, tx-bytes, tx-errors and rx-packets, rx-bytes, rx-missed. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb/ntb.c | 133 -- drivers/raw/ntb/ntb.h | 11 2 files changed, 126 insertions(+), 18

[dpdk-dev] [PATCH v4 1/4] raw/ntb: setup ntb queue

2019-09-08 Thread Xiaoyun Li
Setup and init ntb txq and rxq. And negotiate queue information with the peer. If queue size and number of queues are not consistent on both sides, return error. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 39 +- doc/guides/rel_notes/release_19_11.rst | 4

[dpdk-dev] [PATCH v4 4/4] examples/ntb: support more functions for NTB

2019-09-08 Thread Xiaoyun Li
Support to transmit files between two systems. Support iofwd between one ethdev and NTB device. Support rxonly and txonly for NTB device. Support to set forwarding mode as file-trans, txonly, rxonly or iofwd. Support to show/clear port stats and throughput. Signed-off-by: Xiaoyun Li --- doc

[dpdk-dev] [PATCH v4 0/4] enable FIFO for NTB

2019-09-08 Thread Xiaoyun Li
: * Replace strncpy with memcpy to avoid gcc-9 compile issue. v2: * Fixed compile issues with 32-bit machine and lack of including file. * Fixed a typo. Xiaoyun Li (4): raw/ntb: setup ntb queue raw/ntb: add xstats support raw/ntb: add enqueue and dequeue functions examples/ntb: support

[dpdk-dev] [PATCH v5 3/4] raw/ntb: add enqueue and dequeue functions

2019-09-24 Thread Xiaoyun Li
Introduce enqueue and dequeue functions to support packet based processing. And enable write-combining for ntb driver since it can improve the performance a lot. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 28 drivers/raw/ntb/ntb.c | 242

[dpdk-dev] [PATCH v5 1/4] raw/ntb: setup ntb queue

2019-09-24 Thread Xiaoyun Li
Setup and init ntb txq and rxq. And negotiate queue information with the peer. If queue size and number of queues are not consistent on both sides, return error. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 39 +- doc/guides/rel_notes/release_19_11.rst | 4

[dpdk-dev] [PATCH v5 2/4] raw/ntb: add xstats support

2019-09-24 Thread Xiaoyun Li
Add xstats support for ntb rawdev. Support tx-packets, tx-bytes, tx-errors and rx-packets, rx-bytes, rx-missed. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb/ntb.c | 170 +- drivers/raw/ntb/ntb.h | 12 +++ 2 files changed, 164 insertions(+), 18 deletions

[dpdk-dev] [PATCH v5 0/4] enable FIFO for NTB

2019-09-24 Thread Xiaoyun Li
including file. * Fixed a typo. Xiaoyun Li (4): raw/ntb: setup ntb queue raw/ntb: add xstats support raw/ntb: add enqueue and dequeue functions examples/ntb: support more functions for NTB doc/guides/rawdevs/ntb.rst | 67 +- doc/guides/rel_notes/release_19_11.rst |4 + doc

[dpdk-dev] [PATCH v5 4/4] examples/ntb: support more functions for NTB

2019-09-24 Thread Xiaoyun Li
Support to transmit files between two systems. Support iofwd between one ethdev and NTB device. Support rxonly and txonly for NTB device. Support to set forwarding mode as file-trans, txonly, rxonly or iofwd. Support to show/clear port stats and throughput. Signed-off-by: Xiaoyun Li --- doc

[dpdk-dev] [PATCH v6 0/4] enable FIFO for NTB

2019-09-25 Thread Xiaoyun Li
with memcpy to avoid gcc-9 compile issue. v2: * Fixed compile issues with 32-bit machine and lack of including file. * Fixed a typo. Xiaoyun Li (4): raw/ntb: setup ntb queue raw/ntb: add xstats support raw/ntb: add enqueue and dequeue functions examples/ntb: support more functions for NTB

[dpdk-dev] [PATCH v6 3/4] raw/ntb: add enqueue and dequeue functions

2019-09-25 Thread Xiaoyun Li
Introduce enqueue and dequeue functions to support packet based processing. And enable write-combining for ntb driver since it can improve the performance a lot. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 54 drivers/raw/ntb/ntb.c | 242

[dpdk-dev] [PATCH v6 4/4] examples/ntb: support more functions for NTB

2019-09-25 Thread Xiaoyun Li
Support to transmit files between two systems. Support iofwd between one ethdev and NTB device. Support rxonly and txonly for NTB device. Support to set forwarding mode as file-trans, txonly, rxonly or iofwd. Support to show/clear port stats and throughput. Signed-off-by: Xiaoyun Li --- doc

[dpdk-dev] [PATCH v6 2/4] raw/ntb: add xstats support

2019-09-25 Thread Xiaoyun Li
Add xstats support for ntb rawdev. Support tx-packets, tx-bytes, tx-errors and rx-packets, rx-bytes, rx-missed. Signed-off-by: Xiaoyun Li --- drivers/raw/ntb/ntb.c | 170 +- drivers/raw/ntb/ntb.h | 12 +++ 2 files changed, 164 insertions(+), 18 deletions

[dpdk-dev] [PATCH v6 1/4] raw/ntb: setup ntb queue

2019-09-25 Thread Xiaoyun Li
Setup and init ntb txq and rxq. And negotiate queue information with the peer. If queue size and number of queues are not consistent on both sides, return error. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 39 +- doc/guides/rel_notes/release_19_11.rst | 4

[dpdk-dev] [PATCH] examples/tep_term: deprecate this example

2020-10-19 Thread Xiaoyun Li
The tunnel cases this example wants to test can be covered by testpmd with rte_flow_create. And this example hasn't been used for a long time. So deprecate this example. Signed-off-by: Xiaoyun Li --- MAINTAINERS |4 - .../img/tep_termination_arc

[dpdk-dev] [PATCH v2] examples/tep_term: deprecate this example

2020-10-19 Thread Xiaoyun Li
offloading can be replaced with flow rules in testpmd like Chapter "Sample VXLAN flow rules" in Testpmd Application User Guide. And this example hasn't been used for a long time. So deprecate this example. Signed-off-by: Xiaoyun Li Acked-by: Thomas Monjalon Acked-by: Andrew Ry

[dpdk-dev] [PATCH v3] examples/tep_term: deprecate this example

2020-10-20 Thread Xiaoyun Li
offloading can be replaced with flow rules in testpmd like Chapter "Sample VXLAN flow rules" in Testpmd Application User Guide. And this example hasn't been used for a long time. So deprecate this example. Signed-off-by: Xiaoyun Li Acked-by: Thomas Monjalon Acked-by: Andrew Rybchenko A

[dpdk-dev] [PATCH] raw/ntb: add Icelake support for Intel NTB

2020-08-30 Thread Xiaoyun Li
Add NTB device support (4th generation) for Intel Icelake platform. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 11 +- doc/guides/rel_notes/release_20_11.rst | 3 + drivers/raw/ntb/ntb.c | 2 + drivers/raw/ntb/ntb.h | 1

[dpdk-dev] [PATCH v2] raw/ntb: add Icelake support for Intel NTB

2020-09-06 Thread Xiaoyun Li
Add NTB device support (4th generation) for Intel Icelake platform. Signed-off-by: Xiaoyun Li --- doc/guides/rawdevs/ntb.rst | 16 +- doc/guides/rel_notes/release_20_11.rst | 3 + drivers/raw/ntb/ntb.c | 5 + drivers/raw/ntb/ntb.h | 1

[dpdk-dev] [PATCH v3] raw/ntb: add Icelake support for Intel NTB

2020-09-06 Thread Xiaoyun Li
Add NTB device support (4th generation) for Intel Icelake platform. Signed-off-by: Xiaoyun Li --- v3: * Removed a blank line. * Added change doc for v2. v2: * Corrected and polished the doc. * Fixed a link setup issue. --- doc/guides/rawdevs/ntb.rst | 16 +- doc/guides

[dpdk-dev] [PATCH v4] raw/ntb: add Ice Lake support for Intel NTB

2020-09-07 Thread Xiaoyun Li
Add NTB device support (4th generation) for Intel Ice Lake platform. Signed-off-by: Xiaoyun Li --- v4: * Removed unnecessary return. * Added more print log. * Replaced "Icelake" with "Ice Lake". v3: * Removed a blank line. * Added change doc for v2. v2: * Corrected

<    1   2   3