Fix the vector mapping with queue by changing the recircle when
exceeds RX_VEC_START + nb_msix;
Fixes: d6bde6b5eae9 ("net/avf: enable Rx interrupt")
Signed-off-by: Jingjing Wu
---
drivers/net/iavf/iavf_ethdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/d
Fix the vector mapping with queue by changing the recircle when
exceeds RX_VEC_START + nb_msix;
Fixes: d6bde6b5eae9 ("net/avf: enable Rx interrupt")
Signed-off-by: Jingjing Wu
---
v2:
- fix compile warning.
drivers/net/iavf/iavf_ethdev.c | 6 +++---
1 file changed, 3 insert
Head move should happen after the core id check, otherwise
source node will be missed.
Fixes: 35dfd9b9fd85 ("graph: introduce graph walk by cross-core dispatch")
Cc: sta...@dpdk.org
Signed-off-by: Jingjing Wu
---
lib/graph/rte_graph_model_mcore_dispatch.h | 4 ++--
1 file changed, 2
ned-off-by: Jingjing Wu
---
lib/graph/rte_graph_model_mcore_dispatch.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/graph/rte_graph_model_mcore_dispatch.h
b/lib/graph/rte_graph_model_mcore_dispatch.h
index 75ec388cad..1cc75b7ac4 100644
--- a/lib/graph/rte_graph_model_mcore_
When enable_iova_as_pa option is disabled, idpf driver should avoid
the building in its build file.
Fixes: 5bf87b45b2c8 (net/idpf: add AVX512 data path for single queue model)
Cc: sta...@dpdk.org
Signed-off-by: Jingjing Wu
---
drivers/net/idpf/meson.build | 6 ++
1 file changed, 6
A generic filter mechanism for handling special packet is required. It will
allows filters
to be set in HW when available for so that specific packets may be filtered by
NICs to specific
desriptor queues for processing.
Currently only the Flow Director for Intel's 10GbE 82599 devices is availabl
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 typ
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
add_
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,
--- the v2 patchset changes:
--- add NIC filter support for 82576
--- rework for code rule warning if using git apply to apply patch
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 N
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 | 421 +-
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 +++
lib/librte
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 | 409
lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 33 +++
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
remove_flex_fi
update state machine
- add broadcast promiscuous control per VLAN
- remove unused X722_SUPPORT and I40E_NDIS_SUPPORT MARCOs
Jingjing Wu (31):
net/i40e/base: add encap csum VF offload flag
net/i40e/base: preserve extended PHY type field
net/i40e/base: remove unnecessary code
net/i40e/base
Add ENCAP_CSUM offload negotiation flag. Currently VF assumes checksum
offload for encapsulated packets is supported by default. Going forward,
this feature needs to be negotiated with PF before advertising to the
stack. Hence, we need a flag to control it.
Signed-off-by: Jingjing Wu
Prevents 25G PHY types from being disabled when setting
the flow control modes.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index 9a6b3ed
Incorrect bit mask was used for testing "get link status" response.
Instead of I40E_AQ_LSE_ENABLE (which is actually 0x03) it most probably
should be I40E_AQ_LSE_IS_ENABLED (which is defined as 0x01).
Fixes: 8db9e2a1b232 ("i40e: base driver")
Signed-off-by: Jingjing Wu
---
d
This patch changes some assignments and removing the unnecessary
code to avoid error reported by static analysis tools.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 4
drivers/net/i40e/base/i40e_lan_hmc.c | 5 -
2 files changed, 9 deletions(-)
diff --git a
Group together the minimum set of offload capabilities that are always
supported by VF in base mode. This define would be used by PF to make
sure VF in base mode gets minimum of base capabilities.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_virtchnl.h | 4
1 file changed, 4
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index 2ad9448..7eea189 100644
--- a/drivers/net/i40e/base/i40e_common.c
+++ b/drivers/net/i40e
Some external PHYs require Clause22 and Clause45 method for
accessing registers. Mostly used for X722 support.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c| 245 +++--
drivers/net/i40e/base/i40e_prototype.h | 16 ++-
drivers/net/i40e/base
xes: e6691b428eb1 ("i40e/base: fix PHY NVM interaction")
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index a2661cf..2ad9448 100644
Currently i40e_bus_info has PCI device and function info only. However
in log messages slot number (i.e hw->bus.device) is being printed
as bus number. Another field should be added to provide bus number
info and preserve existing information.
Signed-off-by: Jingjing Wu
---
drivers/net/i
unknown
PHYs and cables.
This change adds hardware type to the check for firmware version
so the PHY type is reported correctly.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
I40E_MAC_X710 was supposed to be for 10G and I40E_MAC_XL710
was supposed to be for 40G. But i40e_set_mac_type() sets
I40E_MAC_XL710 for all device IDS. I40E_MAC_X710 is not
used at all. Thus deprecating this extra macro.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_type.h | 1 -
1
Add logical_id to I40E_AQ_CAP_ID_MNG_MODE capability starting from major
version 2.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 8
drivers/net/i40e/base/i40e_type.h | 4
2 files changed, 12 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
To align with current memcpy use, replace existing legacy memcpy() calls
with i40e_memcpy() calls.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 13 -
drivers/net/i40e/base/i40e_nvm.c| 7 ---
2 files changed, 12 insertions(+), 8 deletions(-)
diff
Microsoft recently removed the requirement for VFs to use the VMBus.
The Fort Park Windows VF has been changed to use only the hardware
mailbox, so the Hyper-V VF device ID can be removed.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 1 -
drivers/net/i40e/base
This patch implements the clear Wake on LAN (WoL) filters admin queue
function which clears out ALL WoL patterns programmed into
the flex filters.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1 +
drivers/net/i40e/base/i40e_common.c | 20
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h
b/drivers/net/i40e/base/i40e_adminq_cmd.h
index 1884758..cef02b1 100644
--- a/drivers/net/i40e/base
Add FEC bits to the PHY capabilities AQ command struct. This is required
for 25GbE support. Change the name of the generic mod_type_ext field to
indicate that it is now used for handling FEC.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 13 -
drivers/net
Define the values for the 25G PHY type bit-fields that match
reported values from firmware. There was a gap in the bit
fields but no corresponding gap i40e_aq_phy_type enum.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_type.h | 20
1 file changed, 16 insertions
: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c| 37 ++
drivers/net/i40e/base/i40e_prototype.h | 3 +++
2 files changed, 40 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index bae9079..1095e68
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_type.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index 99e080e..3784c8f 100644
--- a/drivers/net/i40e/base/i40e_type.h
+++ b/drivers
Store the FEC status bits from the link up event into the
hw_link_info structure.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 2 ++
drivers/net/i40e/base/i40e_type.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers
the driver tell the FW which filters to preserve.
Set the datalen field and add I40E_AQ_FLAG_BUF/I40E_AQ_FLAG_RD flags in the
desc struct for the WoL/Proxy AQ descriptors. The WoL/Proxy AQ commands
were failing because these were missing.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base
therefor not enabling the UDP tunnel correctly.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index 17b53ae..852cbf7 100644
--- a
Acquire NVM lock before reads on all devices. Previously, locks were
only used for X722 and later. Fixes an issue where simultaneous X710
NVM accesses were interfering with each other.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_nvm.c | 16
1 file changed, 8
pkeep tool, and generally makes more sense to avoid
duplicating the definitions.
While we are here, replace 0X with 0x as normal style.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net/i40e
For some cases when reading from device are incorrect or image is
incorrect, this part of code causes crash due to division by zero.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base
remove X722_SUPPORT and I40E_NDIS_SUPPORT MARCOs
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 14 ---
drivers/net/i40e/base/i40e_common.c | 18 +-
drivers/net/i40e/base/i40e_devids.h | 2 --
drivers/net/i40e/base/i40e_nvm.c| 16
: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq.c | 4 ++--
drivers/net/i40e/base/i40e_nvm.c| 17 +
drivers/net/i40e/base/i40e_type.h | 2 ++
3 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_adminq.c
b/drivers/net/i40e/base
Big Endian platform will accidentally send the wrong
data to the firmware command. This patch fixes the issue.
Fixes: 788fc17b2dec ("i40e/base: support proxy config for X722")
Fixes: 3c89193a36fd ("i40e/base: support WOL config for X722")
Signed-off-by: Jingjing Wu
---
d
Add a new adminq function that allows driver to configure per-VLAN
broadcast promiscuous mode, similar to how we handle unicast and
multicast promiscuous modes.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c| 34 ++
drivers/net/i40e/base
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/Makefile | 2 +-
drivers/net/i40e/i40e_ethdev.c | 40
2 files changed, 1 insertion(+), 41 deletions(-)
diff --git a/drivers/net/i40e/Makefile b/drivers/net/i40e/Makefile
index 13085fb..66997b6 100644
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 programm
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
fix the Marco conflict between rte_ip.h and netinet/in.h
Signed-off-by: jingjing.wu
---
lib/librte_net/rte_ip.h | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/librte_net/rte_ip.h b/lib/librte_net/rte_ip.h
index e3f65c1..0f0b3b0 100644
--- a/lib/librte_net/rte_ip.h
++
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
support the API ops defined in ethdev, the behavior according to each command:
RTE_CMD_FDIR_RULE_ADD: add a new FDIR filter rule.
RTE_CMD_FDIR_RULE_DEL: delete a FDIR filter rule.
RTE_CMD_FDIR_FLUSH : clear all FDIR filter rules.
RTE_CMD_FDIR_INFO_GET: get FDIR information.
Signed-off-
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
---
app/tes
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 deletion(
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 programmi
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
R
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
Reviewed-by: Helin Zhang
Reviewed-by: Jing Chen
Reviewed-by: Jijiang Liu
---
l
fix the Marco conflict between rte_ip.h and netinet/in.h
Signed-off-by: jingjing.wu
Reviewed-by: Helin Zhang
Reviewed-by: Jing Chen
Reviewed-by: Jijiang Liu
---
lib/librte_net/rte_ip.h | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/librte_net/rte_ip.h b/lib/librt
support to get the fdir_match counter
support to set the FDIR flag and FD_ID reported in mbuf
Signed-off-by: jingjing.wu
Reviewed-by: Helin Zhang
Reviewed-by: Jing Chen
Reviewed-by: Jijiang Liu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 5
lib/librte_pmd_i40e/i40e_rxtx.c | 49 ++
support the API ops defined in ethdev, the behavior according to each command:
RTE_CMD_FDIR_RULE_ADD: add a new FDIR filter rule.
RTE_CMD_FDIR_RULE_DEL: delete a FDIR filter rule.
Signed-off-by: jingjing.wu
Reviewed-by: Helin Zhang
Reviewed-by: Jing Chen
Reviewed-by: Jijiang Liu
---
lib/
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
---
lib/libr
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: jingjing.wu
In order not to affect the FVL's performance by default setting, this
patch moves the flow director initialization from i40e_pf_setup to
i40e_dev_configure according to the mode in fdir configure info.
Then the resources used for flow director will be only setup if it is enabled.
Signed-off-by: ji
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
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
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 set
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 +++
lib/librte
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
remove_flex_fi
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,
--- the v4 patchset changes:
--- change the type of rx_queue to uint16_t
--- change the parameter of rte_eth_dev_add_syn_filter API
--- the v3 patchset changes:
--- comments alignment
--- the v2 patchset changes:
--- add NIC filter support for 82576
--- rework for the whitespace and tab warning i
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
remove_flex_fi
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 +++
lib/librte
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,
This patch set enables mirror functionality in i40e driver, and
redefine structure and macros used to configure mirror.
Jingjing Wu (3):
ethdev: rename rte_eth_vmdq_mirror_conf
ethdev: redefine the mirror type
i40e: enable mirror functionality in i40e driver
app/test-pmd/cmdline.c
This patch renames rte_eth_vmdq_mirror_conf to rte_eth_mirror_conf
and move the maximum number check from ethdev level to driver
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 18 +-
lib/librte_ether/rte_ethdev.c | 18 ++
lib
This path renames the mirror type in rte_eth_mirror_conf and macros,
and reworks 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 ++---
lib/librte_ether
enable mirror functionality in i40e driver
.mirror_rule_set
.mirror_rule_reset
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 334 ++
lib/librte_pmd_i40e/i40e_ethdev.h | 23 +++
2 files changed, 357 insertions(+)
diff --git a/lib
This patch set enables mirror functionality in i40e driver, and
redefines structure and macros used to configure mirror.
Jingjing Wu (3):
ethdev: rename rte_eth_vmdq_mirror_conf
ethdev: redefine the mirror type
i40e: enable mirror functionality in i40e driver
app/test-pmd/cmdline.c
This patch renames rte_eth_vmdq_mirror_conf to rte_eth_mirror_conf
and move the maximum number check from ethdev level to driver
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 18 +-
lib/librte_ether/rte_ethdev.c | 18 ++
lib
This path renames the mirror type in rte_eth_mirror_conf and macros,
and reworks 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 ++---
lib/librte_ether
enable mirror functionality in i40e driver
.mirror_rule_set
.mirror_rule_reset
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 334 ++
lib/librte_pmd_i40e/i40e_ethdev.h | 23 +++
2 files changed, 357 insertions(+)
diff --git a/lib
The patch set enables control packet filter on Fortville.
Control packet filter can assign packet to specific destination by filtering
with mac address and ethertype or only ethertype.
It mainly includes:
- Use new filter mechanism discussed at
http://dpdk.org/ml/archives/dev/2014-September/005
it.
Signed-off-by: Jingjing Wu
---
lib/librte_ether/Makefile | 1 +
lib/librte_ether/rte_eth_ctrl.h | 78 +
lib/librte_ether/rte_ethdev.c | 32 +
lib/librte_ether/rte_ethdev.h | 44 +++
4 files changed, 155
define new filter type and its structure
- RTE_ETH_FILTER_CTRL_PKT
- struct rte_ctrl_pkt_filter
Signed-off-by: Jingjing Wu
---
lib/librte_ether/rte_eth_ctrl.h | 24
1 file changed, 24 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether
Implement control packet filter, support add and delete operations.
It can assign packets to specific queue or vsi by filtering with mac address
and ethertype or only
ethertype on both rx and tx directions.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 161
Add command to test control packet filter
- add/delete control packet filter
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 149 +
1 file changed, 149 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index
set up fortville resources to support flow director, includes
- queue 0 pair allocated and set up for flow director
- create vsi
- reserve memzone for flow director programming packet
Signed-off-by: Jingjing Wu
Acked-by: Chen Jing D(Mark)
Acked-by: Helin Zhang
---
lib/librte_pmd_i40e
set flexible payload related registers to default value at initialization time.
Signed-off-by: Jingjing Wu
Acked-by: Chen Jing D(Mark)
Acked-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_ethdev.c | 33 ++
lib/librte_pmd_i40e/i40e_fdir.c | 49
Define new APIs to support configure multi-kind filters using same APIs
- rte_eth_dev_filter_supported
- rte_eth_dev_filter_ctrl
Signed-off-by: Jingjing Wu
Acked-by: Chen Jing D(Mark)
Acked-by: Helin Zhang
---
lib/librte_ether/Makefile | 1 +
lib/librte_ether/rte_eth_ctrl.h | 78
add commands which can be used to test adding or deleting 8 flow types of the
flow director filters: ipv4, tcpv4, udpv4, sctpv4, ipv6, tcpv6, udpv6, sctpv6
Signed-off-by: Jingjing Wu
Acked-by: Chen Jing D(Mark)
Acked-by: Helin Zhang
---
app/test-pmd/cmdline.c | 447
release fortville resources on flow director, includes
- queue 0 pair release
- release vsi
Signed-off-by: Jingjing Wu
Acked-by: Chen Jing D(Mark)
Acked-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_ethdev.c | 4 +++-
lib/librte_pmd_i40e/i40e_ethdev.h | 1 +
lib/librte_pmd_i40e/i40e_fdir.c
define structures to add or delete flow director filter
Signed-off-by: Jingjing Wu
Acked-by: Chen Jing D(Mark)
Acked-by: Helin Zhang
---
lib/librte_ether/rte_eth_ctrl.h | 159
1 file changed, 159 insertions(+)
diff --git a/lib/librte_ether
support to set the FDIR flag and report FD_ID in mbuf if match
Signed-off-by: Jingjing Wu
Acked-by: Chen Jing D(Mark)
Acked-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_rxtx.c | 48 +
1 file changed, 48 insertions(+)
diff --git a/lib/librte_pmd_i40e
define structures for getting flow director information
Signed-off-by: Jingjing Wu
Acked-by: Chen Jing D(Mark)
Acked-by: Helin Zhang
---
lib/librte_ether/rte_eth_ctrl.h | 40
lib/librte_ether/rte_ethdev.h | 23 ---
2 files changed
1 - 100 of 858 matches
Mail list logo