New function of 'ixgbevf_dev_info_get' has been added for
VF ops of 'dev_infos_get', as more and more information
are different between PF and VF.
v2 changes:
* Added new function for ops of 'dev_infos_get' specifically
for ixgbe VF.
Signed-off-by: Helin Z
Add support of setting hash lookup table size according to the
hardawre capability.
Signed-off-by: Helin Zhang
Reviewed-by: Jijiang Liu
Reviewed-by: Cunming Liang
Reviewed-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 14 +-
lib/librte_pmd_i40e/i40e_ethdev.h | 1 +
2
Add support of getting redirection table size in both PF
and VF.
v2 changes:
* Put getting reta size of both i40e PF and VF into a single
patch.
Signed-off-by: Helin Zhang
Reviewed-by: Jijiang Liu
Reviewed-by: Cunming Liang
Reviewed-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c
Add support of updating/querying redirection table in VF.
v2 changes:
* Add support of updating/querying i40e reta of VF.
Signed-off-by: Helin Zhang
Reviewed-by: Jijiang Liu
Reviewed-by: Cunming Liang
Reviewed-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev_vf.c | 89
As multiple sizes of redirection table have been supported,
the commands of updating/querying reta need to be reworked
as well. In addition, the reta size can be queried by the
existing command of 'show port info <>'.
Signed-off-by: Helin Zhang
Reviewed-by: Jijiang Liu
Revi
As ethdev has been changed to support multiple sizes of
reta, updating/querying reta should be reworked to support
that change.
v2 changes:
* Put rework of updating/querying igb reta to a single patch.
Signed-off-by: Helin Zhang
Reviewed-by: Jijiang Liu
Reviewed-by: Cunming Liang
Reviewed-by
As ethdev has been changed to support multiple sizes of reta,
updating/querying reta should be reworked to support that
change.
v2 changes:
* Put rework of updating/querying ixgbe reta to a single patch.
Signed-off-by: Helin Zhang
Reviewed-by: Jijiang Liu
Reviewed-by: Cunming Liang
Reviewed
ve been reimplemented with one
more parameter of redirection table size.
v2 changes:
* Put changes for supporting multiple sizes of reta in
ethdev into a single patch.
Signed-off-by: Helin Zhang
Reviewed-by: Jijiang Liu
Reviewed-by: Cunming Liang
Reviewed-by: Jingjing Wu
---
lib/l
As ethdev has been changed to support multiple sizes of reta,
updating/querying reta should be reworked to support that change.
v2 changes:
* Put rework of updating/querying i40e reta to a single patch.
Signed-off-by: Helin Zhang
Reviewed-by: Jijiang Liu
Reviewed-by: Cunming Liang
Reviewed-by
Add more annotations about packet classification type.
v3 changes:
* Remove renamings of RSS 'SHIFT's.
* Add more annotations for RSS 'SHIFT's.
Signed-off-by: Helin Zhang
Acked-by: Jingjing Wu
---
lib/librte_ether/rte_ethdev.h | 5 -
1 file changed, 4 insertions(+),
een renamed.
Signed-off-by: Helin Zhang
Acked-by: Jingjing Wu
---
lib/librte_ether/Makefile | 1 +
lib/librte_ether/rte_eth_ctrl.h | 80 +
lib/librte_ether/rte_ethdev.c | 32 +
lib/librte_ether/rte_ethdev.h | 48 ++
-designed filter control API, filter types,
and operations.
Signed-off-by: Helin Zhang
Acked-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 402 ++
1 file changed, 402 insertions(+)
diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c
b/lib
function.
* Added initialization of register 'PFQF_CTL_0'.
Signed-off-by: Helin Zhang
Acked-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 78 +++
1 file changed, 78 insertions(+)
diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c
b/lib/librt
nction during port init.
* Used constant random hash keys in i40e PF.
* renamed the commands in testpmd based on the redesigned filter control API.
Helin Zhang (7):
ethdev: add more annotations
ethdev: add interfaces and relevant for filter control
ethdev: add structures and enum for hash f
names.
* Used the re-designed filter control APIs and structures.
Signed-off-by: Helin Zhang
Acked-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 565 +
1 file changed, 565 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
: Helin Zhang
Acked-by: Jingjing Wu
---
lib/librte_ether/rte_eth_ctrl.h | 74 +
1 file changed, 74 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h
index aaea075..10197fc 100644
--- a/lib/librte_ether/rte_eth_ctrl.h
To be simpler, and remove the race condition, it uses prepared
constant random hash keys to replace runtime generating the
hash keys.
v3 changes:
* Use prepared random hash keys.
Signed-off-by: Helin Zhang
Acked-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 12 ++--
1 file
The following changes since commit f14db469be8e6ac625353f577ad8fa0eec489e54:
version: 2.0.0-rc3 (2015-03-31 03:34:24 +0200)
are available in the git repository at:
helin at dpdk.org:dpdk-i40e-next.git master
for you to fetch changes up to 6e278442b8669fc442c4a9b4b7d14b61cd579e39:
i40e: f
Added notes for i40e firmware version. As base driver to suppor the
latest version of firmware (FVL3E) hasn't been integrated, currently
the validated version of firmware is 4.2.6.
Signed-off-by: Helin Zhang
---
doc/guides/linux_gsg/enable_func.rst | 1 +
1 file changed, 1 insertion(+)
as follows.
Helin Zhang (18):
i40e: copyright update
i40e: disable setting phy configuration
i40e: adjustment of register definitions and relevant
i40e: support of CEE DCBX on recent firmware versions
i40e: rework of 'i40e_hmc_get_object_va'
i40e: support of Fortpark device IDs
Copyright is updated.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/Makefile | 2 +-
lib/librte_pmd_i40e/i40e/i40e_adminq.c | 2 +-
lib/librte_pmd_i40e/i40e/i40e_adminq.h | 2 +-
lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h | 2 +-
lib/librte_pmd_i40e/i40e/i40e_alloc.h
moved when a formal fix is ready later.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_ethdev.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c
b/lib/librte_pmd_i40e/i40e_ethdev.c
index df8686f..9fc2ee7 100644
--- a/lib/librte_pmd_i40e/i40e_eth
To simplify the usage of invoking 'i40e_hmc_get_object_va', input
parameters of it were reworked. In addition, minor code style fixes
were added as well.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_lan_hmc.c | 32 +---
lib/librte_pmd
To be consistent with original base driver, the variable name of
'err' should be renamed to 'perrno'.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_nvm.c | 118 ++--
1 file changed, 59 insertions(+), 59 deletions(
NVM read on Fortpark should be done via AQ command, while others
via SRCTL register. So it should check the MAC type first, and then
use different functions to do NVM read. Other minor changes were
also added for the enhancements of NVM write, checksum calculation.
Signed-off-by: Helin Zhang
To be more extendable, 'i40e_is_vf()' was introduced to check if
the MAC type is VF. Also other minor enhancements were added for
'i40e_init_adminq()'.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq.c | 31 ++-
lib/
Getting and checking firmware build number were added, as firmware
supports that.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq.c| 1 +
lib/librte_pmd_i40e/i40e/i40e_adminq.h| 5 +++--
lib/librte_pmd_i40e/i40e/i40e_common.c| 4
lib/librte_pmd_i40e/i40e
.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/Makefile | 2 +-
lib/librte_pmd_i40e/i40e/i40e_adminq.c| 14 +++---
lib/librte_pmd_i40e/i40e/i40e_common.c| 6 --
lib/librte_pmd_i40e/i40e/i40e_prototype.h | 4 ++--
4 files changed, 14 insertions(+), 12 deletions
7;i40e_led_get()'
and 'i40e_led_set()'. 'i40e_update_link_info()' was removed and
replaced by 'i40e_aq_get_link_info()' directly.
'i40e_aq_debug_read_register()' was added for reading internal
registers for debug purpose.
Signed-off-by: Helin Zhang
---
lib
As base driver provides 'i40e_aq_debug_read_register()', the same
functional interface of 'i40e_debug_read_register()' can be replaced.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_ethdev.c | 22 ++
1 file changed, 2 insertions(+), 20 deleti
nted.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h | 75 -
lib/librte_pmd_i40e/i40e/i40e_common.c | 58 +++
lib/librte_pmd_i40e/i40e/i40e_dcb.c| 261 -
lib/librte_pmd_i40e/i40e/i40e_dcb.h| 20 +++
lib/
Support of Fortpark device IDs and mac types which includes FPGA
were added.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 17 +
lib/librte_pmd_i40e/i40e/i40e_type.h | 16
2 files changed, 33 insertions(+)
diff --git a/lib
More register definitions and their relevant masks are added
publically. Also few useless macros are deleted.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_register.h | 1981 +-
lib/librte_pmd_i40e/i40e_ethdev.c|3 -
2 files changed, 1955
New interfaces were added for AQ commands. They are as follows.
- i40e_aq_get_rss_lut()
- i40e_aq_set_rss_lut()
- i40e_aq_get_rss_key()
- i40e_aq_set_rss_key()
- i40e_aq_read_nvm_config()
- i40e_aq_write_nvm_config()
- i40e_aq_set_lldp_mib()
- i40e_read_pba_string()
Signed-off-by: Helin Zhang
To support Fortpark FPGA devices, all device IDs and MAC types of
FPGA were added. Also, special configurations and processings for
FPGA were added.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq.c| 11 +++
lib/librte_pmd_i40e/i40e/i40e_common.c| 123
Added three virtual channel operations, and assigned values to
each of them. To be consistent with base driver releases, virtual
channel operation of 'I40E_VIRTCHNL_OP_GET_ADDNL_SOL_CONFIG' and
its relevant structure were added.
Signed-off-by: Helin Zhang
---
lib/librte_pmd
'I40E_CHECK_STRUCT_LEN' and 'I40E_CHECK_CMD_LENGTH' can be used to
check the length validity of structures and commands at compile
time. Those checks were added in i40e_adminq_cmd.h which can report
issues as early as possible.
Signed-off-by: Helin Zhang
---
lib/
.
- 'hw_semaphore_wait' was removed from 'struct i40e_nvm_info', as
it was useless.
- 'enum i40e_rx_desc_status_bits' was reworked for future use.
- 'struct i40e_veb_tc_stats' was newly defined for future use.
- More macros were added for future
It wouldn't check the configured maximum packet length, and then
the scattered receiving function wouldn't be selected at all even
if it wants to receive a jumbo frame. The fix is to select the
correct RX function according to the configurations.
Signed-off-by: Helin Zhang
Also reading the register of I40E_GLPRT_TDPC is deleted as its
definition is deleted.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_register.h | 52
lib/librte_pmd_i40e/i40e_ethdev.c| 3 --
2 files changed, 26 insertions(+), 29 deletions
llows.
v2 changes:
Removed anything about Fortpark or FPGA as they shouldn't be there.
Removed anything specifically for Solaris as they are not needed.
Split patches into smaller per fixes as suggested.
Helin Zhang (33):
i40e: copyright update
i40e: disable setting of phy confi
.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/Makefile | 2 +-
lib/librte_pmd_i40e/i40e/i40e_adminq.c| 20 ++--
lib/librte_pmd_i40e/i40e/i40e_common.c| 6 --
lib/librte_pmd_i40e/i40e/i40e_prototype.h | 4 ++--
4 files changed, 17 insertions(+), 15
To support different hardware, shadow RAM read should be done via
SRCTL register or AQ command, and shadow RAM write should be done
via AQ command only.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_nvm.c | 196 ++--
1 file changed, 190 insertions
The state transitions after an error were not managed well, so
these changes get us back to the INIT state or don't transit
out of the INIT state after most errors.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_nvm.c | 32 ++--
1 file change
This patch is useful for future expansion when new VF MAC types get
added. It also helps with cleaning up VF driver flow.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq.c | 7 ++-
lib/librte_pmd_i40e/i40e/i40e_type.h | 5 +
2 files changed, 11 insertions(+), 1
The timeout of ASQ command is enlarged from 100 ms to 250 ms to
wait longer time for the response. nvm_busy is not needed anymore.
Also nvm_release_on_done and nvmupd_state will be set during
adminq init.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq.c | 21
moved when a formal fix is ready later.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_ethdev.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c
b/lib/librte_pmd_i40e/i40e_ethdev.c
index 40c90d7..49d1067 100644
--- a/lib/librte_pmd_i40e/i40e_eth
To be consistent with the original base driver, the variable name
of 'err' should be renamed to 'perrno'.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_nvm.c | 118 ++--
1 file changed, 59 insertions(+), 59 deletions(
nted.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h | 75 -
lib/librte_pmd_i40e/i40e/i40e_common.c | 58 +++
lib/librte_pmd_i40e/i40e/i40e_dcb.c| 261 -
lib/librte_pmd_i40e/i40e/i40e_dcb.h| 20 +++
lib/
Copyright is updated.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/Makefile | 2 +-
lib/librte_pmd_i40e/i40e/i40e_adminq.c | 2 +-
lib/librte_pmd_i40e/i40e/i40e_adminq.h | 2 +-
lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h | 2 +-
lib/librte_pmd_i40e/i40e/i40e_alloc.h
Decoding the AQ return code is great except when the AQ send timed
out and there's no return code set. This changes the handy decoder
interface to help catch and properly report the condition as an
useful error number rather than returning a misleading '0'.
Signed-off-by: Helin
As base driver provides 'i40e_aq_debug_read_register()', the same
functional interface of 'i40e_debug_read_register()' can be replaced.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c| 35 +++
lib/librte_pmd_i40e/i40e/i
To simplify the usage of invoking 'i40e_hmc_get_object_va', input
parameters of it were reworked. In addition, minor code style fixes
were added as well.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_lan_hmc.c | 31 +--
1 file changed, 13
Several structures as follows were modified for future use.
- struct i40e_link_status
- struct i40e_nvm_info
- struct i40e_veb_tc_stats
In addition, shadow RAM macros and enum were modified for future
use as well.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_type.h | 28
Since the FW build number is available in the AQ response, save it
off for future use.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq.c| 1 +
lib/librte_pmd_i40e/i40e/i40e_adminq.h| 1 +
lib/librte_pmd_i40e/i40e/i40e_common.c| 4
lib/librte_pmd_i40e/i40e
As it is requried to blink the LEDs only, it should ignore the
activity LEDs. Also a fix is added to clear the GPIO blink field
specifically.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 37 +++---
1 file changed, 34 insertions(+), 3
: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h | 17 ++-
lib/librte_pmd_i40e/i40e/i40e_common.c | 193 +++--
lib/librte_pmd_i40e/i40e/i40e_prototype.h | 17 ++-
lib/librte_pmd_i40e/i40e/i40e_type.h | 1 +
4 files changed, 208 insertions(+), 20
he current partition_id. In addition,
FCOE is disabled by default, as it was pushed out from the firmware.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 34 ++
lib/librte_pmd_i40e/i40e/i40e_type.h | 5 +
2 files changed, 39 insertion
The NVM image version has useful data but it is a per image version,
and every image can have a different one. While for the dev starter
version, all the images for release will have the same version. So
it would be better to use dev starter version number.
Signed-off-by: Helin Zhang
---
lib
A sparse complaint in i40e_debug_aq in a funky buffer write goes
away by straightening out the code out to something less convoluted.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 56 ++
1 file changed, 30 insertions(+), 26 deletions
Add parsing and reporting of iSCSI capability for a given device
or function.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 5 +
lib/librte_pmd_i40e/i40e/i40e_type.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/lib/librte_pmd_i40e/i40e/i40e_common.c
b
In some circumstances, a multi-write transaction takes longer than
the default 3 minutes timeout on the write semaphore. If the write
failed with an EBUSY status, this is likely the problem. So here
it tries to reacquire the semaphore and then retry the write.
Signed-off-by: Helin Zhang
---
lib
Virtual channel operations of I40E_VIRTCHNL_OP_EVENT and
I40E_VIRTCHNL_OP_CONFIG_RSS are added for future use.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_virtchnl.h | 41
1 file changed, 20 insertions(+), 21 deletions(-)
v2 changes:
Removed
Only poll on the NVM semaphore if there's time left on a previous
reservation.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_nvm.c | 35 +--
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/lib/librte_pmd_i40e/i40e/i40e_nvm.c
The data buffer for i40e_calc_nvm_checksum() is too big, so move
it off and allocate separately. In addition, use
i40e_read_nvm_buffer() to get the whole shadow RAM, together with
minor enhancements.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_nvm.c | 49
To support better debug information printing, all DEBUGOUT() are
replaced by i40e_debug(). In addition, the NVM update state strings
are added in debug information.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/Makefile| 1 +
lib/librte_pmd_i40e/i40e/i40e_nvm.c | 77
i40e_aqc_opc_oem_ocbb_initialize
In addition, sturcture and command length check at compile time
are added for each admin queue opcodes in order to report any
potential issues as early as possible.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h | 89
As i40e_update_link_info() is just a simple wrapper of AQ command
interface of i40e_aq_get_link_info(), the AQ command interface
should be used directly.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c| 34 ++-
lib/librte_pmd_i40e/i40e
Add the 10G and 40G AOC phy types to the case statement in
get_media_type so that the correct information gets reported back
to the user.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_pmd_i40e/i40e
to set up the
HMC and other structures. The PF_FUNC_RID register has the real
bus/device/function information as configured by the BIOS, so use
that for a better number.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 23 +++
1 file changed, 11
it to I40E_PHY_TYPE_10GBASE_SFPP_CU.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib/librte_pmd_i40e/i40e/i40e_common.c
b/lib/librte_pmd_i40e/i40e/i40e_common.c
index e728e8e..d6cfde8 100644
--- a/lib/librte_pmd_i40e/i40e/i40e_co
When sending driver version to FW, FLAG_SI is not needed as it is
done as part of i40e_fill_default_descriptor function call, and it
should be replaced by FLAG_BUF and FLAG_RD.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 2 +-
1 file changed, 1 insertion(+), 1
Make sure the sizeof() calls are taking the size of the actual
struct that we care about. By using the pointer variable, it will
always get the right struct size, even if the variable type
changes sometime in the future.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e/i40e_common.c | 44
In the KNI unit test, if all test cases passed, it should
return with 0. This patch fixes the issue of returning
wrong value.
Fixes: fc27caaafd4b ("kni: remove deprecated functions")
Signed-off-by: Helin Zhang
---
app/test/test_kni.c | 2 +-
1 file changed, 1 insertion(+), 1 deletio
It corrects the input set values to be set for vlan or
double vlan.
Fixes: 98f055707685 ("i40e: configure input fields for RSS or flow director")
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/d
Add a known issue to warn that PF reset event/request is not
handled by any VF drivers till 2.2, and which should be fixed
in the future.
Signed-off-by: Helin Zhang
---
doc/guides/rel_notes/release_2_2.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2
t operations are removed as they are not neccessary for all devices.
In addition, documentations are updated at the same time.
Helin Zhang (3):
i40e: enable extended tag
eal: remove pci config of extended tag
igb_uio: remove sys files for setting pci config space
config/common_linuxapp
Remove pci configuration of 'extended tag' and 'max read request
size', as they are not required by all devices and it lets PMD to
configure them if neccessary.
In addition, 'pci_config_space_set()' is deprecated.
Signed-off-by: Helin Zhang
---
config/common_
PCIe feature of 'Extended Tag' is important for 40G performance.
It adds its enabling during each port initialization, to ensure
the high performance.
Signed-off-by: Helin Zhang
---
doc/guides/rel_notes/release_2_3.rst | 5 +++
drivers/net/i40e/i40e_ethdev.c
Sys files of 'extended_tag' and 'max_read_request_size' are
useless, as nobody will use them for setting pci config space.
Signed-off-by: Helin Zhang
---
doc/guides/linux_gsg/enable_func.rst | 22 --
doc/guides/rel_notes/deprecation.rst | 3 +
doc/guides/r
exposed registers.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index bf6220d..149a31e 100644
--- a/drivers/net/i40e
types and L4 types. All PMDs should translate the offloaded packet types into
this 4 fields of information, for user applications.
As the changes affect all PMDs, mbuf and ethdev library, comments and ideas
are welcome!
Helin Zhang (17):
mbuf: add definitions of unified packet types
e1000
inner L3 type fields, and can be stored in 16 bits mbuf
field of 'packet_type'.
Signed-off-by: Helin Zhang
Signed-off-by: Cunming Liang
Signed-off-by: Jijiang Liu
---
lib/librte_mbuf/rte_mbuf.h | 68 ++
1 file changed, 68 insertions(+)
diff -
To unify packet types among all PMDs, bit masks of packet type for
ol_flags are replaced by unified packet type.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_e1000/igb_rxtx.c | 95 ++---
1 file changed, 80 insertions(+), 15 deletions(-)
diff --git a/lib
To unify packet types among all PMDs, bit masks of packet type for
ol_flags are replaced by unified packet type.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 141 +-
1 file changed, 107 insertions(+), 34 deletions(-)
diff --git a/lib
To unify packet types among all PMDs, bit masks of packet type for
ol_flags are replaced by unified packet type for Vector PMD.
Signed-off-by: Cunming Liang
Signed-off-by: Helin Zhang
---
lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 39 +++
1 file changed, 21
To unify packet types among all PMDs, bit masks of packet type for
ol_flags are replaced by unified packet type.
Signed-off-by: Helin Zhang
Signed-off-by: Jijiang Liu
---
lib/librte_pmd_i40e/i40e_rxtx.c | 778 ++--
1 file changed, 504 insertions(+), 274
To unify packet types among all PMDs, bit masks of packet type for
ol_flags are replaced by unified packet type.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_enic/enic_main.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/lib/librte_pmd_enic/enic_main.c b
To unify packet types among all PMDs, bit masks of packet type for
ol_flags are replaced by unified packet type.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_bond/rte_eth_bond_pmd.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/librte_pmd_bond
To unify packet types among all PMDs, bit masks and relevant macros
of packet type for ol_flags are replaced by unified packet type and
relevant macros.
Signed-off-by: Helin Zhang
---
app/test-pmd/csumonly.c | 6 +++---
app/test-pmd/rxonly.c | 9 +++--
2 files changed, 6 insertions(+), 9
To unify packet types among all PMDs, bit masks of packet type for
ol_flags are replaced by unified packet type.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c
b
To unify packet types among all PMDs, bit masks and relevant macros
of packet type for ol_flags are replaced by unified packet type and
relevant macros.
Signed-off-by: Helin Zhang
---
app/test-pipeline/pipeline_hash.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app
To unify packet types among all PMDs, bit masks and relevant macros
of packet type for ol_flags are replaced by unified packet type and
relevant macros.
Signed-off-by: Helin Zhang
---
examples/ip_fragmentation/main.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a
To unify packet types among all PMDs, bit masks and relevant macros
of packet type for ol_flags are replaced by unified packet type and
relevant macros.
Signed-off-by: Helin Zhang
---
app/test/packet_burst_generator.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git
To unify packet types among all PMDs, bit masks and relevant macros
of packet type for ol_flags are replaced by unified packet type and
relevant macros.
Signed-off-by: Helin Zhang
---
examples/ip_reassembly/main.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a
To unify packet types among all PMDs, bit masks and relevant macros
of packet type for ol_flags are replaced by unified packet type and
relevant macros.
Signed-off-by: Helin Zhang
---
examples/l3fwd-acl/main.c | 19 ++-
1 file changed, 6 insertions(+), 13 deletions(-)
diff
To unify packet types among all PMDs, bit masks and relevant macros
of packet type for ol_flags are replaced by unified packet type and
relevant macros.
Signed-off-by: Helin Zhang
---
examples/l3fwd-power/main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/examples
To unify packet types among all PMDs, bit masks and relevant macros
of packet type for ol_flags are replaced by unified packet type and
relevant macros.
Signed-off-by: Helin Zhang
---
examples/l3fwd/main.c | 64 +--
1 file changed, 37 insertions
To unify packet types among all PMDs, bit masks and relevant macros
of packet type for ol_flags are replaced by unified packet type and
relevant macros.
Signed-off-by: Helin Zhang
---
lib/librte_mbuf/rte_mbuf.c | 6 --
lib/librte_mbuf/rte_mbuf.h | 10 ++
2 files changed, 2
enables new RSS offloads of 'tcp' and 'all' in testpmd.
Helin Zhang (7):
app/test-pmd: code style fix
ethdev: code style fix
i40e: code style fix
ethdev: fix of calculating the size of flow type mask array
ethdev: unification of flow types
ethdev: unification of RSS
201 - 300 of 950 matches
Mail list logo