Signed-off-by: Jingjing Wu <jingjing...@intel.com>
---
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
-by: Jingjing Wu <jingjing...@intel.com>
---
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/d
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 &l
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 <jingjing...@intel.com>
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff
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 <jingjing...@intel.
Signed-off-by: Jingjing Wu <jingjing...@intel.com>
---
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/i40
Add logical_id to I40E_AQ_CAP_ID_MNG_MODE capability starting from major
version 2.
Signed-off-by: Jingjing Wu <jingjing...@intel.com>
---
drivers/net/i40e/base/i40e_common.c | 8
drivers/net/i40e/base/i40e_type.h | 4
2 files changed, 12 insertions(+)
diff --git a/drive
xes: e6691b428eb1 ("i40e/base: fix PHY NVM interaction")
Signed-off-by: Jingjing Wu <jingjing...@intel.com>
---
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_com
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 <jingjing...@int
Some external PHYs require Clause22 and Clause45 method for
accessing registers. Mostly used for X722 support.
Signed-off-by: Jingjing Wu <jingjing...@intel.com>
---
drivers/net/i40e/base/i40e_common.c| 245 +++--
drivers/net/i40e/base/i40e_prototype.h
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 <jingjing...@intel.com>
---
drivers/net/i40e/base/i40e_virtchnl
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 &l
Prevents 25G PHY types from being disabled when setting
the flow control modes.
Signed-off-by: Jingjing Wu <jingjing...@intel.com>
---
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/i40
This patch changes some assignments and removing the unnecessary
code to avoid error reported by static analysis tools.
Signed-off-by: Jingjing Wu <jingjing...@intel.com>
---
drivers/net/i40e/base/i40e_common.c | 4
drivers/net/i40e/base/i40e_lan_hmc.c | 5 -
2 files chan
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 <jingj
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
Signed-off-by: Jingjing Wu
---
v2 change:
correct the arguments in log.
add more comments.
drivers/net/i40e/i40e_ethdev_vf.c | 31 +++
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
ind
Signed-off-by: Jingjing Wu
---
v1 change:
remove pablo from maintainer.
v2 change:
remove Wei Dai from claim.
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index d6bb8f8..fd096c5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -614,7
Signed-off-by: Jingjing Wu
---
v2 change:
remove Wei Dai from claim.
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d6bb8f8..398e628 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -615,6 +615,7 @@ F: app/test/virtual_pmd.h
Driver testing tool
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev_vf.c | 27 +++
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index aa306d6..53d7c87 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_rxtx.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c
index 7ae7d9f..d359dae 100644
--- a/driver
is disabled.
This patch fixes this issue.
Fixes: fcbd40d4327b ("net/i40e: fix Rx hang when disable LLDP")
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/driver
This patch adds "Limitations or Known issues" section for
i40e PMD, including two items:
1. MPLS packet classification on X710/XL710
2. 16 Byte Descriptor cannot be used on DPDK VF
Signed-off-by: Jingjing Wu
---
v2 changes:
fix typo.
doc/guides/nics/i40
This patch adds "Limitations or Known issues" section for
i40e PMD, including two items:
1. MPLS packet classification on X710/XL710
2. 16 Byte Descriptor cannot be used on DPDK VF
Signed-off-by: Jingjing Wu
---
doc/guides/nics/i40e.rst | 33 +
1 file c
to remove it from hardware.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Fixes: 440499cf5376 ("net/i40e: support floating VEB")
Signed-off-by: Jingjing Wu
---
v2 change:
- add fix for floating veb case
drivers/net/i40e/i40e_ethdev.c | 2 --
1 file changed, 2 deletions(-)
to remove it from hardware.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 11a5804..97f9d49 100644
---
describes Flow Bifurcation and adds the user guide for ixgbe
and i40e NICs.
Signed-off-by: Jingjing Wu
---
v3 changes:
- rename bifurcated driver to flow bifurcation.
- move the doc from nics to howto.
v4 changes:
- rework on John's comments about format.
doc/guides/howto/flow_bifurcation.rst
it and adds the user guide on ixgbe and i40 NICs.
Signed-off-by: Jingjing Wu
---
v3 changes:
- rename bifurcated driver to flow bifurcation
- move the doc from nics to howto
This patch is based on patch set "[PATCH v3 0/2] doc: live migration procedure"
http://www.dpdk.org/ml/archive
/i40e: fix VLAN filtering in promiscuous mode")
Reported-by: Jeffrey Shaw
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 23 ---
1 file changed, 4 insertions(+), 19 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethd
move PCI device ids from rte_pci_dev_ids.h to driver.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 21 ++--
drivers/net/i40e/i40e_ethdev_vf.c | 9 ++--
lib/librte_eal/common/include/rte_pci_dev_ids.h | 71 -
3 files
mode.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Jingjing Wu
---
v2
* commit log rework.
v3
* commit log rework.
drivers/net/i40e/i40e_ethdev.c | 23 +++
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/drivers/net/i40e/i40e_
This patch describes how bifurcated driver is done and
adds the user guide on i40e NICs.
Signed-off-by: Jingjing Wu
---
doc/guides/nics/i40e.rst | 140 +++
1 file changed, 140 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics
it and adds the user guide on ixgbe NICs.
Signed-off-by: Jingjing Wu
---
doc/guides/nics/img/bifurcated_driver_overview.svg | 544 +
doc/guides/nics/img/ixgbe_bifu_queue_idx.svg | 101
doc/guides/nics/ixgbe.rst | 119 +
3 files changed, 764
when VLAN filtering is added/removed without any
change on MAC VLAN table.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Jingjing Wu
---
v2 change:
- commit log reword.
drivers/net/i40e/i40e_ethdev.c | 23 +++
1 file changed, 19 insertions(+), 4
vlan table.
Fixes: 4861cde46116 (i40e: new poll mode driver)
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 23 +++
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 24777d5
This patch docs the issue on EAL argument that the last EAL
argument is replaced by program name in argv[].
Reported-by: Ziye Yang
Signed-off-by: Jingjing Wu
---
doc/guides/rel_notes/known_issues.rst | 21 +
1 file changed, 21 insertions(+)
diff --git a/doc/guides
This patch docs the issue on EAL argument that the last EAL
argument is replaced by program name in argv[].
Reported-by: Ziye Yang
Signed-off-by: Jingjing Wu
---
doc/guides/rel_notes/known_issues.rst | 19 +++
1 file changed, 19 insertions(+)
diff --git a/doc/guides/rel_notes
en setting NONUSE_FLX_PIT_DEST_OFF to disable it. It breaks
the functionality.
This patch fixes this issue.
Fixes: d8b90c4eabe9 ("i40e: take flow director flexible payload
configuration")
Reported-by: Michael Habibi
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_fdir.c | 4 +++
i40e driver( >1.4.X ).
Fixes: 2f1e22817420 ("i40e: skip link control as firmware workaround")
Fixes: 16c979f9adf2 ("i40e: disable setting of PHY configuration")
Signed-off-by: Jingjing Wu
---
doc/guides/rel_notes/known_issues.rst | 19 -
drivers/net/i40e/i40e_et
Previously, if message is sent successfully, but no response is
received, function "i40evf_execute_vf_cmd" will return without error.
The root cause is value "err" is overwritten. This patch fixes it.
Fixes: ae19955e7c86 ("i40evf: support reporting PF reset")
Sign
Previously, if message is sent successfully, but no response is
received, function "i40evf_execute_vf_cmd" will return without error.
The root cause is value "err" is overwritten. This patch fixes it.
Fixes: ae19955e7c86 ("i40evf: support reporting PF reset&quo
: new poll mode driver")
Fixes: a778a1fa2e4e ("i40e: set up and initialize flow director")
Signed-off-by: Jingjing Wu
---
doc/guides/rel_notes/release_16_07.rst | 7 +++
drivers/net/i40e/i40e_fdir.c | 2 +-
drivers/net/i40e/i40e_rxtx.c | 7 ++-
3 files ch
NSH packet can be recognized by Intel X710/XL710 series. This
patch enables the new packet type.
Signed-off-by: Jingjing Wu
---
app/test-pmd/rxonly.c | 3 +++
doc/guides/rel_notes/release_16_07.rst | 2 ++
drivers/net/i40e/i40e_rxtx.c | 27
Signed-off-by: Jingjing Wu
---
lib/librte_mbuf/rte_mbuf.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index 529debb..79edae3 100644
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.h
@@ -274,6 +274,13 @@ extern
NSH packet can be recognized by Intel X710/XL710 series. This
patch set enables it.
Jingjing Wu (2):
mbuf: new NSH packet type
i40e: NSH packet type support
app/test-pmd/rxonly.c | 3 +++
doc/guides/rel_notes/release_16_07.rst | 2 ++
drivers/net/i40e/i40e_rxtx.c
the resetting process will set offset_loaded
flag.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index bc28d3
The issue is the VF's link speed kept as 10G and status always was up.
It did not change even the physical link's status changed.
This patch fixes this issue to make VF's link info consistent with
physical link.
Fixes: 4861cde46116 (i40e: new poll mode driver)
Signed-off-by: Jingjing Wu
---
v2
The issue is the VF's link speed kept as 10G and status always was up.
It did not change even the physical link's status changed.
This patch fixes this issue to make VF's link info consistent with
physical link.
Fixes: 4861cde46116 (i40e: new poll mode driver)
Signed-off-by: Jingjing Wu
---
doc
Signed-off-by: Jingjing Wu
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e848ffa..498bf4e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -300,8 +300,10 @@ F: doc/guides/nics/intel_vf.rst
Intel i40e
M: Helin Zhang
+M: Jingjing Wu
F
This patch fixes comments for tunnel filters and flow director flows.
e.g. states fields which are in big endian.
Fixes: 7b1312891b69 (ethdev: add IP in GRE tunnel)
Fixes: d69be32d4d78 (ethdev: structures to add or delete flow director)
Signed-off-by: Jingjing Wu
---
lib/librte_ether
Calling rte_eth_dev_get_dcb_info to get dcb info from i40e
driver if VMDQ is disabled, results in a segmentation fault.
This patch fixes it by treating VMDQ and No-VMDQ respectively
when querying dcb information.
Fixes: 5135f3ca49a7 ("i40e: enable DCB in VMDQ VSIs")
Signed-off-by: J
This patch extends the commands for changing filter's input set.
It adds vlan as filter's possobile input fields.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
app/test-pmd/cmdline.c | 6 +++---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +-
2 files changed, 4
This patch extends flow director to select vlan id as part of
filter's input set and program the filter rule with vlan id.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
doc/guides/rel_notes/release_16_04.rst | 2 +
drivers/net/i40e/i40e_ethdev.c | 11 ++
drivers/net/i40e
ot;)
Signed-off-by: Andrey Chilikin
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index ff0ee2e..493db14 100644
--- a/
This patch extends commands for changing a flow director filter's input
set. It adds tos, protocol and ttl as filter's input fields, and removes
the words selection from flex payloads.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
app/test-pmd/cmdline.c | 100
This patch extends flow director to select more IP Header fields
as filter input set.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 69 ++
drivers/net/i40e/i40e_fdir.c | 26 +++-
2 files changed, 75
This patch adds a new function to set the input set to default
when initialization.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 57 ++
1 file changed, 57 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c
In this patch, flex payload is removed from valid fdir input set
values. It is because all flex payload configuration can be set
in struct rte_fdir_conf during device configure phase, which is
a more flexible way of setting this up.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers
director
respectively.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 235 +
drivers/net/i40e/i40e_ethdev.h | 11 +-
drivers/net/i40e/i40e_fdir.c | 5 +-
3 files changed, 107 insertions(+), 144 deletions(-)
diff
This patch adds RTE_ETH_INPUT_SET_L3_IP4_TTL,
RTE_ETH_INPUT_SET_L3_IP6_HOP_LIMITS input field types 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
Acked-by: Helin Zhang
---
doc/guides/rel_notes
in i40e driver:
- TOS, Protocol and TTL in IP header
- single vlan or inner vlan
Andrey Chilikin (1):
i40e: fix VLAN bitmasks for input set
Jingjing Wu (8):
ethdev: extend flow director for input selection
i40e: split function for hash and fdir input
i40e: remove flex payload from input
This patch extended commands for filter's input set changing.
It added vlan as filter's input fields.
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 6 +++---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff
This patch extended flow director to select vlan id
as filter's input set and program the filter rule with vlan id.
Signed-off-by: Jingjing Wu
---
doc/guides/rel_notes/release_16_04.rst | 2 +
drivers/net/i40e/i40e_ethdev.c | 11 ++
drivers/net/i40e/i40e_fdir.c | 69
ot;)
Signed-off-by: Andrey Chilikin
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 462d0d3..ff034e7 100644
--- a/
This patch extended 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
Acked-by: Helin Zhang
---
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
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 69 ++
drivers/net/i40e/i40e_fdir.c | 26 +++-
2 files changed, 75
This patch added a new function to set the input set to default
when initialization.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 57 ++
1 file changed, 57 insertions(+)
diff --git a/drivers/net/i40e
setting in bits.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 59 +++---
1 file changed, 26 insertions(+), 33 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index faceb8b
This patch split function for input set changing of hash
and fdir to avoid multiple check on different situation.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 235 +
drivers/net/i40e/i40e_ethdev.h | 11
This patch added RTE_ETH_INPUT_SET_L3_IP4_TTL,
RTE_ETH_INPUT_SET_L3_IP6_HOP_LIMITS input field type and extended
struct rte_eth_ipv4_flow and rte_eth_ipv6_flow to support filtering
by tos, protocol and ttl.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
doc/guides/rel_notes
VLAN bitmasks for input set
Jingjing Wu (8):
ethdev: extend flow director for input selection
i40e: split function for hash and fdir input
i40e: remove flex payload from input selection
i40e: restore default setting on input set
i40e: extend flow director to filter by IP Header
testpmd
:
rte_eth_dev_callback_register(portid,
RTE_ETH_EVENT_INTR_RESET,
reset_event_callback,
arg);
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
doc/guides/rel_notes/release_16_04.rst | 3 +
drivers/net/i40e/i40e_ethdev_vf.c | 275
Currently, i40evf PMD uses a global static buffer to send virtchnl
command to host driver. It is shared by multi VFs.
This patch changed to allocate virtchnl cmd buffer for each VF.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.h| 2 +
drivers/net/i40e
,
RTE_ETH_EVENT_INTR_RESET,
reset_event_callback,
arg);
Jingjing Wu (2):
i40evf: allocate virtchnl cmd buffer for each vf
i40evf: support to report pf reset event
doc/guides/rel_notes/release_16_04.rst | 3 +
drivers/net/i40e/i40e_ethdev.h | 2 +
drivers/net
:
rte_eth_dev_callback_register(portid,
RTE_ETH_EVENT_INTR_RESET,
reset_event_callback,
arg);
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
doc/guides/rel_notes/release_16_04.rst | 2 +
drivers/net/i40e/i40e_ethdev_vf.c | 272
Currently, i40evf PMD uses a global static buffer to send virtchnl
command to host driver. It is shared by multi VFs.
This patch changed to allocate virtchnl cmd buffer for each VF.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.h| 2 +
drivers/net/i40e
. This will
allow VF to invoke callback when reset happens.
Users can register a callback for this interrupt event like:
rte_eth_dev_callback_register(portid,
RTE_ETH_EVENT_INTR_RESET,
reset_event_callback,
arg);
Jingjing Wu (2):
i40evf
This patch extended commands for filter's input set changing.
It added vlan as filter's input fields.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
app/test-pmd/cmdline.c | 6 +++---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +-
2 files changed, 4 insertions
This patch extended flow director to select vlan id
as filter's input set and program the filter rule with vlan id.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
doc/guides/rel_notes/release_16_04.rst | 2 ++
drivers/net/i40e/i40e_ethdev.c | 11
drivers/net/i40e
ot;)
Signed-off-by: Andrey Chilikin
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 70a1c6c..af87298 100644
--- a/
This patch extended commands for filter's input set changing.
It added GRE/Vxlan Tunnel as filter's input fields.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
app/test-pmd/cmdline.c | 27 +--
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 22
This patch extended flow director to select Vxlan/GRE tunnel ID
as filter's input set and program the filter rule with the defined
tunnel type.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 11 +++
drivers/net/i40e/i40e_fdir.c | 150
This patch changed rte_eth_fdir_flow from union to struct to
support more packets formats, for example, Vxlan and GRE tunnel
packets with IP inner frame.
This patch also add new RTE_FDIR_TUNNEL_TYPE_GRE enum.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
doc/guides/rel_notes
This patch extended 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
Acked-by: Helin Zhang
---
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
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 69 ++
drivers/net/i40e/i40e_fdir.c | 26 +++-
2 files changed, 75
This patch added a new function to set the input set to default
when initialization.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 56 ++
1 file changed, 56 insertions(+)
diff --git a/drivers/net/i40e
setting in bits.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 59 +++---
1 file changed, 26 insertions(+), 33 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index c8a62b8
This patch split function for input set changing of hash
and fdir to avoid multiple check on different situation.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 235 +
drivers/net/i40e/i40e_ethdev.h | 11
This patch added RTE_ETH_INPUT_SET_L3_IP4_TTL,
RTE_ETH_INPUT_SET_L3_IP6_HOP_LIMITS input field type and extended
struct rte_eth_ipv4_flow and rte_eth_ipv6_flow to support filtering
by tos, protocol and ttl.
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
lib/librte_ether/rte_eth_ctrl.h
to support filtering by
additional fields below in i40e driver:
- TOS, Protocol and TTL in IP header
- Tunnel id if NVGRE/GRE/VxLAN packets
- single vlan or inner vlan
Andrey Chilikin (1):
i40e: fix VLAN bitmasks for input set
Jingjing Wu (11):
ethdev: extend flow director for input selection
From: Xutao Sun
This patch added some options in tunnel_filter command to
test IP in GRE packet classification on i40e.
Update the testpmd documentation.
Signed-off-by: Xutao Sun
Signed-off-by: Jijiang Liu
---
app/test-pmd/cmdline.c | 32
From: Xutao Sun
Signed-off-by: Xutao Sun
Signed-off-by: Jijiang Liu
---
drivers/net/i40e/i40e_ethdev.c | 33 -
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
From: Xutao Sun
Signed-off-by: Xutao Sun
Signed-off-by: Jijiang Liu
---
lib/librte_ether/rte_eth_ctrl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h
index 736cfc1..70635e9 100644
---
From: Xutao Sun
Change the fields of outer_mac and inner_mac in struct
rte_eth_tunnel_filter_conf from pointer to struct in order to
keep the code's readability.
Signed-off-by: Xutao Sun
Signed-off-by: Jijiang Liu
---
app/test-pmd/cmdline.c | 6 --
From: Xutao Sun
v2 changes:
Fix the byte order problem.
v3 changes:
Remove the deprecation notice and update the release notes.
v4 changes:
Modify the mistakes in cmdline.c in the old patch.
v5 changes:
Fix type errors and update the testpmd documentation.
v6
Move the structure ``rte_eth_fdir_masks`` change announcement from ABI
to API in release note.
Fixes: 1409f127d7f1 (ethdev: fix byte order consistency of flow director)
Signed-off-by: Jingjing Wu
---
doc/guides/rel_notes/release_16_04.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions
and deletion when device
start and stop. For each VF, 64 mac addresses can be added
to in maximum.
Signed-off-by: Jingjing Wu
Acked-by: Zhe Tao
---
v2 change:
- rebase to latest dpdk-next-net/rel_16_04(commit: 0f9564a0e4f2)
doc/guides/rel_notes/release_16_04.rst | 2 +
drivers/net/i40e
Signed-off-by: Jingjing Wu
---
doc/guides/nics/overview.rst | 82 ++--
1 file changed, 41 insertions(+), 41 deletions(-)
diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst
index d4c6ff4..431bd1e 100644
--- a/doc/guides/nics
A new doc "i40e.rst" is added to introduce i40e pmd driver.
v3 changes:
- update table in overview.rst.
- rework index.rst to keep an alphabetical order.
v2 changes:
- restrict long code line
- fix typo
Jingjing Wu (2):
doc: add doc for i40e pmd driver introduction
doc
:
rte_eth_dev_callback_register(portid,
RTE_ETH_EVENT_INTR_RESET,
reset_event_callback,
arg);
Signed-off-by: Jingjing Wu
Acked-by: Helin Zhang
---
doc/guides/rel_notes/release_16_04.rst | 2 +
drivers/net/i40e/i40e_ethdev_vf.c | 272
1 - 100 of 539 matches
Mail list logo