[dpdk-dev] [PATCH 7/7] net/ice: fix input set of VLAN item

2020-03-12 Thread wei.zh...@intel.com
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_switch_filter.c |

[dpdk-dev] [PATCH 5/7] net/ice: change default tunnle type

2020-03-12 Thread wei.zh...@intel.com
The default tunnle type for swicth filter change to new defination of ICE_SW_TUN_AND_NON_TUN in order that the rule will be apply to more packet type. Cc: sta...@dpdk.org Fixes: 47d460d63233 ("net/ice: rework switch filter") Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 3 ++

[dpdk-dev] [PATCH 6/7] net/ice: add action number check for swicth

2020-03-12 Thread wei.zh...@intel.com
The action number can only be one for DCF or PF switch filter, not support large action. Cc: sta...@dpdk.org Fixes: 47d460d63233 ("net/ice: rework switch filter") Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 48 + 1 file changed, 48 insertions(+)

[dpdk-dev] [PATCH 4/7] net/ice: add support for MAC VLAN rule

2020-03-12 Thread wei.zh...@intel.com
This patch add support for MAC VLAN rule, it enable swicth filter to direct packet base on mac address and vlan id. Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/

[dpdk-dev] [PATCH 1/7] net/ice: enable switch flow on DCF

2020-03-12 Thread wei.zh...@intel.com
DCF on CVL is a control plane VF which take the responsibility to configure all the PF/global resources, this patch add support DCF on to program forward rule to direct packetS to VFs. Signed-off-by: Wei Zhao --- drivers/net/ice/ice_dcf_ethdev.c| 10 ++-- drivers/net/ice/ice_dcf_parent.c

[dpdk-dev] [PATCH 3/7] net/ice: change swicth parser to support flexible mask

2020-03-12 Thread wei.zh...@intel.com
DCF need to make configuration of flexible mask, that is to say some iput set mask may be not 0x type all one bit. In order to direct L2/IP multicast packets, the mask for source IP maybe 0xF000, this patch enable switch filter parser for it. Signed-off-by: Wei Zhao --- drivers/net/ice/i

[dpdk-dev] [PATCH 2/7] net/ice: support for more PPPoE input set

2020-03-12 Thread wei.zh...@intel.com
This patch add more support for PPPoE packet, it enable swicth filter to direct PPPoE packet base on session id and PPP protocol type. Signed-off-by: Wei Zhao --- config/common_linux | 1 + drivers/net/ice/ice_generic_flow.c | 13 + drivers/net/ice/ice_generic_flow.h | 9

[dpdk-dev] [PATCH 0/7] add switch filter support for intel DCF

2020-03-12 Thread wei.zh...@intel.com
A DCF (Device Config Function) framework has been add for intel device, this patch set add add switch filter support for it, this set also fix bugs which block this feature. This patchset is based on: [1] https://patchwork.dpdk.org/cover/66480/ : add Intel DCF PMD support Depends-on: series-8859