For GTPU rule without extend header the trainning packet
for FDIR is different. This patch enable these case.
Fixes: 934fd00c9389 ("net/ice/base: fix GTPU IP hash")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
Tested-by: Huang ZhiminX
---
v3: fix typo
v4: fix bug
---
drivers/ne
For GTPU rule without extend header the trainning packet
for FDIR is different. This patch enable these case.
Fixes: 934fd00c9389 ("net/ice/base: fix GTPU IP hash")
Signed-off-by: Wei Zhao
---
v3: fix typo
---
drivers/net/ice/base/ice_fdir.c | 63 +++-
drive
The vf index in rte_flow command need to check in order
that not larger than actual vf number. Also
change some error log for wrong action.
Fixes: 829c3106812d ("net/ice: enable switch flow on DCF")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
Tested-by: Nannan Lu
---
v2: change err
The vf index in rte_flow command need to check
in order that larger than actual number. Also
change some error log for wrong action.
Fixes: 829c3106812d ("net/ice: enable switch flow on DCF")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
v2: change error log
v3: add new
The vf index in rte_flow command need to check
in order that larger the actual number. Also
change some error log for wrong action.
Fixes: 829c3106812d ("net/ice: enable switch flow on DCF")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
v2: change error log
---
drive
The vf index in rte_flow command need to check
in order that larger the actual number.
Fixes: 829c3106812d ("net/ice: enable switch flow on DCF")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 16 +++-
1 file changed, 11 insert
For GTPU rule without extend header the trainning packet
for FDIR is different. This patch enable these case.
Fixes: 934fd00c9389 ("net/ice/base: fix GTPU IP hash")
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_fdir.c | 63 +++-
drivers/net/ice/base/
ned-off-by: Wei Zhao
---
drivers/net/ice/base/ice_fdir.c | 161 +-
drivers/net/ice/base/ice_type.h | 6 ++
drivers/net/ice/ice_ethdev.h | 4 +
drivers/net/ice/ice_fdir_filter.c | 146 +--
drivers/net/ice/ice_hash.c| 3 -
5 fil
new poll mode driver)
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_ethdev.c | 45 +-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 05d5f2861..f5be6606c 100644
--- a/drivers/ne
When function ice_get_tun_type_for_recipe() get tunnel type,
for ICE_NON_TUN we need to include gtp-c and some gtp-u ptype
with no payload, as they do not have tunnel packet as paylod.
Fixes: 418d2563d10b ("net/ice/base: get tunnel type for recipe")
Signed-off-by: Wei Zhao
Tested-by:
When get tunnel type for ICE_NON_TUN, there need some
upodate for gtp related pctype.
Fixes: 418d2563d10b ("net/ice/base: get tunnel type for recipe")
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_switch.c | 4 ++--
drivers/net/ice/base/ice_switch.h | 1 +
2 files changed, 3
When get tunnel type for ICE_NON_TUN, there need some
upodate for gtp realted pctype.
Fixes: 418d2563d10b ("net/ice/base: get tunnel type for recipe")
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_switch.c | 4 ++--
drivers/net/ice/base/ice_switch.h | 1 +
2 files changed, 3
This patch enable add multicast address for iavf.
Signed-off-by: Wei Zhao
---
drivers/net/iavf/iavf.h| 7 +
drivers/net/iavf/iavf_ethdev.c | 43 ++
drivers/net/iavf/iavf_vchnl.c | 56 ++
3 files changed, 106 insertions
_recipe_group(), then the special words will be add
into rm->rg_list, btw the flag match_tun_mask is useless now
and no need to add special words in function
ice_add_sw_recipe() duplicatly.
Fixes: eda40e22b858 ("net/ice/base: improve switch chained recipe")
Cc: sta...@dpdk.org
Signed-off-
This patch fix tunnel type check for PPPoE type of recipe
when search for recipe which has been created before, and
also fix a bug of typo.
Fixes: 418d2563d10b ("net/ice/base: get tunnel type for recipe")
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_switch.c | 14 +---
The patchset include 2 bug fixes for base code.
Wei Zhao (2):
ice-shared: Fix tunnel type check for PPPoE
ice-shared: Fix add special words for tunnel rule
drivers/net/ice/base/ice_switch.c | 52 +--
1 file changed, 14 insertions(+), 38 deletions(-)
--
2.19.1
This patch add the total input set byte number check,
as there is a hardware requirement for the total number
of 32 byte.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_fil
This patch add more specific tunnel type for ipv4/ipv6 packet,
it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without
L4 dst/src port number as input set for the switch filter rule.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by
This patch add check for protocol type of IPv4 packet,
it need to update tunnel type when NVGRE is in payload.
Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 7 ++-
1 file
fix typo of "valid".
Fixes: 8f5d8e74fb38 ("net/ice: support flow for AH ESP and L2TP")
Fixes: 66ff8851792f ("net/ice: support ESP/AH/L2TP")
Fixes: 45b53ed3701d ("net/ice: support IPv6 NAT-T")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
This patch add more support for switch parser of pppoe packet,
it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for
pppoe payload, so we can use L4 dst/src port and L3 ip address as
input set for switch filter pppoe related rule.
Signed-off-by: Wei Zhao
---
doc/guides/rel_notes
:
fix bug in patch add redirect support for VSI list rule.
add information in release note.
v3:
add input set byte number check
code update as comment of code style
v4:
fix typo in patch
v5:
add more valid flag
v6:
rebase for code merge
Wei Zhao (5):
net/ice: add support more PPPoE packeat
For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M
link speed, so add the support link speed info for 10Mb/s.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
Acked-by: Jeff Guo
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4
1 file
This patch add the total input set byte number check,
as there is a hardware requirement for the total number
of 32 byte.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_fil
fix typo of "valid".
Fixes: 8f5d8e74fb38 ("net/ice: support flow for AH ESP and L2TP")
Fixes: 66ff8851792f ("net/ice: support ESP/AH/L2TP")
Fixes: 45b53ed3701d ("net/ice: support IPv6 NAT-T")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
This patch add check for protocol type of IPv4 packet,
it need to update tunnel type when NVGRE is in payload.
Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 7 ++-
1 file
This patch add more specific tunnel type for ipv4/ipv6 packet,
it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without
L4 dst/src port number as input set for the switch filter rule.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by
This patch add more support for switch parser of pppoe packet,
it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for
pppoe payload, so we can use L4 dst/src port and L3 ip address as
input set for switch filter pppoe related rule.
Signed-off-by: Wei Zhao
---
doc/guides/rel_notes
:
fix bug in patch add redirect support for VSI list rule.
add information in release note.
v3:
add input set byte number check
code update as comment of code style
v4:
fix typo in patch
v5:
add more valid flag
Wei Zhao (5):
net/ice: add support more PPPoE packet type for switch
net/ice: fix
For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M
link speed, so enable it for the kind of ixgbe nic.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4
1 file changed, 4 insertions(+)
di
patch add redirect support for VSI list rule.
add information in release note.
v3:
add input set byte number check
code update as comment of code style
v4:
fix typo in patch
Wei Zhao (4):
net/ice: add support more PPPoE packet type for switch
net/ice: fix tunnel type for switch rule
net
This patch add more support for switch parser of pppoe packet,
it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for
pppoe payload, so we can use L4 dst/src port and L3 ip address as
input set for switch filter pppoe related rule.
Signed-off-by: Wei Zhao
---
doc/guides/rel_notes
This patch add check for protocol type of IPv4 packet,
it need to update tunnel type when NVGRE is in payload.
Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 7 ++-
1 file
This patch add the total input set byte number check,
as there is a hardware requirement for the total number
of 32 byte.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_fil
This patch add more specific tunnel type for ipv4/ipv6 packet,
it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without
L4 dst/src port number as input set for the switch filter rule.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by
This patch add more support for switch parser of pppoe packet,
it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for
pppoe payload, so we can use L4 dst/src port and L3 ip address as
input set for switch filter pppoe related rule.
Signed-off-by: Wei Zhao
---
doc/guides/rel_notes
patch add redirect support for VSI list rule.
add information in release note.
v3:
add input set byte number check
code update as comment of code style
Wei Zhao (4):
net/ice: add support more PPPoE packet type for switch
net/ice: fix tunnel type for switch rule
net/ice: support switch flow
This patch add the total input set byte number check,
as there is a hardware requirement for the total number
of 32 byte.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_fil
This patch add more specific tunnel type for ipv4/ipv6 packet,
it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without
L4 dst/src port number as input set for the switch filter rule.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by
This patch add check for protocol type of IPv4 packet,
it need to update tunnel type when NVGRE is in payload.
Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 7 ++-
1 file
This patch add the total input set byte number check,
as there is a hardware requirement for the total number
of 32 byte.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_fil
patch add redirect support for VSI list rule.
add information in release note.
v3:
add input set byte number check
code update as comment of code style
Wei Zhao (4):
net/ice: add support more PPPoE packet type for switch
net/ice: fix tunnel type for switch rule
net/ice: support switch flow
This patch add more support for switch parser of pppoe packet,
it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for
pppoe payload, so we can use L4 dst/src port and L3 ip address as
input set for switch filter pppoe related rule.
Signed-off-by: Wei Zhao
---
doc/guides/rel_notes
This patch add more specific tunnel type for ipv4/ipv6 packet,
it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without
L4 dst/src port number as input set for the switch filter rule.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by
This patch add check for protocol type of IPv4 packet,
it need to update tunnel type when NVGRE is in payload.
Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 7 ++-
1 file
This patch add more support for switch parser of pppoe packet,
it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for
pppoe payload, so we can use L4 dst/src port and L3 ip address as
input set for switch filter pppoe related rule.
Signed-off-by: Wei Zhao
---
doc/guides/rel_notes
This patch enable redirect switch rule of vsi list type.
Fixes: 397b4b3c5095 ("net/ice: enable flow redirect on switch")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
di
bug in patch add redirect support for VSI list rule.
add information in release note.
Wei Zhao (4):
net/ice: add support more PPPoE packet type for switch
net/ice: add redirect support for VSI list rule
net/ice: add check for NVGRE protocol
net/ice: support switch flow for specific L4 type
This patch add more specific tunnel type for ipv4/ipv6 packet,
it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without
L4 dst/src port number as input set for the switch filter rule.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by
This patch add check for protocol type of IPv4 packet,
it need to update tunnel type when NVGRE is in payload.
Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 7 ++-
1 file
This patch add more specific tunnel type for ipv4/ipv6 packet,
it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without
L4 dst/src port number as input set for the switch filter rule.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by
This patch add check for protocol type of IPv4 packet,
it need to update tunnel type when NVGRE is in payload.
Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 7 ++-
1 file
This patch add more support for switch parser of pppoe packet,
it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for
pppoe payload, so we can use L4 dst/src port and L3 ip address as
input set for switch filter pppoe related rule.
Signed-off-by: Wei Zhao
---
drivers/net/ice
1. add more support for switch parser of pppoe packet.
2. add redirect support for VSI list rule
3. add check for NVGRE protocol
4. support flow for specific L4 type
This patchset is based on:
[1] https://patches.dpdk.org/cover/70762/ : net/ice: base code update
Depends-on: series-10300
Wei
This patch enable redirect switch rule of vsi list type.
Fixes: 397b4b3c5095 ("net/ice: enable flow redirect on switch")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
di
i40e_flow_flush_fdir_filter().
Fixes: 1491f63c7559 ("net/i40e: fix flush of flow director filter")
Fixes: 6ae9b2b5e8c2 ("net/i40e: cache flow director enable value in Rx queue")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
v2:
update log info
---
drivers/net/i40e/i40e_flow.c | 1
The action number for switch filter should be 1, any
other such as 0 or more than 1 is invalid.
Fixes: 3428c6b6ec1f ("net/ice: add action number check for switch")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 2 +-
1 file changed, 1 inser
i40e_flow_flush_fdir_filter().
Cc: sta...@dpdk.org
Fixes: 1491f63c7559 ("net/i40e: fix flush of flow director filter")
Fixes: 6ae9b2b5e8c2 ("net/i40e: cache flow director enable value in Rx queue")
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_flow.c | 12 +---
1 file changed
ointer operation, we should avoid this risk.
Cc: sta...@dpdk.org
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Wei Zhao
---
v2:
update commit log
v3:
set free pointer to NULL
v4:
change code style
v5:
fix an issue in v4
---
drivers/net/i40e/i40e_ethdev.c | 14 +++
ointer operation, we should avoid this risk.
Cc: sta...@dpdk.org
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Wei Zhao
---
v2:
update commit log
v3:
set free pointer to NULL
v4:
change code style
---
drivers/net/i40e/i40e_ethdev.c | 16 ++--
1 fil
ointer operation, we should avoid this risk.
Cc: sta...@dpdk.org
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Wei Zhao
---
v2:
update commit log
v3:
set free pointer to NULL
---
drivers/net/i40e/i40e_ethdev.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletion
ointer operation, we should avoid this risk.
Cc: sta...@dpdk.org
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Wei Zhao
---
v2:
update commit log
---
drivers/net/i40e/i40e_ethdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/ne
.
Cc: sta...@dpdk.org
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_ethdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 749d85f54..7
PPoE IPv6 dummy packet")
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_switch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ice/base/ice_switch.c
b/drivers/net/ice/base/ice_switch.c
index 957142a10..a07ceea70 100644
--- a/drivers/net/ice/bas
/ end actions queue index 5 / end"
"eth / ipv6 / esp spi is 1 / end actions queue index 2 / end"
Fixes: 4f11962fce84 ("net/ice/base: support AH ESP and NAT-T on switch")
Fixes: 99d8ba79efbe ("net/ice/base: force switch to use different recipe")
Signed-of
fix i40e bug for flow filter and add comment in doc.
v2:
add more comment in git log.
v3:
update git log.
v4:
update doc info.
Wei Zhao (3):
net/i40e: fix FDIR issue for ARP packets
doc: input set requirement of each pctype for FDIR
net/i40e: remove teardown when flush FDIR filter
doc
Add input set requirement info to i40e doc.
Bugzilla ID: 403
Signed-off-by: Wei Zhao
---
doc/guides/nics/i40e.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 416b3904e..f085a357c 100644
--- a/doc/guides/nics/i40e.rst
+++ b
44b69c67d ("net/i40e: support input set selection for FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_flow.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c
index 7e64ae53a..1533d5abb 100644
---
gzilla ID: 404
Fixes: 2e67a7fbf3ff ("net/i40e: config flow director automatically")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_flow.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c
index 1
44b69c67d ("net/i40e: support input set selection for FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_flow.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c
index 7e64ae53a..1533d5abb 100644
---
Add input set requirement info to i40e doc.
Bugzilla ID: 403
Signed-off-by: Wei Zhao
---
doc/guides/nics/i40e.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 416b3904e..ad5f51c38 100644
--- a/doc/guides/nics/i40e.rst
+++ b
fix i40e bug for flow filter and add comment in doc.
v2:
add more comment in git log.
v3:
update git log.
Wei Zhao (3):
net/i40e: fix FDIR issue for ARP packets
doc: input set requirement of each pctype for FDIR
net/i40e: remove teardown when flush FDIR filter
doc/guides/nics/i40e.rst
gzilla ID: 404
Fixes: 2e67a7fbf3ff ("net/i40e: config flow director automatically")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_flow.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c
index 1
/ end actions queue index 5 / end"
"eth / ipv6 / esp spi is 1 / end actions queue index 2 / end"
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_switch.c | 15 ++-
drivers/net/ice/base/ice_switch.h | 2 ++
2 files changed, 12 insertions(+), 5 deletions
gzilla ID: 404
Fixes: 2e67a7fbf3ff ("net/i40e: config flow director automatically")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_flow.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c
index 1
fix i40e bug for flow filter and add comment in doc.
v2:
add more comment in git log.
Wei Zhao (3):
net/i40e: fix FDIR issue for ARP packets
doc: input set requirement of each pctype for FDIR
net/i40e: remove teardown when flush FDIR filter
doc/guides/nics/i40e.rst | 7
Add input set requirement info to i40e doc.
Bugzilla ID: 403
Signed-off-by: Wei Zhao
---
doc/guides/nics/i40e.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 416b3904e..ad5f51c38 100644
--- a/doc/guides/nics/i40e.rst
+++ b
ertype for FDIR filter,
it work well for ARP for FDIR filter, so delete the check.
Bugzilla ID: 402
Fixes: 42044b69c67d ("net/i40e: support input set selection for FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_flow.c | 2 --
1 file changed, 2 deletions(-)
gzilla ID: 404
Fixes: 2e67a7fbf3ff ("net/i40e: config flow director automatically")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_flow.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c
index 1
Add input set requirement info to i40e doc.
Bugzilla ID: 403
Signed-off-by: Wei Zhao
---
doc/guides/nics/i40e.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 416b3904e..ad5f51c38 100644
--- a/doc/guides/nics/i40e.rst
+++ b
fix i40e bug for flow filter and add comment in doc.
Wei Zhao (3):
net/i40e: remove ARP type check for FDIR filter
doc: input set requirement of each pctype for FDIR
net/i40e: remove teardown when flush FDIR filter
doc/guides/nics/i40e.rst | 7 +++
drivers/net/i40e/i40e_flow.c
I have try to enable ARP ethertype for FDIR filter,
it work well for ARP for FDIR filter, so delete it.
Bugzilla ID: 402
Fixes: 42044b69c67d ("net/i40e: support input set selection for FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/i40e/i40e_flow.c | 2 --
1 file
Replace Wenzhuo Lu, Alvin Zhang and Konstantin Ananyev
with Wei Zhao and Jeff Guo.
Signed-off-by: Wei Zhao
---
MAINTAINERS | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index d31a80929..7a57535ee 100644
--- a/MAINTAINERS
+++ b
Replace Wenzhuo Lu, Alvin Zhang and Konstantin Ananyev
with Wei Zhao and Jeff Guo.
Signed-off-by: Wei Zhao
---
MAINTAINERS | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index d31a80929..7a57535ee 100644
--- a/MAINTAINERS
+++ b
Replace Wenzhuo Lu, Alvin Zhang and Konstantin Ananyev
with Wei Zhao and Jeff Guo.
Signed-off-by: Wei Zhao
---
MAINTAINERS | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index d31a80929..7a57535ee 100644
--- a/MAINTAINERS
+++ b
Add dummy packet and tunnel type to support
L2TP on switch, now we can use session id as
input set for swicth rule.
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_protocol_type.h | 2 +
drivers/net/ice/base/ice_switch.c| 76
drivers/net/ice/base
Add switch filter support for AH ESP and L2TP protocol,
and use spi or session idas input set for switch rule.
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_generic_flow.c | 25
drivers/net/ice/ice_generic_flow.h | 23
drivers/net/ice/ice_switch_filter.c | 198
Add dummy packet and tunnel type to support
AH ESP and NAT-T on switch, now we can use spi as
input set for swicth rule.
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_protocol_type.h | 12 ++
drivers/net/ice/base/ice_switch.c| 235 +++
drivers/net/ice/base
This patch set add switch filter support for AH ESP NAT-T
and L2TP protocol, and use spi or session idas input set
for switch rule.
v2:
-fix bug for input set error.
Wei Zhao (3):
net/ice/base: add support for AH ESP and NAT-T on switch
net/ice/base: add support for L2TP on switch
net/ice
Add dummy packet and tunnel type to support
L2TP on switch, now we can use session id as
input set for swicth rule.
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_protocol_type.h | 2 +
drivers/net/ice/base/ice_switch.c| 76
drivers/net/ice/base
Add switch filter support for AH ESP and L2TP protocol,
and use spi or session idas input set for switch rule.
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_generic_flow.c | 25
drivers/net/ice/ice_generic_flow.h | 23
drivers/net/ice/ice_switch_filter.c | 198
This patch set add switch filter support for AH ESP NAT-T
and L2TP protocol, and use spi or session idas input set
for switch rule.
Wei Zhao (3):
net/ice/base: add support for AH ESP and NAT-T on switch
net/ice/base: add support for L2TP on switch
net/ice: add flow support for AH ESP and
Add dummy packet and tunnel type to support
AH ESP and NAT-T on switch, now we can use spi as
input set for swicth rule.
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_protocol_type.h | 12 ++
drivers/net/ice/base/ice_switch.c| 235 +++
drivers/net/ice/base
last_chain_entry->fv_idx[i] = entry->chain_idx;
buf[recps].content.lkup_indx[i] = entry->chain_idx;
buf[recps].content.mask[i++] = CPU_TO_LE16(0x);
..........
}
Signed-off-by: Wei Zhao
---
drivers/net/ice/base/ice_switch.c | 3 +++
1 file changed, 3 insertion
uot;
"flow create 0 priority 0 ingress pattern eth / ipv4 / udp
/ pfcp s_field is 0 / end actions queue index 5 / end"
then,
"flow flush 0"
you will find only the first rule will be delete,
because ice_find_recp() will always return recipe
id of the first rule.
Signed-off-by: Wei
This patch set fix some ice base code bug of switch.
Wei Zhao (3):
net/ice/base: check the number of recipe when in chain
net/ice/base: add mask check when find switch recipe
net/ice/base: force switch to use different recipe for
drivers/net/ice/base/ice_switch.c | 23
In order to find accurate recipe for switch filter, we
need to add mask as an element when searching for recipe.
If we create different rules with the same input set, but
using different masks, then proper recipes should use
those different mask.
Signed-off-by: Wei Zhao
---
drivers/net/ice/base
The input set for inner type of vlan item should
be ICE_INSET_ETHERTYPE, not ICE_INSET_VLAN_OUTER.
This mac vlan filter is also part of DCF switch filter.
Cc: sta...@dpdk.org
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switc
Enable flow redirect on switch, currently only
support VSI redirect.
Signed-off-by: Beilei Xing
---
drivers/net/ice/ice_switch_filter.c | 73 +
1 file changed, 73 insertions(+)
diff --git a/drivers/net/ice/ice_switch_filter.c
b/drivers/net/ice/ice_switch_filter.c
in
This patch add switch filter support for IPv6 NAT-T packets,
it enable swicth filter to direct ipv6 packets with
NAT-T payload to specific action.
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_generic_flow.c | 14 ++
drivers/net/ice/ice_generic_flow.h | 2 ++
drivers/net/ice
1 - 100 of 664 matches
Mail list logo