Test commands are added to support clearing input set, or setting
with new input set per different pctype.
Signed-off-by: Helin Zhang
Signed-off-by: Andrey Chilikin
---
app/test-pmd/cmdline.c | 106 +
1 file changed, 106 insertions(+)
diff --git
modifications in
testpmd to support the testing.
v2 changes:
Solved the compilation issues.
v3 changes:
Support selecting more input set fields.
Helin Zhang (2):
i40e: add RSS granularity configuration
app/testpmd: add test commands for RSS granularity
app/test-pmd/cmdline.c | 115
: Helin Zhang
Signed-off-by: Andrey Chilikin
---
drivers/net/i40e/i40e_ethdev.c | 628
drivers/net/i40e/i40e_ethdev.h | 6 +
drivers/net/i40e/i40e_fdir.c| 31 ++
lib/librte_ether/rte_eth_ctrl.h | 108 ++-
4 files changed, 769 insertions(+), 4
Test commands are added to support clearing input set, or setting
with new input set per different pctype.
Signed-off-by: Helin Zhang
Signed-off-by: Andrey Chilikin
---
app/test-pmd/cmdline.c | 115 +
1 file changed, 115 insertions(+)
v3 changes
By default, only 3 bytes of GRE key will be used for hash or filter
calculation. Here adds a workaround for selecting 3 or 4 bytes of GRE
key for that purpose.
Helin Zhang (2):
i40e: add selecting GRE key length
app/testpmd: add test commands for selecting different GRE key sizes
app/test
By default, only first 3 bytes of GRE key will be used for hash or
filter calculation. With these changes, it can select 3 or 4 bytes
of GRE key for hash calculation.
Signed-off-by: Helin Zhang
Signed-off-by: Andrey Chilikin
---
drivers/net/i40e/i40e_ethdev.c | 86
Test commands are added to support selecting differnt length of
GRE key.
Signed-off-by: Helin Zhang
Signed-off-by: Andrey Chilikin
---
app/test-pmd/cmdline.c | 52 ++
1 file changed, 52 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app
It fixes several problematic dereferences in i40e driver,
reported by Coverity.
Helin Zhang (6):
i40e: fix problematic dereference
i40e: fix problematic dereference
i40e: fix problematic dereference
i40e: fix problematic dereference
i40e: fix problematic dereference
i40e: fix
Fix issue reported by Coverity.
Coverity ID 13301: Dereference before null check.
Fixes: a778a1fa2e4e ("i40e: set up and initialize flow director")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_rxtx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/d
Fix issue reported by Coverity.
Coverity ID 13294: Dereference before null check.
Fixes: a778a1fa2e4e ("i40e: set up and initialize flow director")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_rxtx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/d
Fix issue reported by Coverity.
Coverity ID 13299: Dereference before null check.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_pf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i
Fix issue reported by Coverity.
Coverity ID 13265: Missing break in switch.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_pf.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e
Fix issue reported by Coverity.
Coverity ID 119267: Dereference before null check.
Fixes: 8e109464c022 ("i40e: allow vector Rx and Tx usage")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_rxtx.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/d
Fix issue reported by Coverity.
Coverity ID 13298: Dereference before null check.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_pf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i
13265: Missing break in switch.
Fixes: 8e109464c022 ("i40e: allow vector Rx and Tx usage")
Fixes: a778a1fa2e4e ("i40e: set up and initialize flow director")
Fixes: a778a1fa2e4e ("i40e: set up and initialize flow director")
Fixes: 4861cde46116 ("i40e: new poll mode d
778a1fa2e4e ("i40e: set up and initialize flow director")
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_pf.c | 5 +++--
drivers/net/i40e/i40e_rxtx.c | 10 +++---
2 files changed, 10 insertions(+), 5 deletions(-)
v3
It fixes the issue reported by Coverity of 'Missing break in
switch', by deleting 'case I40E_VIRTCHNL_OP_FCOE', as it is
not necessary at all.
Coverity ID 13265: Missing break in switch.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Heli
necessary at all, or move null checks before where uses it.
v3:
- Split the code changes into different patches, according
to the issue type.
- Reworded the commit logs.
v2:
- Combined all the patches into a single one, as suggested.
- Remove checking rxq, as it shouldn't be NULL at any
support newly added X722 VF
device IDs.
- Used small letter in all commit log titles.
Helin Zhang (30):
i40e/base: use explicit cast from u16 to u8
i40e/base: acquire NVM, before issuing an AQ read nvm command
i40e/base: add hw flag for SRCTL access using AQ for X722
i40e/base: add
Current implementation generates compilation warnings.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_lan_hmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_lan_hmc.c
b/drivers/net/i40e/base/i40e_lan_hmc.c
index 6511767..2260648
It needs to acquire the NVM before issuing an AQ read to the
X722 NVM otherwise it will get EBUSY from the FW. Also release
when done.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_nvm.c | 35 +--
1 file changed, 29 insertions(+), 6 deletions(-)
diff
Instead of doing the MAC check, use a flag that gets set per
MAC. This way there are less chances of user error and it
can enable multiple MACs with the capability in a single place
rather than cluttering the code with MAC checks.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base
t can be called from the paths that need the bulk access.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_nvm.c | 109 ++---
drivers/net/i40e/base/i40e_prototype.h | 8 ++-
2 files changed, 92 insertions(+), 25 deletions(-)
diff --git a/drivers/net
d-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_adminq.c
b/drivers/net/i40e/base/i40e_adminq.c
index 998582c..e1a162e 100644
--- a/drivers/net/i40e/base/i40e_adminq.c
+++ b/drivers/net/i40e
In one obscure corner case, it was possible to clear the NVM update
wait flag when no update_done message was actually received. This
patch cleans the event descriptor before use, and moves the opcode
check to where it won't get done if there was no event to clean.
Signed-off-by: Helin
Add new Device ID's for backplane and QSFP+ adapters, and delete
deprecated one for backplane.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 12 ++--
drivers/net/i40e/base/i40e_devids.h | 10 +-
2 files changed, 19 insertions(+), 3 deletions(-)
diff
The recently added opcodes should be available only with X722
SUPPORT, so move them into the #ifdef, and reorder these to be
in numerical order with the rest of the opcodes. Several structs
that were added are unnecessary, so they are removed here.
Signed-off-by: Helin Zhang
---
drivers/net
The device capabilities were defined in two places, and neither had
all the definitions. It really belongs with the AQ API definition,
so this patch removes the other set of definitions and fills out the
missing item.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1
calling
get phy capability function because that bit is not set when
device is in PHY interaction mode.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b
XL710/X710 devices requires FW version checks to properly handle
DCB configurations from the FW while other devices (e.g. X722)
do not, so limit these checks to XL710/X710 only.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_dcb.c | 34 +-
1 file
This patch implements necessary functions related to port
mirroring features such as add/delete mirror rule, function
to set promiscuous VLAN mode for VSI if mirror rule_type is
"VLAN Mirroring".
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.
The standard way to check if the AQ is enabled is to look at the
count field. So it should only set this field after it has
successfully allocated memory. To do otherwise is to incite
panic among the populace.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 4 ++--
1 file
functionality exists.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 3 ++-
drivers/net/i40e/base/i40e_common.c | 11 ++-
drivers/net/i40e/base/i40e_prototype.h | 4 ++--
drivers/net/i40e/i40e_ethdev.c | 2 +-
4 files changed, 11 insertions(+), 9
Add the support code for calling the AdminQ API call
aq_set_switch_config.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 12
drivers/net/i40e/base/i40e_common.c | 28
drivers/net/i40e/base/i40e_prototype.h | 3 +++
3
Add the use of the new Shared MAC filter bit for multicast
and broadcast filters in order to make better use of the
filters available from the device. The FW folks have assured
that setting this bit on older FW will have no affect, so it
doesn't need a version check.
Signed-off-by: Helin
This patch adds functions to blink led on devices using
Coppervale PHY since MAC registers used in other designs
do not work in this device configuration.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c| 329 +
drivers/net/i40e/base
n MFP which is similar
to defport.
An API check is not required, since this bit is reserved for FW API
version < 1.5.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1 +
drivers/net/i40e/base/i40e_common.c | 9 -
2 files changed, 9 insertions(+), 1
When linking with particular PHY types (ex: copper PHY), the amount of
time it takes for the GLGEN_RSTAT_DEVSTATE to be set increases greatly,
which can lead to a timeout and failure to load the driver.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 6 +++---
1 file
It adds coding style fixes.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index 9a0b787..e94f726 100644
--- a
RX control register read/write functions are added, as directly
read/write may fail when under stress small traffic. After the
adminq is ready, all rx control registers should be read/written
by dedicated functions.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 16
X722 supports Expanded version of TCP, UDP PCTYPES for RSS.
Add a Virtchnl offload to support this.
Without this patch VF drivers will not be able to support
the correct PCTYPES for X722 and UDP flows will not fan out.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_virtchnl.h | 1
This patch adds 7 new register definitions for programming the
parser, flow director and RSS blocks in the HW.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_register.h | 48 +++
drivers/net/i40e/i40e_ethdev.c| 11 ++--
2 files changed, 50
It adds the new AQ command and struct for managing a
thermal sensor.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h
b/drivers/net/i40e/base/i40e_adminq_cmd.h
Several structures and macros are added or updated, such
as 'struct i40e_aqc_get_link_status',
'struct i40e_aqc_run_phy_activity' and
'struct i40e_aqc_lldp_set_local_mib_resp'.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 45
It adds base driver release information such as release date,
for better tracking in the future.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/Makefile b/drivers/net/i40e/Makefile
index 033ee4a..6dd6eaa 100644
--- a
It adds several new device IDs, and also removed one which is
not used at all.
Signed-off-by: Helin Zhang
---
doc/guides/rel_notes/release_2_3.rst| 91 +
drivers/net/i40e/i40e_ethdev.h | 2 +-
drivers/net/i40e/i40e_rxtx.c
As required, rx control registers have to be read/written by
rx control functions, otherwise if may fail to read/write
when under stress small traffic.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c| 66 ---
drivers/net/i40e
It removes the i40evf_set_mac_type() defined in PMD, and reuses
i40e_set_mac_type() defined in base driver.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 22 +-
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/drivers/net/i40e
When updating a VSI, save off the number of allocated and
unallocated VSIs as we do when adding a VSI.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base
.rst should be moved into
release_16_04.rst.
v2:
- Used i40e_set_mac_type() in base driver to replace the similar
in PMD source files, in order to support newly added X722 VF
device IDs.
- Used small letter in all commit log titles.
Helin Zhang (30):
i40e/base: use explicit cast from
Current implementation generates compilation warnings.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_lan_hmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_lan_hmc.c
b/drivers/net/i40e/base/i40e_lan_hmc.c
index 6511767..2260648
Instead of doing the MAC check, use a flag that gets set per
MAC. This way there are less chances of user error and it
can enable multiple MACs with the capability in a single place
rather than cluttering the code with MAC checks.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base
t can be called from the paths that need the bulk access.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_nvm.c | 109 ++---
drivers/net/i40e/base/i40e_prototype.h | 8 ++-
2 files changed, 92 insertions(+), 25 deletions(-)
diff --git a/drivers/net
It needs to acquire the NVM before issuing an AQ read to the
X722 NVM otherwise it will get EBUSY from the FW. Also release
when done.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_nvm.c | 35 +--
1 file changed, 29 insertions(+), 6 deletions(-)
diff
XL710/X710 devices requires FW version checks to properly handle
DCB configurations from the FW while other devices (e.g. X722)
do not, so limit these checks to XL710/X710 only.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_dcb.c | 34 +-
1 file
d-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_adminq.c
b/drivers/net/i40e/base/i40e_adminq.c
index 998582c..e1a162e 100644
--- a/drivers/net/i40e/base/i40e_adminq.c
+++ b/drivers/net/i40e
The standard way to check if the AQ is enabled is to look at the
count field. So it should only set this field after it has
successfully allocated memory. To do otherwise is to incite
panic among the populace.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 4 ++--
1 file
In one obscure corner case, it was possible to clear the NVM update
wait flag when no update_done message was actually received. This
patch cleans the event descriptor before use, and moves the opcode
check to where it won't get done if there was no event to clean.
Signed-off-by: Helin
Add new Device ID's for backplane and QSFP+ adapters, and delete
deprecated one for backplane.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 12 ++--
drivers/net/i40e/base/i40e_devids.h | 10 +-
2 files changed, 19 insertions(+), 3 deletions(-)
diff
The recently added opcodes should be available only with X722
SUPPORT, so move them into the #ifdef, and reorder these to be
in numerical order with the rest of the opcodes. Several structs
that were added are unnecessary, so they are removed here.
Signed-off-by: Helin Zhang
---
drivers/net
The device capabilities were defined in two places, and neither had
all the definitions. It really belongs with the AQ API definition,
so this patch removes the other set of definitions and fills out the
missing item.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1
calling
get phy capability function because that bit is not set when
device is in PHY interaction mode.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b
Add the use of the new Shared MAC filter bit for multicast
and broadcast filters in order to make better use of the
filters available from the device. The FW folks have assured
that setting this bit on older FW will have no affect, so it
doesn't need a version check.
Signed-off-by: Helin
This patch implements necessary functions related to port
mirroring features such as add/delete mirror rule, function
to set promiscuous VLAN mode for VSI if mirror rule_type is
"VLAN Mirroring".
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.
functionality exists.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 3 ++-
drivers/net/i40e/base/i40e_common.c | 11 ++-
drivers/net/i40e/base/i40e_prototype.h | 4 ++--
drivers/net/i40e/i40e_ethdev.c | 2 +-
4 files changed, 11 insertions(+), 9
Add the support code for calling the AdminQ API call
aq_set_switch_config.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 12
drivers/net/i40e/base/i40e_common.c | 28
drivers/net/i40e/base/i40e_prototype.h | 3 +++
3
This patch adds functions to blink led on devices using
Coppervale PHY since MAC registers used in other designs
do not work in this device configuration.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c| 329 +
drivers/net/i40e/base
n MFP which is similar
to defport.
An API check is not required, since this bit is reserved for FW API
version < 1.5.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1 +
drivers/net/i40e/base/i40e_common.c | 9 -
2 files changed, 9 insertions(+), 1
When linking with particular PHY types (ex: copper PHY), the amount of
time it takes for the GLGEN_RSTAT_DEVSTATE to be set increases greatly,
which can lead to a timeout and failure to load the driver.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 6 +++---
1 file
When updating a VSI, save off the number of allocated and
unallocated VSIs as we do when adding a VSI.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base
RX control register read/write functions are added, as directly
read/write may fail when under stress small traffic. After the
adminq is ready, all rx control registers should be read/written
by dedicated functions.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 16
This patch adds 7 new register definitions for programming the
parser, flow director and RSS blocks in the HW.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_register.h | 48 +++
drivers/net/i40e/i40e_ethdev.c| 11 ++--
2 files changed, 50
X722 supports Expanded version of TCP, UDP PCTYPES for RSS.
Add a Virtchnl offload to support this.
Without this patch VF drivers will not be able to support
the correct PCTYPES for X722 and UDP flows will not fan out.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_virtchnl.h | 1
It adds the new AQ command and struct for managing a
thermal sensor.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h
b/drivers/net/i40e/base/i40e_adminq_cmd.h
Several structures and macros are added or updated, such
as 'struct i40e_aqc_get_link_status',
'struct i40e_aqc_run_phy_activity' and
'struct i40e_aqc_lldp_set_local_mib_resp'.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 45
It adds base driver release information such as release date,
for better tracking in the future.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/Makefile b/drivers/net/i40e/Makefile
index 033ee4a..6dd6eaa 100644
--- a
It adds coding style fixes.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index 9a0b787..e94f726 100644
--- a
As required, rx control registers have to be read/written by
rx control functions, otherwise if may fail to read/write
when under stress small traffic.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c| 66 ---
drivers/net/i40e
It adds several new device IDs, and also removed one which is
not used at all.
Signed-off-by: Helin Zhang
---
doc/guides/rel_notes/release_16_04.rst | 15 +++
drivers/net/i40e/i40e_ethdev.h | 2 +-
drivers/net/i40e/i40e_rxtx.c| 8
It removes the i40evf_set_mac_type() defined in PMD, and reuses
i40e_set_mac_type() defined in base driver.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 22 +-
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/drivers/net/i40e
This is the i40e base driver update, which includes bug fixes,
enhancements, refactoring, and new device enabling. Below are
the details.
v2:
- reworded commit titles and logs.
Helin Zhang (15):
i40e/base: remove HMC AQ APIs
i40e/base: move field of NVM update status info
i40e/base
HMC AQ APIs were removed from the latest datasheet, and
hence remove its implementations and relevant.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 4 ---
drivers/net/i40e/base/i40e_adminq_cmd.h | 25 --
drivers/net/i40e/base/i40e_common.c | 61
It centralizes all NVM update status info into a single
structure, by moving nvm_release_on_done from struct
i40e_adminq_info to struct i40e_hw, for better management.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 6 +++---
drivers/net/i40e/base/i40e_adminq.h | 1
It refactors the NVM update command processing, with adding
a new element of nvm_wait_opcode in struct i40e_hw to indicate
the opcode it waits on, and putting the wait event check into
a function. In addition, that element needs to be initialized
or updated properly.
Signed-off-by: Helin Zhang
The hardware doesn't layout the Geneve VNI (Virtual Network
Identifier) quite the same as the VxLAN VNI, so it needs to
adjust it before sending through the AQ commands as the
workaround.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c
It trim the source code, with limiting pieces of code for
PF or VF driver only, code style fixes, and annotation
rewording.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 52 +++--
drivers/net/i40e/base/i40e_adminq.h | 4 +--
drivers
It exposes the configuration of mirroring or not egress
traffic to VSIs in promiscuous mode, as latest firmware
supports that from API version 1.5.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c| 9 ++---
drivers/net/i40e/base/i40e_prototype.h | 4 ++--
drivers/net
It removes the problematic mirror rule ID check. It
returns an error if the mirror rule ID is 0, which is
a valid value.
Fixes: 0bf2dbbe077c ("i40e/base: support mirroring rules")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 5 +
1 file changed, 1 inser
It adds new device IDs and PHY types.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 4
drivers/net/i40e/base/i40e_common.c | 4
drivers/net/i40e/base/i40e_devids.h | 4
lib/librte_eal/common/include/rte_pci_dev_ids.h | 8
It corrects the number of MSIX vector in a debug info.
Fixes: 889bc9f0cd3a ("i40e/base: unify the capability function")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_c
It fixes the debug output messages.
Fixes: f388b435bc33 ("i40e/base: clean adminq debug")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_common.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net
It adds more device capabilities for NVM management.
- if update is available
- if security check is needed
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1 +
drivers/net/i40e/base/i40e_common.c | 6 ++
drivers/net/i40e/base/i40e_type.h | 5 +
3
It increases the supported AQ API version to 1.5
for X722.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index 7ed3048..bc68b47 100644
It adds input set mask definitions for RSS, flow director
and flex bytes.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_type.h | 33 +
1 file changed, 33 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base
It add opcodes and structures to support RSS configuration
by PF driver on behalf of the VF drivers.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/base/i40e_virtchnl.h | 45 ---
1 file changed, 42 insertions(+), 3 deletions(-)
diff --git a/drivers/net/i40e
It adds a flag, which can be used to tell the firmware to
disable the link on all ports.
Signed-off-by: Helin Zhang
---
doc/guides/rel_notes/release_16_07.rst | 4
drivers/net/i40e/Makefile | 2 +-
drivers/net/i40e/base/i40e_adminq_cmd.h | 3 +++
3 files changed, 8
icast.
v3 changes:
* update documentation (Testpmd Application User Guide).
Helin Zhang (7):
ixgbe: remove a discarded source line
mbuf: use the reserved 16 bits for double vlan
i40e: support double vlan stripping and insertion
i40evf: add supported offload capability flags
app/testpmd
Little endian to CPU order conversion had been added for reading
vlan tag from RX descriptor, while its original source line was
forgotten to delete. That's a discarded source line and should be
deleted.
Fixes: 23fcffe8ffac ("ixgbe: fix id and hash with flow director")
Signed-off-
Use the reserved 16 bits in rte_mbuf structure for the outer vlan,
also add QinQ offloading flags for both RX and TX sides.
Signed-off-by: Helin Zhang
---
lib/librte_mbuf/rte_mbuf.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
v2 changes:
* Fixed a typo.
diff --git a/lib
in mbufs, to trigger the hardware insertion of
double vlan tags for each packets sent out.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c| 52 +
drivers/net/i40e/i40e_ethdev_vf.c | 6 +++
drivers/net/i40e/i40e_rxtx.c | 81
801 - 900 of 950 matches
Mail list logo