eters from user interface, only the
filter's key and assigned queue are visible to user.
Jingjing Wu (6):
ethdev: define ntuple filter type and its structure
ixgbe: ntuple filter functions replace old ones for 5tuple filter
e1000: ntuple filter functions replace old ones for 2tuple and 5tuple
This patch defines ntuple filter type RTE_ETH_FILTER_NTUPLE and its structure
rte_eth_ntuple_filter.
It also corrects the typo TCP_UGR_FLAG to TCP_URG_FLAG
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_eth_ctrl.h | 50 +
lib/librte_ether
This patch defines new functions dealing with ntuple filters which is
corresponding to 5tuple in HW.
It removes old functions which deal with 5tuple filters.
Ntuple filter is dealt with through entrance ixgbe_dev_filter_ctrl.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c
eth_igb_filter_ctrl.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_e1000/e1000_ethdev.h | 69 ++-
lib/librte_pmd_e1000/igb_ethdev.c | 869
2 files changed, 647 insertions(+), 291 deletions(-)
diff --git a/lib/librte_pmd_e1000/e1000_ethdev.h
b/lib
value) queue (queue_id)
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 406 ++---
app/test-pmd/config.c | 65
2 files changed, 186 insertions(+), 285 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 59
- rte_eth_dev_get_5tuple_filter
It also move macros TCP_*_FLAG to rte_eth_ctrl.h, and removes the macro
TCP_UGR_FLAG which is duplicated with TCP_URG_FLAG.
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_eth_ctrl.h | 7 ++
lib/librte_ether/rte_ethdev.c | 116
lib/librte_ether
)
dst_port (dst_port_value) src_port (src_port_value)
protocol (protocol_value)
mask (mask_value) tcp_flags (tcp_flags_value)
priority (prio_value) queue (queue_id)
Signed-off-by: Jingjing Wu
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 99 ++---
1 file changed, 21
APIs.
It uses new functions and structure to replace old ones in igb/ixgbe driver,
new commands to replace old ones in testpmd, and removes the old APIs.
Jingjing Wu (6):
ethdev: define syn filter type and its structure
ixgbe: new functions replace old ones for syn filter
e1000: new
This patch defines syn filter type RTE_ETH_FILTER_SYN and its structure
rte_eth_syn_filter.
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_eth_ctrl.h | 12
1 file changed, 12 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h
index
This patch defines new functions dealing with syn filter.
It removes old functions which deal with syn filter.
Syn filter is dealt with through entrance ixgbe_dev_filter_ctrl.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 167 +---
1 file
) priority (high|low) queue (queue_id)
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 143 ++---
app/test-pmd/config.c | 21
2 files changed, 65 insertions(+), 99 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd
document of new command:
- syn_filter (port_id) (add|del) priority (high|low) queue (queue_id)
Signed-off-by: Jingjing Wu
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 30 -
1 file changed, 4 insertions(+), 26 deletions(-)
diff --git a/doc/guides
This patch defines new functions dealing with syn filter.
It removes old functions of syn filter in igb driver.
Syn filter is dealt with through entrance eth_igb_filter_ctrl.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_e1000/igb_ethdev.c | 152 --
1 file
Structure rte_syn_filter is removed.
Following APIs are removed:
- rte_eth_dev_add_syn_filter
- rte_eth_dev_remove_syn_filter
- rte_eth_dev_get_syn_filter
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_ethdev.c | 50
lib/librte_ether/rte_ethdev.h | 67
Klocwork reports array 'src_offset' may use index 16.
In function i40e_srcoff_to_flx_pit, index j + 1 can reach
I40E_FDIR_MAX_FLEX_LEN.
This patch fixes this issue to avoid array bound.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_fdir.c | 35 +--
1
old ones in igb driver, new
commands to replace old ones in testpmd, and removes the old APIs.
Jingjing Wu (5):
ethdev: define flex filter type and its structure
e1000: new functions replace old ones for flex filter
testpmd: new commands for flex filter
ethdev: remove old APIs
This patch defines flex filter type RTE_ETH_FILTER_FLEXIBLE and its structure
rte_eth_flex_filter.
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_eth_ctrl.h | 20
1 file changed, 20 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether
filter by using filter_ctrl API and new flex
filter structure:
- flex_filter (port_id) (add|del) len (len_value) bytes (bytes_value) mask
(mask_value)
priority (prio_value) queue (queue_id)
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 239
Structure rte_flex_filter is removed.
Following APIs are removed:
- rte_eth_dev_add_flex_filter
- rte_eth_dev_remove_flex_filter
- rte_eth_dev_get_flex_filter
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_ethdev.c | 51 -
lib/librte_ether/rte_ethdev.h | 89
ones in testpmd, and removes the old APIs.
Jingjing Wu (4):
ixgbe: new functions replace old ones for ethertype filter
e1000: new functions replace old ones for ethertype filter
testpmd: new commands for ethertype filter
ethdev: remove old APIs and structures of ethertype filter
app/test
This patch removes old functions which deal with ethertype filter in ixgbe
driver.
It also defines ixgbe_dev_filter_ctrl which is binding to filter_ctrl API,
and ethertype filter can be dealt with through this new entrance.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c
structure:
- ethertype_filter (port_id) (add|del) (mac_addr|mac_ignr)
(mac_address) ethertype (ether_type) (drop|fwd) queue (queue_id)
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 253 ++---
app/test-pmd/config.c | 27 --
2 files
This patch removes old functions which deal with ethertype filter in igb driver.
It also defines eth_igb_filter_ctrl which is binding to filter_ctrl API,
and ethertype filter can be dealt with through this new entrance.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_e1000/e1000_ethdev.h | 13
Structure rte_ethertype_filter is removed.
Following APIs are removed:
- rte_eth_dev_add_ethertype_filter
- rte_eth_dev_remove_ethertype_filter
- rte_eth_dev_get_ethertype_filter
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_ethdev.c | 57
lib
.
It removes the filter's index parameters from user interface, only the
filter's key and assigned queue are visible to user.
Jingjing Wu (5):
ethdev: define ntuple filter type and its structure
ixgbe: ntuple filter functions replace old ones for 5tuple filter
e1000: ntuple filter functions
This patch defines ntuple filter type RTE_ETH_FILTER_NTUPLE and its structure
rte_eth_ntuple_filter.
It also corrects the typo TCP_UGR_FLAG to TCP_URG_FLAG
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_eth_ctrl.h | 50 +
lib/librte_ether
.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 489 +++-
lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 62 -
2 files changed, 421 insertions(+), 130 deletions(-)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
b/lib/librte_pmd_ixgbe
is binding to filter_ctrl API,
and ntuple filter can be dealt with through this new entrance.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_e1000/e1000_ethdev.h | 79 +++-
lib/librte_pmd_e1000/igb_ethdev.c | 892 +---
2 files changed, 680 insertions(+), 291 deletions
igned-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 406 ++---
app/test-pmd/config.c | 65
2 files changed, 186 insertions(+), 285 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 882a5a2..1d74870 100644
---
- rte_eth_dev_get_5tuple_filter
It also move macros TCP_*_FLAG to rte_eth_ctrl.h, and removes the macro
TCP_UGR_FLAG which is duplicated with TCP_URG_FLAG.
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_eth_ctrl.h | 7 ++
lib/librte_ether/rte_ethdev.c | 116
lib/librte_ether
From: "jingjing.wu"
I40e VF driver uses the num_queue_pairs in vf structure to construct
queue index look up table. When the nb_rx_queue is less than nb_tx_queue,
num_queue_pairs is equal to nb_tx_queue. It will make the table use
invalid queue index, then application
Because VF multi-queues can be supported, l3fwd can run on vf.
Suggest to remove the l3fwd-vf example.
Signed-off-by: jingjing.wu
---
doc/guides/sample_app_ug/index.rst |1 -
doc/guides/sample_app_ug/l3_forward_virtual.rst | 158
examples/l3fwd-vf/Makefile
To fix the FVL's flow director issue for SCTP flow, rte_eth_fdir_filter
need to be change to support SCTP flow keys extension. Here announce
the ABI deprecation.
Signed-off-by: jingjing.wu
---
doc/guides/rel_notes/deprecation.rst | 4
1 file changed, 4 insertions(+)
diff --git
The patch fixes the i40e VF crash issue. The issue's root cause is that
the dev_private_size in i40e virtual function driver struct
rte_i40evf_pmd was set incorrectly.
Signed-off-by: jingjing.wu
---
drivers/net/i40e/i40e_ethdev_vf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
From: "jingjing.wu"
This patch fixes the issue:
Testpmd crashed with Segmentation fault when setup tx queues on vf
Steps for reproduce:
- create one vf device from i40e driver
- bind vf device to igb_uio and start testpmd
With debugging tools, we saw the struct
This patch set enables mirror functionality in i40e driver, and redefines
structure and macros used to configure mirror.
v2 changes:
- correct comments style
- add doc change
Jingjing Wu (4):
ethdev: rename rte_eth_vmdq_mirror_conf
ethdev: redefine the mirror type
i40e: enable mirror
rename rte_eth_vmdq_mirror_conf to rte_eth_mirror_conf and move
the maximum rule id check from ethdev level to driver
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 22 +++---
drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++
drivers/net/ixgbe/ixgbe_ethdev.h
This path renames the mirror type in rte_eth_mirror_conf and macros,
and rework the mirror set in ixgbe dirvers by using new definition.
It also fixes some coding style.
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 42 +++
drivers/net/ixgbe
enable mirror functionality in i40e driver
.mirror_rule_set
.mirror_rule_reset
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 334 +
drivers/net/i40e/i40e_ethdev.h | 23 +++
2 files changed, 357 insertions(+)
diff --git a/drivers/net
This patch modifies the mirror command about type extension and adds link
mirror command.
Signed-off-by: Jingjing Wu
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
b/doc
This patch set enables mirror functionality in i40e driver, and redefines
structure and macros used to configure mirror.
v2 changes:
- correct comments style
- add doc change
v3 changes:
- change the mirror rule type to support bit mask and avoid ABI broken
- fix code style
Jingjing Wu (4
rename rte_eth_vmdq_mirror_conf to rte_eth_mirror_conf and move
the maximum rule id check from ethdev level to driver
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 22 +++---
drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++
drivers/net/ixgbe/ixgbe_ethdev.h
This path renames the mirror type in rte_eth_mirror_conf and macros,
and rework the mirror set in ixgbe dirvers by using new definition.
It also fixes some coding style.
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 42 +--
drivers/net/ixgbe
enable mirror functionality in i40e driver
.mirror_rule_set
.mirror_rule_reset
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 334 +
drivers/net/i40e/i40e_ethdev.h | 23 +++
2 files changed, 357 insertions(+)
diff --git a/drivers/net
Signed-off-by: Jingjing Wu
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index 761172e..2cd3461 100644
--- a/doc/guides
check ixgbe
Jingjing Wu (4):
ethdev: rename rte_eth_vmdq_mirror_conf
ethdev: rename and extend the mirror type
i40e: enable mirror functionality in i40e driver
doc: modify the command about mirror in testpmd guide
app/test-pmd/cmdline.c | 62 +++---
doc/guides
This path renames the mirror type in rte_eth_mirror_conf and macros,
and rework the mirror set in ixgbe dirvers by using new definition.
It also fixes some coding style.
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 42 ++---
drivers/net/ixgbe
enable mirror functionality in i40e driver
.mirror_rule_set
.mirror_rule_reset
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 334 +
drivers/net/i40e/i40e_ethdev.h | 23 +++
2 files changed, 357 insertions(+)
diff --git a/drivers/net
rename rte_eth_vmdq_mirror_conf to rte_eth_mirror_conf and move
the maximum rule id check from ethdev level to driver
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 22 +++---
drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++
drivers/net/ixgbe/ixgbe_ethdev.h
Signed-off-by: Jingjing Wu
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index 761172e..2cd3461 100644
--- a/doc/guides
This patch set extends flow director to support L2_paylod type in i40e driver.
v2 change:
- remove the flow director VF filtering from this patch to avoid breaking ABI.
Jingjing Wu (4):
ethdev: add struct rte_eth_l2_flow to support l2_payload flow type
i40e: extend flow diretcor to support
This patch extends flow director commands to support l2_payload flow type.
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 48 +---
1 file changed, 45 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
Modify the doc about flow director commands to support l2_payload flow type.
Signed-off-by: Jingjing Wu
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
b/doc/guides
The flexbytes offset can not be set, because the value is over written
when fdir is enabled.
This patch fixes this issue, and also removes some reduplicate lines.
Reported-by: David Marchand
Signed-off-by: Jingjing Wu
---
drivers/net/ixgbe/ixgbe_fdir.c | 24
1 file
-by: Jingjing Wu
---
doc/guides/rel_notes/deprecation.rst | 36
1 file changed, 36 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index 5330d3b..b1be38f 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b
river")
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 22b240c..bf6220d 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
Coverity issue (CID 119254): Control flow issues (DEADCODE).
Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic class")
Signed-off-by: Jingjing Wu
---
app/test-pmd/config.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/app/test-pmd/conf
d long (64 bits, unsigned). If vsi_id << 23 is greater than
0x7FFF, the upper bits of the result will all be 1.
Fixes: 88ebc2b7f976 ("i40e: extend flow director to support VF")
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_fdir.c | 2 +-
1 file changed, 1 insertion(+
This patch set extends flow director to support filtering by TOS,
Protocol and TTL in i40e driver.
Jingjing Wu (4):
ethdev: extend flow director to support input set selection
i40e: split function for input set change of hash and fdir
i40e: extend flow director to filter by more IP Header
This patch splited function for input set change of hash and fdir,
and added a new function to set the input set to default when
initialization.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 330 +
drivers/net/i40e/i40e_ethdev.h | 11
This patch add RTE_ETH_INPUT_SET_L3_IP4_TTL,
RTE_ETH_INPUT_SET_L3_IP6_HOP_LIMITS input field type and extends
struct rte_eth_ipv4_flow and rte_eth_ipv6_flow to support filtering
by tos, protocol and ttl.
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_eth_ctrl.h | 8
1 file changed
This patch extends commands for filter's input set changing.
It added tos, protocol and ttl as filter's input fields, and
remove the words selection from flex payloads for flow director.
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 100
This patch extended flow director to select more IP Header fields
as filter input set.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 69 ++
drivers/net/i40e/i40e_fdir.c | 26 +++-
2 files changed, 75 insertions(+), 20
remove the coma character by using ' character
Signed-off-by: Jingjing Wu
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index a99e14d
Due the unified flow type changes, this patchset updates the commands for flow
director
and correct the flow types ixgbe supported.
Jingjing Wu (2):
ixgbe: correct the flow types supported
doc: update flow director commands
app/test-pmd/cmdline.c | 18
te flex mask
setting unrelated with flow type in testpmd for ixgbe.
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c| 18 +++---
lib/librte_pmd_ixgbe/ixgbe_fdir.c | 8 +++-
2 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/app/test-pmd/cmdl
Because of the changing of unified flow type, commands for flow
director need to be updated.
Signed-off-by: Jingjing Wu
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/doc/guides/testpmd_app_ug
Disable VEB switching by removing ALLOW_LB on SRIOV vsi.
If the source mac address of packet sent from VF is not listed in the
VEB's mac table, the VEB will switch the packet back to the VF.
It's a hardware issue. Enabling ALLOW_LB flag will block VF functions.
Signed-off-by: Jingjing Wu
This patch corrects the index to fix the issue that is second 5tuple filter
overwrites the first one.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
b/lib
This patch sets the local variable ctxt to zero to avoid uncertain
data causes error when creating a vsi for flow director.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c
b
This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in
flex filter handling function. It will remove NIC 82576 from flex filter
support.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_e1000/igb_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib
The patch set supports flow director programming on fortville.
It includes:
- reserve i40e resources for flow director, such as queue and vsi.
- support the new ethdev AP Irx_classification_filter_ctl for all
the configuration or queries for receive classification filters.
- support
flow director resource reserve and initialize on i40e, it includes
- queue initialization and switch on and vsi creation during setup
- queue vsi for flow director release during close
Signed-off-by: jingjing.wu
---
lib/librte_pmd_i40e/Makefile | 1 +
lib/librte_pmd_i40e/i40e_ethdev.c
support a new ethdev API rx_classification_filter_ctl for all
the configuration or queries for receive classification filters.
this patch supports commands the API used below:
RTE_CMD_FDIR_RULE_ADD
RTE_CMD_FDIR_RULE_DEL
RTE_CMD_FDIR_FLUSH
RTE_CMD_FDIR_INFO_GET
Signed-off-by: jingjing.wu
add structure definition to construct programming packet.
add commands to programming 6 flow types for the flow director filters,
which is called PCTYPE in fortville: ipv4, tcpv4, udpv4, ipv6, tcpv6, udpv6
add command to support flushing flow director table
Signed-off-by: jingjing.wu
---
support to get the fdir_match counter
support to set the FDIR flag and FD_ID reported in mbuf
Signed-off-by: jingjing.wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 5
lib/librte_pmd_i40e/i40e_rxtx.c | 49 ++-
2 files changed, 53 insertions(+), 1
The patch set supports flow director programming on fortville.
It includes:
- reserve i40e resources for flow director, such as queue and vsi.
- support the new ethdev API rx_classification_filter_ctl for all
the configuration or queries for receive classification filters.
- support
support the API ops defined in ethdev, the behavior according to each command:
RTE_CMD_FDIR_FLUSH : clear all FDIR filter rules.
RTE_CMD_FDIR_INFO_GET: get FDIR information.
Signed-off-by: jingjing.wu
Reviewed-by: Helin Zhang
Reviewed-by: Jing Chen
Reviewed-by: Jijiang Liu
---
add structure definition to construct programming packet.
add commands to programming 6 flow types for the flow director filters,
which is called PCTYPE in fortville: ipv4, tcpv4, udpv4, ipv6, tcpv6, udpv6
add commands to support flushing flow director table and get info
Signed-off-by:
The patch set uses new filter_ctrl API to replace old ethertype filter APIs.
It uses new functions and structure to replace old ones in igb/ixgbe driver,
new commands to replace old ones in testpmd, and removes the old APIs.
Jingjing Wu (4):
ixgbe: new functions replaces old ones for ethertype
This patch removes old functions which deal with ethertype filters in ixgbe
driver.
It also defines eth_igb_filter_ctrl which is binding to filter_ctrl API,
and ethertype filter can be dealt with through this new entrance.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_e1000/e1000_ethdev.h
This patch removes old functions which deal with ethertype filter in ixgbe
driver.
It also defines ixgbe_dev_filter_ctrl which is binding to filter_ctrl API,
and ethertype filter can be dealt with through this new entrance.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c
Struct rte_ethertype_filter is removed.
Following APIs are removed:
- rte_eth_dev_add_ethertype_filter
- rte_eth_dev_remove_ethertype_filter
- rte_eth_dev_get_ethertype_filter
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_ethdev.c | 57
lib/librte_ether
--- the v3 patchset changes:
--- comments alignment
--- the v2 patchset changes:
--- add NIC filter support for 82576
--- rework for the whitespace and tab warning if using git apply to apply patch
A generic filter mechanism for handling special packet is required.
It will allow filters to be
This patch adds APIs for NIC filters list below:
ethertype filter, syn filter, 2tuple filter, flex filter, 5tuple filter
Signed-off-by: jingjing.wu
---
lib/librte_ether/rte_ethdev.c | 281
lib/librte_ether/rte_ethdev.h | 425
This patch adds following igb NIC filters implement:
syn filter, ethertype filter, 2tuple filter, flex filter for intel NIC 82580
and i350
syn filter, ethertype filter, 5tuple filter for intel NIC 82576
Signed-off-by: jingjing.wu
---
lib/librte_pmd_e1000/e1000_ethdev.h | 53 +++
add commands in testpmd for NIC filters:
add_ethertype_filter
remove_ethertype_filter
get_ethertype_filter
add_2tuple_filter
remove_2tuple_filter
get_2tuple_filter
add_5tuple_filter
remove_5tuple_filter
get_5tuple_filter
add_syn_filter
remove_syn_filter
get_syn_filter
add_flex_filter
This patch adds following ixgbe NIC filters implement:
syn filter, ethertype filter, 5tuple filter for intel NIC 82599
Signed-off-by: jingjing.wu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 408
lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 34 +++
2 files changed,
add commands in testpmd for NIC filters:
add_ethertype_filter
remove_ethertype_filter
get_ethertype_filter
add_2tuple_filter
remove_2tuple_filter
get_2tuple_filter
add_5tuple_filter
remove_5tuple_filter
get_5tuple_filter
add_syn_filter
remove_syn_filter
get_syn_filter
add_flex_filter
This patch adds APIs for NIC filters list below:
ethertype filter, syn filter, 2tuple filter, flex filter, 5tuple filter
Signed-off-by: jingjing.wu
---
lib/librte_ether/rte_ethdev.c | 275 +++
lib/librte_ether/rte_ethdev.h | 428 ++
This patch adds following igb NIC filters implement:
syn filter, ethertype filter, 2tuple filter, flex filter for intel NIC 82580
and i350
syn filter, ethertype filter, 5tuple filter for intel NIC 82576
Signed-off-by: jingjing.wu
---
lib/librte_pmd_e1000/e1000_ethdev.h | 53 +++
This patch adds following ixgbe NIC filters implement:
syn filter, ethertype filter, 5tuple filter for intel NIC 82599
Signed-off-by: jingjing.wu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 440
lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 34 +++
2 files changed,
A generic filter mechanism for handling special packet is required.
It will allow filters to be set in HW when available so that specific
packet may be filtered by NICs to specific descriptor queues for
processing. Currently only Flow Director for Intel's 10GbE 82599
devices is available. Other
This patch adds following igb NIC filters implement for intel NIC 82580 and i350
syn filter, ethertype filter, 2tuple filter, flex filter
Signed-off-by: jingjing.wu
---
lib/librte_pmd_e1000/e1000_ethdev.h | 38 +++
lib/librte_pmd_e1000/igb_ethdev.c | 512
add commands in testpmd for NIC filters:
add_ethertype_filter
remove_ethertype_filter
get_ethertype_filter
add_2tuple_filter
remove_2tuple_filter
get_2tuple_filter
add_5tuple_filter
remove_5tuple_filter
get_5tuple_filter
add_syn_filter
remove_syn_filter
get_syn_filter
This patch add APIs for NIC filters list below:
ethertype filter, syn filter, 2tuple filter, flex filter, 5tuple filter
Signed-off-by: jingjing.wu
---
lib/librte_ether/rte_ethdev.c | 300 +
lib/librte_ether/rte_ethdev.h | 428
This patch adds following ixgbe NIC filters implement for intel NIC 82599
syn filter, ethertype filter, 5tuple filter
Signed-off-by: jingjing.wu
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 365
lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 33
2 files changed,
To support flow director tear down, this patch includes
- queue 0 pair release
- release vsi
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 4 +++-
lib/librte_pmd_i40e/i40e_ethdev.h | 1 +
lib/librte_pmd_i40e/i40e_fdir.c | 19 +++
3 files changed, 23
APIs definitions from this patch set
- extend mbuf field to support flex bytes report
- fix typos
v5 changes:
- redefine structure rte_eth_fdir_info
- add doxygen comments about flexible payload and mbuf extend
- fix typos
Jingjing Wu (21):
i40e: set up and initialize flow director
i40e
Deal with two operations for flow director
- RTE_ETH_FILTER_ADD
- RTE_ETH_FILTER_DELETE
Encode the flow inputs to programming packet.
Sent the packet to filter programming queue and check status
on the status report queue.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 3
1 - 100 of 539 matches
Mail list logo