Added code style fixes.
Signed-off-by: Helin Zhang
---
app/test-pmd/config.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 97b6525..87dedf9 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -1918,11
Added code style fixes.
Signed-off-by: Helin Zhang
---
lib/librte_ether/rte_eth_ctrl.h | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h
index 5d9c387..4308eae 100644
--- a/lib
Added code style fixes.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_fdir.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/lib/librte_pmd_i40e/i40e_fdir.c b/lib/librte_pmd_i40e/i40e_fdir.c
index 68511c8..c9e535b 100644
--- a/lib/librte_pmd_i40e/i40e_fdir.c
It wrongly calculates the size of the flow type mask array. The fix
is to align the flow type maximum index ID with the number of
element bit width, and then divide the number of element bit width.
Signed-off-by: Helin Zhang
---
lib/librte_ether/rte_eth_ctrl.h | 6 +-
1 file changed, 5
s are made in i40e and
testpmd accordingly.
Signed-off-by: Helin Zhang
---
app/test-pmd/cmdline.c| 88 ---
app/test-pmd/config.c | 71 +--
lib/librte_ether/rte_eth_ctrl.h | 55 ++--
specific hardwares.
Signed-off-by: Helin Zhang
---
app/test-pipeline/init.c| 2 +-
app/test-pmd/config.c | 60 +
examples/distributor/main.c | 9 +-
examples/ip_pipeline/init.c | 2 +-
examples/l3fwd-acl/main.c
RSS offloads supported 'ip' and 'udp' only, which did not demonstrate
all of the hardware capabilities. The modifications adds support of
new RSS offloads of 'tcp', 'sctp', 'ether' and 'all'.
Signed-off-by: Helin Zhang
---
app/tes
Solved compile errors on ICC.
v9 changes:
* Added typo fixes in rte_eth_ctrl.h.
* Splitted modifications in both rte_eth_ctrl.h and i40e, one patch is for
ethdev,
the other one is for i40e.
Helin Zhang (5):
i40e: use constant as the default hash keys
ethdev: code style fixes
ethdev: su
Calculating the default RSS hash keys at run time is not needed
at all, and may have race conditions. The alternative is to use
array of random values which were generated manually as the
default hash keys.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_ethdev.c | 14 +++---
1
Added code style fixes.
Signed-off-by: Helin Zhang
---
lib/librte_ether/rte_eth_ctrl.h | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h
index 5d9c387..4b3c5fc 100644
--- a/lib/librte_ether
In order to support hash filter configuration, filter type of hash
is added, also the corresponding structures, macros and definitions
are added.
Signed-off-by: Helin Zhang
---
lib/librte_ether/rte_eth_ctrl.h | 63 +
1 file changed, 63 insertions(+)
v9
Hash filter control has been implemented for i40e. It includes
getting/setting,
- global hash configurations (hash function type, and symmetric
hash enable per flow type)
- symmetric hash enable per port
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_ethdev.c | 294
To demonstrate the hash filter control, commands are added.
They are,
- get_sym_hash_ena_per_port
- set_sym_hash_ena_per_port
- get_hash_global_config
- set_hash_global_config
Signed-off-by: Helin Zhang
---
app/test-pmd/cmdline.c | 333 +
1 file
types and L4 types. All PMDs should translate the offloaded packet types
into this 4 fields of information, for user applications.
Helin Zhang (17):
mbuf: add definitions of unified packet types
e1000: support of unified packet type
ixgbe: support of unified packet type
ixgbe: support of
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 | 74 ++
1 file changed, 74 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_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 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_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
---
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 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_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
---
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/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-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
---
lib/librte_mbuf/rte_mbuf.c | 6 --
lib/librte_mbuf/rte_mbuf.h | 10 ++
2 files changed, 2
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
.
* Reworked newly added cxgbe driver and tep_termination example application to
support unified packet type, which is disabled by default.
Helin Zhang (19):
mbuf: redefine packet_type in rte_mbuf
mbuf: add definitions of unified packet types
e1000: replace bit mask based packet type with uni
types (UDP, TCP and SCTP) are supported in vectorized
ixgbe PMD.
To avoid breaking ABI compatibility, all the changes would be enabled by
RTE_NEXT_ABI,
which is disabled by default.
Note that around 2% performance drop (64B) was observed of doing 4 ports (1
port per
82599 card) IO forwarding on t
type, inner L2 type,
inner L3 type and inner L4 type fields, and can be stored in
'struct rte_mbuf' of 32 bits field 'packet_type'.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
d of doing
4 ports (1 port per 82599 card) IO forwarding on the same SNB core.
Signed-off-by: Helin Zhang
---
drivers/net/ixgbe/ixgbe_rxtx.c | 163 +
1 file changed, 163 insertions(+)
v2 changes:
* Used redefined packet types and enlarged packet_type fie
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/enic/e
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/n
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/fm10k/fm
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be enabled
by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/cxgbe
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/e1000/
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
app/tes
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
Signed-off-by: Jijiang Liu
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/ip_fragmentat
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/ip_reassem
Severl useless code lines are added accidently, which blocks packet
type unification. They should be deleted at all.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
app/test
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/l3fwd-acl/m
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/l3fwd-power/
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/l3fwd/ma
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be enabled
by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/tep_terminati
As unified packet types are used instead, those old bit masks and
the relevant macros for packet type indication need to be removed.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
lib
The significant ABI changes are planned for unified packet type
which will be supported from release 2.2. Here announces that ABI
changes in detail.
Signed-off-by: Helin Zhang
---
doc/guides/rel_notes/abi.rst | 1 +
1 file changed, 1 insertion(+)
v2 changes:
* Added 'struct rte_kni_mbu
The significant ABI changes of all shared libraries are planned to
support unified packet type which will be taken effect from
release 2.2. Here announces that ABI changes in detail.
Signed-off-by: Helin Zhang
---
doc/guides/rel_notes/abi.rst | 1 +
1 file changed, 1 insertion(+)
v2 changes
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_16_04.rst | 6
drivers/net/i40e/i40e_ethdev.c
ngs.
- Kept the sys files as they were, and added ABI change announcement for them.
- Moved high performance part of i40e from 'GSG' to a new for .nics'.
Helin Zhang (3):
i40e: enable extended tag
eal: remove pci config of extended tag
igb_uio: deprecate
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_
It deprecated sys files of 'extended_tag' and
'max_read_request_size', and announced the planned ABI changes of
them.
Signed-off-by: Helin Zhang
---
doc/guides/linux_gsg/enable_func.rst | 47 ---
doc/guides/nics/i40e.rst
ngs.
- Kept the sys files as they were, and added ABI change announcement for them.
- Moved high performance part of i40e from 'GSG' to a new for .nics'.
Helin Zhang (3):
i40e: enable extended tag
eal: remove pci config of extended tag
igb_uio: deprecate
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
Acked-by: Jingjing Wu
---
doc/guides/rel_notes/release_16_04.rst | 6
drivers/net/i40e/i40
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
Acked-by: Jingjing W
It deprecated sys files of 'extended_tag' and
'max_read_request_size', and announced the planned ABI changes of
them.
Signed-off-by: Helin Zhang
Acked-by: Jingjing Wu
---
doc/guides/linux_gsg/enable_func.rst | 47 ---
doc/guides/nics/i40e.rst
i40e base driver is updated, to support new X722 device IDs, and
use rx control AQ commands to read/write rx control registers.
Of cause, fixes and enhancements are added as listed as below.
Helin Zhang (29):
i40e/base: use explicit cast from u16 to u8
i40e/base: Acquire NVM, before issuing
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
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
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
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
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.
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
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
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
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| 15 +++
lib/librte_eal/common/include/rte_pci_dev_ids.h | 8 ++--
2 files changed, 21 insertions(+), 2 deletions
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
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 setting ether type of single VLAN(inner VLAN) and outer
VLAN for i40e. For ixgbe and e1000/igb, as the external API changed,
it supports setting single VLAN(inner VLAN) only.
Helin Zhang (2):
ethdev: add vlan type for setting ether type
i40e: add VLAN ether type config
app/test-pmd
In order to set ether type of VLAN for single VLAN, inner
and outer VLAN, the VLAN type as an input parameter is added
to 'rte_eth_dev_set_vlan_ether_type()'.
In addition, corresponding changes in e1000, ixgbe and i40e are
also added.
Signed-off-by: Helin Zhang
---
app/test-pmd
It adds the setting VLAN ether type of single VLAN, inner and
outer VLAN. Single VLAN is treated as inner VLAN as usual.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 55 +++---
1 file changed, 51 insertions(+), 4 deletions(-)
diff --git a
It adds pre-setting the VF MAC addresses from DPDK PF host
side before any VF being initialized, by introducing a new
element of 'struct rte_vf_conf' in 'struct rte_eth_conf'.
It supports up to 128 VFs per physical port of setting VF
MAC addresses.
Signed-off-by: Helin Zh
It uses ether interface of 'is_valid_assigned_ether_addr' for
validating MAC address. In the meanwhile, more annotations are
added for obtaining/generating VF MAC address.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 14 +++---
1 file changed, 7 insert
ABI broken, as ABI changes
in 'struct rte_eth_conf' has already been announced in R2.2.
Helin Zhang (3):
i40e: add setting VF MAC address in DPDK PF host
i40evf: use ether interface for validating MAC address
app/testpmd: set default MAC addresses for each VF
app/test-pmd
It generates MAC addresses during host port initialization, which
will be set as default MAC addresses for corresponding VFs.
Signed-off-by: Helin Zhang
---
app/test-pmd/testpmd.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd
It fixes several problematic dereference issues and missing
break issue reported by Coverity.
Helin Zhang (2):
i40e: fix problematic dereference
i40e: fix missing break in switch
drivers/net/i40e/i40e_pf.c | 11 +--
drivers/net/i40e/i40e_rxtx.c | 12
2 files changed
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 | 12
2 files changed, 11 insertions(+), 6 deletions(-)
dif
301 - 400 of 950 matches
Mail list logo