Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index 64e5a20..65d552a 100644
--- a/lib/librte_ether/rte_ethdev.c
+++ b/lib
remove rte_null_pmd and pci_dev.
Signed-off-by: Bernard Iremonger
---
drivers/net/null/rte_eth_null.c | 28 +++-
1 file changed, 7 insertions(+), 21 deletions(-)
diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c
index e244595..7436dee 100644
remove rte_ring_pmd and pci_dev.
Signed-off-by: Bernard Iremonger
---
drivers/net/ring/rte_eth_ring.c | 35 ++-
1 file changed, 6 insertions(+), 29 deletions(-)
diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c
index 6fd3d0a..111814e
remove pci_dev, pci_drv, rte_bond_pmd and pci_id_table.
handle numa_node for vdevs
handle RTE_ETH_DEV_INTR_LSC for vdevs
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_alb.c | 2 +-
drivers/net/bonding/rte_eth_bond_api.c | 51 --
drivers
remove rte_pcap_pmd and pci_dev.
Signed-off-by: Bernard Iremonger
---
drivers/net/pcap/rte_eth_pcap.c | 31 +--
1 file changed, 9 insertions(+), 22 deletions(-)
diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c
index f2e4634..1bd0a22
replace RTE_PCI_DRV_INTR_LSC with RTE_ETH_DEV_INTR_LSC
Fixes: 71ba84b1ccb2("bonding: remove fake pci interface")
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_pmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bonding/rte_eth_
call rte_eth_copy_pci_info() after the RTE_PCI_DRV_INTR_LSC
has been initialised.
Fixes: eeefe73f0af1("drivers: copy PCI device info to ethdev data")
Reported-by: Stephen Hemminger
Signed-off-by: Bernard Iremonger
---
drivers/net/virtio/virtio_ethdev.c | 4 ++--
1 file changed, 2
correct sample console commands
Fixes: d0dff9ba445e ("doc: sample application user guide"
Fixes: 9bc23cb8209c ("doc: add vhost-user to sample guide")
Fixes: 43866bf71d58 ("doc: fix vhost sample parameter")
Signed-off-by: Bernard Iremonger
---
doc/guide
ot;doc: add vhost-user to sample guide")
Fixes: 43866bf71d58 ("doc: fix vhost sample parameter")
Signed-off-by: Bernard Iremonger
---
doc/guides/sample_app_ug/vhost.rst | 99 --
1 file changed, 64 insertions(+), 35 deletions(-)
diff --git a/doc/guid
refixes in command lines.
use continuation character to stay within 80 character limit.
wrap sample python code.
Fixes: d0dff9ba445e ("doc: sample application user guide"
Fixes: 9bc23cb8209c ("doc: add vhost-user to sample guide")
Fixes: 43866bf71d58 ("doc: fix vhost sample
refixes in command lines.
use continuation character to stay within 80 character limit.
wrap sample python code.
Fixes: d0dff9ba445e ("doc: sample application user guide"
Fixes: 9bc23cb8209c ("doc: add vhost-user to sample guide")
Fixes: 43866bf71d58 ("doc: fix vhost sample
Change MAX_QUEUES to 128 to reduce the number of hugepages required
by the vhost-switch program.
Signed-off-by: Bernard Iremonger
---
examples/vhost/main.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index b30f1bd
Change MAX_QUEUES from 512 to 128 to reduce the number of hugepages
required by the vhost-switch program.
Changes in v2:
remove comment added before #define MAX_QUEUES in v1 patch.
Signed-off-by: Bernard Iremonger
Acked-by: Yuanhan Liu
---
examples/vhost/main.c | 4 ++--
1 file changed, 2
Changes in v3:
Added #ifndef MAX_QUEUES line before #define MAX_QUEUES 128
Changes in v2:
remove comment added before #define MAX_QUEUES in v1 patch.
Signed-off-by: Bernard Iremonger
---
examples/vhost/main.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/examples/vhos
rte_eth_stats_reset
rte_eth_xstats_get
rte_eth_xstats_reset
Fixes: af75078fece3 ("first public release")
Fixes: ce757f5c9a4d ("ethdev: new method to retrieve extended statistics")
Fixes: d4fef8b0d5e5 ("ethdev: expose generic and driver specific stats in
xstats")
Si
: 823ad647950a ("virtio: support multiple queues")
Signed-off-by: Bernard Iremonger
---
drivers/net/virtio/virtio_ethdev.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index d928339..5ef0752 100644
--- a/d
oad flag to keep CRC")
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 8708875..54ba2f5 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdli
oad flag to keep CRC")
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 8708875..54ba2f5 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdli
The port_init function calls the rte_eth_dev_is_valid_port function.
This function now returns 1 if the port state is attached.
A return value of 1 now means a valid port.
Fixes: a9dbe1802226 ("fix ethdev port id validation")
Signed-off-by: Bernard Iremonger
---
examples/flo
Signed-off-by: Bernard Iremonger
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7105920..bd425c2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1083,6 +1083,7 @@ F: test/test/virtual_pmd.h
Driver testing tool
M: Wenzhuo Lu
M: Jingjing Wu
In the testpmd log of the start command, show the RX and TX
descriptor values from dev_info instead of the default
values.
Fixes: d44f8a485f5d ("app/testpmd: enable per queue configure")
Reported-by: Ferruh Yigit
Signed-off-by: Bernard Iremonger
---
app/test-pmd/testpmd.c | 4 ++
Call the rte_eth_rxq_info_get() and rte_eth_txq_info_get() functions
to update the number of rx and tx descriptors in the rte_port
variable.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Signed-off-by: Bernard Iremonger
---
app/test-pmd/testpmd.c | 16 +
Call the rte_eth_rxq_info_get() and rte_eth_txq_info_get() functions
to update the number of rx and tx descriptors.
Fixes: d44f8a485f5d ("app/testpmd: enable per queue configure")
Signed-off-by: Bernard Iremonger
---
app/test-pmd/config.c | 11 +++
1 file changed, 11 insertion
Call the rte_eth_rxq_info_get() and rte_eth_txq_info_get() functions
to update the number of rx and tx descriptors.
Fixes: d44f8a485f5d ("app/testpmd: enable per queue configure")
Signed-off-by: Bernard Iremonger
---
app/test-pmd/config.c | 21 +++--
1 file c
Check for valid crypto_null devices before continuing.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Signed-off-by: Bernard Iremonger
---
test/test/test_ipsec.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/test/test/test_ipse
Removed ip.h and in.h headers to fix unknown type errors
when compiling on BSD.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Signed-off-by: Bernard Iremonger
---
test/test/test_ipsec.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/test/test/test_ipsec.c b
Check for valid crypto_null device before continuing.
Use valid_dev instead of valid_devs[].
Call create_crypto_session for one driver only.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Signed-off-by: Bernard Iremonger
---
test/test/test_ip
("test/ipsec: introduce functional test")
Signed-off-by: Bernard Iremonger
---
test/test/test_ipsec.c | 305 -
1 file changed, 121 insertions(+), 184 deletions(-)
diff --git a/test/test/test_ipsec.c b/test/test/test_ipsec.c
index ff1a1c
This patchset fixes the issue of the first inbound packet
being dropped for inline crypto. It also improves the debug
output in esp.c, sa.c and ipsec-secgw.c
Bernard Iremonger (6):
examples/ipsec-secgw: fix 1st pkt dropped for inline crypto
examples/ipsec-secgw: fix 1st packet dropped patch
Refactor create_session() into create_inline_session() and
create_lookaside_session() in ipsec.c
Use socket_ctx in create_inline_session()
Fixes: ec17993a145a ("examples/ipsec-secgw: support security offload")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-sec
Refactor cryprodev_init() and main() in ipsec-secgw.c
Add max_session_size().
Start ports before adding flows in main().
Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/ipsec-sec
Call create_inline_session() at initialisition in sa.c
Call rte_ipsec_session_prepare() in fill_ipsec_session() for inline.
Fixes: ec17993a145a ("examples/ipsec-secgw: support security offload")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw
Improve debug code in esp.c
Fixes: f159e70b0922 ("examples/ipsec-secgw: support transport mode")
Fixes: ec17993a145a ("examples/ipsec-secgw: support security offload")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/esp.c | 5 +++--
1 file c
Improve debug code in sa.c
Fixes: 0d547ed03717 ("examples/ipsec-secgw: support configuration file")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/sa.c | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/examples/i
Improve debug in ipsec-secgw.c
Fixes: 906257e965b7 ("examples/ipsec-secgw: support IPv6")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/ipsec-secgw.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec-
Fixes: 906257e965b7 ("examples/ipsec-secgw: support IPv6")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/esp.c | 5 +++--
examples/ipsec-secgw/ipsec-secgw.c | 6 --
examples/ipsec-secgw/sa.c | 21 ++---
3 files changed
patchset.
A patch to fix the test scripts has been added.
Bernard Iremonger (2):
examples/ipsec-secgw: fix 1st pkt dropped for inline crypto
examples/ipsec-secgw/test: fix inline test scripts
examples/ipsec-secgw/ipsec-secgw.c | 243 +--
examples/ipsec-secgw
dd IPsec sample application")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/ipsec-secgw.c | 243 +--
examples/ipsec-secgw/ipsec.c | 123 --
examples/ipsec-secgw/ipsec.h | 5 +-
examples/ipsec-s
Remove workaround in tun_aesgcm_defs.sh and trs_aesgcm_defs.sh
to get around the bug where the first inbound packet is dropped
for inline crypto.
Fixes: 929784452094 ("examples/ipsec-secgw: add scripts for functional test")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
:
Release rx and tx queues in dev_uninit() functions.
Replace TRUE and FALSE with 1 and 0.
Changes in V3:
Rebased to use drivers/net/ixgbe directory.
Changes in V2:
Added call to dev_close() in dev_uninit() functions.
Removed input parameter checks from dev_uninit() functions.
Bernard Iremonger (2
This patch depends on the Port Hotplug Framework.
It implements the eth_dev_uninit functions for rte_ixgbe_pmd and
rte_ixgbevf_pmd.
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 98 --
drivers/net/ixgbe/ixgbe_ethdev.h |2
Changes in v2:
do not free mac_addrs and hash_mac_addrs here.
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index e13fde5..7ae101a
add ixgbe_dev_free_queues() function and call it from close() functions.
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c |4
drivers/net/ixgbe/ixgbe_ethdev.h |2 ++
drivers/net/ixgbe/ixgbe_rxtx.c | 19 +++
3 files changed, 25 insertions
This patch depends on the Port Hotplug Framework.
It implements the eth_dev_uninit functions for rte_i40e_pmd and
rte_i40evf_pmd.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 68 -
drivers/net/i40e/i40e_ethdev_vf.c | 45
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 449785b..bc1bab2 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index b2c32d6..d2b86a7 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b
_clear_cmd() was not being called in failure situations,
resulting in the next command also failing.
Fix several typos.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c | 11 +++
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/i40e
There is a segmentation fault if rxq is NULL
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_rxtx.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c
index 2de0ac4..2a89e84 100644
--- a/drivers/net
.
Bernard Iremonger (7):
i40e: changes to support PCI Port Hotplug
i40e: release vmdq vsi's in dev_close
i40e: increase ASQ_DELAY_MS to 100 and MAX_TRY_TIMES to 20 in
i40evf_wait_cmd_done()
i40e: call _clear_cmd() when error occurs
i40e: clear queues in i40evf_dev_stop
i40e: chec
Increase delay from 50 * 10 to 100 * 20 to avoid i40evf_read_pfmsg() failures.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e
add i40e_dev_free_queues() function and call it from close() functions.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c|1 +
drivers/net/i40e/i40e_ethdev_vf.c |1 +
drivers/net/i40e/i40e_rxtx.c | 20
drivers/net/i40e/i40e_rxtx.h
parameter checking from dev_uninit() functions.
Bernard Iremonger (2):
e1000: igb and em1000 PCI Port Hotplug changes
e1000: free queue memory in close functions
drivers/net/e1000/e1000_ethdev.h | 10 -
drivers/net/e1000/em_ethdev.c| 47 ++-
drivers/net/e1000
This patch depends on the Port Hotplug Framework.
It implements the eth_dev_uninit functions for rte_em_pmd,
rte_igb_pmd and rte_igbvf_pmd.
Signed-off-by: Bernard Iremonger
---
drivers/net/e1000/e1000_ethdev.h |8 +++-
drivers/net/e1000/em_ethdev.c| 46 ++-
drivers/net
add new functions igb_dev_free_queues() and em_dev_free_queues()
Signed-off-by: Bernard Iremonger
---
drivers/net/e1000/e1000_ethdev.h |2 ++
drivers/net/e1000/em_ethdev.c|1 +
drivers/net/e1000/em_rxtx.c |6 ++
drivers/net/e1000/igb_ethdev.c |3 ++-
drivers/net
ction.
Change to testpmd to facilate testing on VM.
Changes in V3:
Rebase to latest code.
Free queue memory in uninit() function.
Changes in V2:
Rebase to use new drivers directory.
Reuse memzones.
Bernard Iremonger (4):
virtio: add support for PCI Port Hotplug
virtio: check vq paramet
This patch depends on the Port Hotplug Framework.
It implements the eth_dev_uninit_t() function for virtio pmd.
Signed-off-by: Bernard Iremonger
---
drivers/net/virtio/virtio_ethdev.c | 72 ---
1 files changed, 65 insertions(+), 7 deletions(-)
diff --git a
If vq is NULL, there is a segmentation fault.
Signed-off-by: Bernard Iremonger
---
drivers/net/virtio/virtqueue.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.c b/drivers/net/virtio/virtqueue.c
index 8a3005f..7f60e3e 100644
Add function virtio_free_queues() and call from virtio_dev_close()
Signed-off-by: Bernard Iremonger
---
drivers/net/virtio/virtio_ethdev.c | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio
At this point the stop() and close() functions have already been called.
The rte_eth_promiscuous_disable() function does not return on the VM.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/testpmd.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd
() function.
Bernard Iremonger (3):
bonding: add support for PCI Port Hotplug
test-pmd: modified testpmd for link_bonding
bonding: free queue memory in stop function
app/test-pmd/cmdline.c |4 +-
app/test-pmd/testpmd.c | 24 -
app/test
This patch depends on the Port Hotplug Framework.
It implements the rte_dev_uninit_t() function for the link bonding pmd.
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond.h | 13 +-
drivers/net/bonding/rte_eth_bond_api.c | 75
add function bond_ethdev_free_queues() and call from the bond_ethdev_stop()
function.
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_pmd.c | 20
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
When the bonded port is started it also starts the slave port,
but the slave port status is not set. A slave_flag has been
added to struct rte_port to resolve this issue.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c |4 +++-
app/test-pmd/testpmd.c | 24
This patch depends on the Port Hotplug Framework.
It implements the rte_dev_uninit_t() function for the ring pmd.
Signed-off-by: Bernard Iremonger
Acked-by: Bruce Richardson
---
drivers/net/ring/rte_eth_ring.c | 97 ++-
1 files changed, 75 insertions
Changes in V4:
Rebase to latest code.
Update commit line, no changes to code.
Changes in V3:
Rebase to use drivers/net/ring directory
Handle no parameters case
Changes in V2:
Fix crash in the rte_pmd_ring_devuninit() function.
Bernard Iremonger (1):
ring: changes to support PCI Port Hotplug
e_table.
a bug fix to rte_table_acl.c
the flow_classify sample application.
the flow_classify_autotest unit test program.
Changes
Bernard Iremonger (5):
librte_table: move structure to header file
librte_table: fix acl entry add and delete functions
librte_ether: initialise IPv4 protoco
Move struct librte_table from the rte_table_acl.c to
the rte_table_acl.h file.
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 24
lib/librte_table/rte_table_acl.h | 24
2 files changed, 24 insertions(+), 24 deletions
table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c
index 900f658..9865b05 100644
--- a/lib/li
Initialise the next_proto_id mask in the default mask for
rte_flow_item_type_ipv4.
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_flow.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h
index bba6169..59c42fa 100644
--- a
IPv4 UDP, TCP and SCTP packets.
Signed-off-by: Ferruh Yigit
Signed-off-by: Bernard Iremonger
---
config/common_base | 6 +
doc/api/doxy-api-index.md | 1 +
doc/api/doxy-api.conf | 1 +
lib/Mak
d-off-by: Bernard Iremonger
---
examples/flow_classify/Makefile| 57 +++
examples/flow_classify/flow_classify.c | 625 +
2 files changed, 682 insertions(+)
create mode 100644 examples/flow_classify/Makefile
create mode 100644 examples/flow_cla
tion tests
add good parameter tests
Initialise ipv4 udp traffic for use by test for
rte_flow_classif_query.
Signed-off-by: Bernard Iremonger
---
test/test/Makefile | 1 +
test/test/test_flow_classify.c | 487 +
test/test/test_flow_classi
f the API's
This patchset also contains the following:
some changes to librte_ether and librte_table.
a bug fix to rte_table_acl.c
the flow_classify sample application.
the flow_classify_autotest unit test program.
Bernard Iremonger (5):
librte_table: fix acl entry add and delete functions
li
table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c
index 3c05e4a..e84b437 100644
--- a/lib/li
The rte_table_acl_lookup() function was returning data from acl_memory
instead of acl_rule_memory.
Fixes: 166923eb2f78 ("table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
Initialise the next_proto_id mask in the default mask for
rte_flow_item_type_ipv4.
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_flow.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h
index bba6169..59c42fa 100644
--- a
.
f_del to delete an ACL form the table.
f_lookup to match packets with the ACL rules.
The library supports counting of IPv4 five tupple packets only,
ie IPv4 UDP, TCP and SCTP packets.
Signed-off-by: Ferruh Yigit
Signed-off-by: Bernard Iremonger
---
config/common_base
d-off-by: Bernard Iremonger
---
examples/flow_classify/Makefile| 57 +++
examples/flow_classify/flow_classify.c | 634 +
2 files changed, 691 insertions(+)
create mode 100644 examples/flow_classify/Makefile
create mode 100644 examples/flow_cla
tion tests
add good parameter tests
Initialise ipv4 udp traffic for use by test for
rte_flow_classif_query.
add entry_size param to classify_create
change acl field offsets
Signed-off-by: Bernard Iremonger
---
test/test/Makefile | 1 +
test/test/test_flow_classi
ll of the API's
Bernard Iremonger (4):
librte_table: fix acl entry add and delete functions
librte_table: fix acl lookup function
examples/flow_classify: flow classify sample application
test: flow classify library unit tests
Ferruh Yigit (1):
librte_flow_classify: add librte_f
The rte_table_acl_lookup() function was returning data from acl_memory
instead of acl_rule_memory.
Fixes: 166923eb2f78 ("table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
.
f_del to delete an ACL form the table.
f_lookup to match packets with the ACL rules.
The library supports counting of IPv4 five tupple packets only,
ie IPv4 UDP, TCP and SCTP packets.
Signed-off-by: Ferruh Yigit
Signed-off-by: Bernard Iremonger
---
config/common_base
table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c
index 3c05e4a..e84b437 100644
--- a/lib/li
g the
librte_table API.
It uses a file of IPv4 five tuple rules for input.
Signed-off-by: Bernard Iremonger
---
examples/flow_classify/Makefile| 57 ++
examples/flow_classify/flow_classify.c | 879 +
examples/flow_classify/ipv4_rules_file.txt | 14 +
3
tion tests
add good parameter tests
Initialise ipv4 udp traffic for use by test for
rte_flow_classif_query.
add entry_size param to classify_create
change acl field offsets
Signed-off-by: Bernard Iremonger
---
test/test/Makefile | 1 +
test/test/test_flow_classi
v3:
added rte_flow_classify_validate API.
librte_table ACL is used for packet matching.
a table_acl parameter has been added to all of the API's
an error parameter has been been added to all of the API's
Bernard Iremonger (4):
librte_table: fix acl entry add and delete functions
librte_t
table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c
index 3c05e4a..e84b437 100644
--- a/lib/li
The rte_table_acl_lookup() function was returning data from acl_memory
instead of acl_rule_memory.
Fixes: 166923eb2f78 ("table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
.
f_del to delete an ACL form the table.
f_lookup to match packets with the ACL rules.
The library supports counting of IPv4 five tupple packets only,
ie IPv4 UDP, TCP and SCTP packets.
Signed-off-by: Ferruh Yigit
Signed-off-by: Bernard Iremonger
---
config/common_base
g the
librte_table API.
It uses a file of IPv4 five tuple rules for input.
Signed-off-by: Bernard Iremonger
---
examples/flow_classify/Makefile| 57 ++
examples/flow_classify/flow_classify.c | 897 +
examples/flow_classify/ipv4_rules_file.txt | 14 +
3
tion tests
add good parameter tests
Initialise ipv4 udp traffic for use by the test for
rte_flow_classif_query.
Signed-off-by: Bernard Iremonger
---
test/test/Makefile | 1 +
test/test/test_flow_classify.c | 493 +
test/test/test_flow_classi
table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c
index 3c05e4a..e84b437 100644
--- a/lib/li
The rte_table_acl_lookup() function was returning data from acl_memory
instead of acl_rule_memory.
Fixes: 166923eb2f78 ("table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
#x27;s
an error parameter has been been added to all of the API's
Bernard Iremonger (5):
librte_table: fix acl entry add and delete functions
librte_table: fix acl lookup function
examples/flow_classify: flow classify sample application
test: add packet burst generator functions
test: f
g the
librte_table API.
It uses a file of IPv4 five tuple rules for input.
Signed-off-by: Bernard Iremonger
---
examples/flow_classify/Makefile| 57 ++
examples/flow_classify/flow_classify.c | 897 +
examples/flow_classify/ipv4_rules_file.txt | 14 +
3
.
f_del to delete an ACL form the table.
f_lookup to match packets with the ACL rules.
The library supports counting of IPv4 five tupple packets only,
ie IPv4 UDP, TCP and SCTP packets.
Signed-off-by: Ferruh Yigit
Signed-off-by: Bernard Iremonger
---
config/common_base
add initialize_tcp_header function
add initialize_stcp_header function
add initialize_ipv4_header_proto function
add generate_packet_burst_proto function
Signed-off-by: Bernard Iremonger
---
test/test/packet_burst_generator.c | 191 +
test/test
tion tests
add good parameter tests
Initialise ipv4 udp traffic for use by the udp test for
rte_flow_classif_query.
Initialise ipv4 tcp traffic for use by the tcp test for
rte_flow_classif_query.
Initialise ipv4 sctp traffic for use by the sctp test for
rte_flow_classif_query.
Signed-off-b
n v1, since RFC v3:
added rte_flow_classify_validate API.
librte_table ACL is used for packet matching.
a table_acl parameter has been added to all of the API's
an error parameter has been been added to all of the API's
Bernard Iremonger (3):
examples/flow_classify: flow classify sampl
g the
librte_table API.
It uses a file of IPv4 five tuple rules for input.
Signed-off-by: Bernard Iremonger
---
examples/flow_classify/Makefile| 57 ++
examples/flow_classify/flow_classify.c | 897 +
examples/flow_classify/ipv4_rules_file.txt | 14 +
3
201 - 300 of 1001 matches
Mail list logo