Failed to set queue at runtime, the reason is that 'dev_capa' is
an invalid value.
Add valid value to support rx/tx queue setup after device started.
Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx")
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_ethdev.c | 4 +++
e: support basic Rx/Tx")
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_rxtx.c | 11 +++
drivers/net/ice/ice_rxtx.h | 2 ++
2 files changed, 13 insertions(+)
diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
index 5af7c0c8f6..d1e1fadf9d 100644
--- a/drivers/net
vf: enable basic Rx Tx")
Signed-off-by: Kevin Liu
---
drivers/net/iavf/iavf_rxtx.c | 9 +
drivers/net/iavf/iavf_rxtx.h | 2 ++
2 files changed, 11 insertions(+)
diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index 3deabe1d7e..be34d6210b 100644
--- a/d
Check whether the data packet is illegal of ice and iavf driver.
v2:
Change the scheme, check the data_len and update commit log.
Kevin Liu (2):
net/iavf: check illegal packets
net/ice: check illegal packets
drivers/net/iavf/iavf_rxtx.c | 9 +
drivers/net/iavf/iavf_rxtx.h | 2
Some illegal packets will lead to TX/RX hang and
can't recover automatically. This patch check those
illegal packets and protect TX/RX from hanging.
Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx")
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_rxtx.c | 13 +
Some illegal packets will lead to TX/RX hang and
can't recover automatically. This patch check those
illegal packets and protect TX/RX from hanging.
Fixes: a2b29a7733ef ("net/avf: enable basic Rx Tx")
Signed-off-by: Kevin Liu
---
drivers/net/iavf/iavf_rxtx.c | 10 +-
d
Check whether the data packet is illegal of ice and iavf driver.
Kevin Liu (2):
net/iavf: check illegal packets
net/ice: check illegal packets
drivers/net/iavf/iavf_rxtx.c | 10 +-
drivers/net/iavf/iavf_rxtx.h | 2 ++
drivers/net/ice/ice_rxtx.c | 13 +
drivers/net/ice
valid_flags to
'I40E_AQ_SET_SWITCH_CFG_OUTER_VLAN' and set first_tag
to 'RTE_ETHER_TYPE_QINQ'.
Fixes: 38e9762be16a ("net/i40e: add outer VLAN processing")
Signed-off-by: Kevin Liu
---
v2: refine code
---
v3: refine code
---
v4: refine code and commit log
---
doc/guides/nics/i
0x0008 and set first_tag
to 0x88a8.
Fixes: 38e9762be16a ("net/i40e: add outer VLAN processing")
Signed-off-by: Kevin Liu
Tested-by: Jiale Song
---
v2: refine code
---
v3: refine code
---
doc/guides/nics/i40e.rst | 1 -
drivers/net/i40e/i40e_ethd
0x0008 and set first_tag
to 0x88a8.
Fixes: 38e9762be16a ("net/i40e: add outer VLAN processing")
Signed-off-by: Kevin Liu
Tested-by: Jiale Song
---
v2: refine code
---
doc/guides/nics/i40e.rst | 1 -
drivers/net/i40e/i40e_ethdev.c | 146 ++---
2 fil
ure inner VLAN strip.
Signed-off-by: Kevin Liu
---
doc/guides/nics/i40e.rst | 2 -
drivers/net/i40e/i40e_ethdev.c | 170 +++--
drivers/net/i40e/i40e_ethdev.h | 4 +
3 files changed, 164 insertions(+), 12 deletions(-)
diff --git a/doc/guides/nics/i40e.rst b/doc/
to PMD with devargs.
Remove related private API in 'rte_pmd_ice.h' and 'rte_pmd_ice.h' file.
Signed-off-by: Kevin Liu
Tested-by: Jin Ling
---
v2: Delete doc content related to 'rte_pmd_ice.h'.
---
v3: Delete doc content related to 'rte_pmd_ice.h'.
---
v4:
to PMD with devargs.
Remove related private API in 'rte_pmd_ice.h' and 'rte_pmd_ice.h' file.
Signed-off-by: Kevin Liu
---
v2: Delete doc content related to 'rte_pmd_ice.h'.
---
v3: Delete doc content related to 'rte_pmd_ice.h'.
---
v4: refine code an
0x0008 and set first_tag
to 0x88a8.
Signed-off-by: Kevin Liu
---
doc/guides/nics/i40e.rst | 1 -
drivers/net/i40e/i40e_ethdev.c | 159 +++--
2 files changed, 111 insertions(+), 49 deletions(-)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
to PMD with devargs.
Remove related private API in 'rte_pmd_ice.h' and 'rte_pmd_ice.h' file.
Signed-off-by: Kevin Liu
---
v2: Delete doc content related to 'rte_pmd_ice.h'.
---
v3: Delete doc content related to 'rte_pmd_ice.h'.
---
doc/api/doxy-ap
to PMD with devargs.
Remove related private API in 'rte_pmd_ice.h' and 'rte_pmd_ice.h' file.
Signed-off-by: Kevin Liu
---
v2: Delete doc content related to 'rte_pmd_ice.h'.
---
doc/api/doxy-api-index.md | 1 -
doc/guides/nics/ice.rst
to PMD with devargs.
Remove related private API in 'rte_pmd_ice.h' and 'rte_pmd_ice.h' file.
Signed-off-by: Kevin Liu
---
doc/guides/nics/ice.rst | 25 ++-
drivers/net/ice/ice_ddp_package.c | 1 -
drivers/net/ice/ice_ethdev.c | 70 ++---
drivers/
Previously, QinQ is enabled by default and can't be disabled,
but there'll be performance drop if QinQ is enabled.
So, disable QinQ by default.
Fixes: ae97b8b89826 ("net/i40e: fix error disable double VLAN")
Signed-off-by: Kevin Liu
---
v2: update doc and refine commi
Previously, QinQ is enabled by default and can't be disabled,
but there'll be performance drop if QinQ is enabled.
So, disable QinQ by default.
Fixes: ae97b8b89826 ("net/i40e: fix error disable double VLAN")
Signed-off-by: Kevin Liu
---
v2: update doc and refine commi
issue.
Fixes: ae97b8b89826 ("net/i40e: fix error disable double VLAN")
Signed-off-by: Kevin Liu
---
v2: update doc and refine commit log
---
doc/guides/nics/i40e.rst | 11 +++
drivers/net/i40e/i40e_ethdev.c | 12
2 files changed, 7 insertions(+), 16 deletion
Restore disable double VLAN by default.
Fixes: ae97b8b89826 ("net/i40e: fix error disable double VLAN")
Signed-off-by: Kevin Liu
---
doc/guides/nics/i40e.rst | 6 +++---
drivers/net/i40e/i40e_ethdev.c | 12
2 files changed, 3 insertions(+), 15 deletions(-)
diff -
Title underline too short. Fill title underline.
Fixes: ae97b8b89826 ("net/i40e: fix error disable double VLAN")
Signed-off-by: Kevin Liu
---
doc/guides/nics/i40e.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e
Enable double VLAN by default after firmware v8.3
and disable double VLAN is not allowed in subsequent
operations.
Fixes: 4f13a78f1b8f ("net/i40e: add outer VLAN processing")
Signed-off-by: Kevin Liu
v4: fix warnig
v3: refine commit log
v2: update the document
---
doc/guides/nic
Enable double VLAN by default after firmware v8.3
and disable double VLAN is not allowed in subsequent
operations.
Fixes: 4f13a78f1b8f ("net/i40e: add outer VLAN processing")
Signed-off-by: Kevin Liu
v4: fix warnig
v3: refine commit log
v2: update the document
---
doc/guides/nic
Enable double VLAN by default after firmware v8.3
and disable double VLAN is not allowed in subsequent
operations.
Fixes: 4f13a78f1b8f ("net/i40e: add outer VLAN processing")
Signed-off-by: Kevin Liu
v3: refine commit log
v2: update the document
---
doc/guides/nics/i40e.rst
Sync the kernel driver, enable double VLAN by default after
firmware v8.3 and disable double VLAN is not allowed in subsequent
operations.
Fixes: 4f13a78f1b8f ("net/i40e: add outer VLAN processing")
Signed-off-by: Kevin Liu
v2: update the document
---
doc/guides/nics/i40e.rst
Sync the kernel driver, enable double VLAN by default after
firmware v8.3 and disable double VLAN is not allowed in subsequent
operations.
Fixes: 4f13a78f1b8f ("net/i40e: add outer VLAN processing")
Signed-off-by: Kevin Liu
---
drivers/net/i40e/i40e_eth
something like 'nfp_netvf_ethdev_ops_mount()'.
the logic I just use once in nfp_ethdev_vf.c, so not create a function. I will
create 'nfp_netvf_ethdev_ops_mount()' in nfp_ethdev_vf.c later
-Original Message-----
From: Ferruh Yigit
Sent: Tuesday, June 14, 2022 17:22
To:
Will do, thanks
-Original Message-
From: Ferruh Yigit
Sent: Friday, June 3, 2022 06:53
To: Kevin Liu ; dev@dpdk.org
Cc: Niklas Soderlund ; Diana Wang
; Nole Zhang ; Chaoyong He
Subject: Re: [PATCH 06/14] net/nfp: support NFP3800 card
On 6/2/2022 2:52 AM, Jin Liu wrote:
> Add supp
Will do, thanks
-Original Message-
From: Ferruh Yigit
Sent: Friday, June 3, 2022 06:52
To: Kevin Liu ; dev@dpdk.org
Cc: Niklas Soderlund ; Chaoyong He
Subject: Re: [PATCH 01/14] net/nfp: change the coding style
On 6/2/2022 2:52 AM, Jin Liu wrote:
> From: Chaoyong He
>
> C
RL_RSS2;
else
new_ctrl |= NFP_NET_CFG_CTRL_RSS;
-Original Message-
From: Ferruh Yigit
Sent: Friday, June 3, 2022 06:57
To: Kevin Liu ; dev@dpdk.org
Cc: Niklas Soderlund ; Diana Wang
; Nole Zhang ; Chaoyong He
Subject: Re: [PATCH 14/14] net/nfp: mod
We want to distinguish between NFD3 and NFDk, and maybe it is not necessary, I
will update it, thanks
-Original Message-
From: Ferruh Yigit
Sent: Friday, June 3, 2022 06:54
To: Kevin Liu ; dev@dpdk.org
Cc: Niklas Soderlund ; Diana Wang
; Nole Zhang ; Chaoyong He
Subject: Re: [PATCH
; + default:
> + PMD_DRV_LOG(ERR, "The version of firmware is not
correct.");
> + return -EINVAL;
-Original Message-
From: Ferruh Yigit
Sent: Friday, June 3, 2022 06:54
To: Kevin Liu ; dev@dpdk.org
Cc: Niklas Soderlund ; Diana Wang
Yes, I will update documentation and release notes, thanks
-Original Message-
From: Ferruh Yigit
Sent: Friday, June 3, 2022 06:51
To: Kevin Liu
Cc: Niklas Soderlund ; dev@dpdk.org
Subject: Re: [PATCH 00/14] Add support of NFP3800 chip and firmware with NFDk
On 6/2/2022 2:52 AM, Jin
configuration while there are MAC/VLAN filters in the switch table.
Therefore, we need to clear the MAC table before setting config,
and then restore the MAC table after setting.
This will not impact on an old firmware.
Signed-off-by: Robin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/i40e
configuration while there are MAC/VLAN filters in the switch table.
Therefore, we need to clear the MAC table before setting config,
and then restore the MAC table after setting.
This will not impact on an old firmware.
Signed-off-by: Robin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/i40e
configuration while there are MAC/VLAN filters in the switch table.
Therefore, we need to clear the MAC table before setting config,
and then restore the MAC table after setting.
This will not impact on an old firmware.
Signed-off-by: Robin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/i40e
configuration while there are MAC/VLAN filters in the switch table.
Therefore, we need to clear the MAC table before setting config,
and then restore the MAC table after setting.
This will not impact on an old firmware.
Signed-off-by: Robin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/i40e
configuration while there are MAC/VLAN filters in the switch table.
Therefore, we need to clear the MAC table before setting config,
and then restore the MAC table after setting.
This will not impact on an old firmware.
Signed-off-by: Robin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/i40e
In the DCF module, Missing maximum and minimum
MTU value settings.
This patch adds the settings of the maximum and
minimum MTU to correctly calculate the MTU value.
Fixes: bf89db4409bb ("net/ice: complete device info get in DCF")
Cc: sta...@dpdk.org
v2:
- update fixline
Signed-off
In the DCF module, Missing maximum and minimum
MTU value settings.
This patch adds the settings of the maximum and
minimum MTU to correctly calculate the MTU value.
Fixes: 2fe6f1b76279 ("drivers/net: advertise no support for keeping flow rules")
Cc: sta...@dpdk.org
Signed-off-by:
negotiation; and DCF is able to configure outer VLAN (0x8100)
if port VLAN is disabled to be compatible with legacy mode.
When port VLAN is updated by DCF, the DCF needs to reset to query the
new VLAN capabilities.
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c
Implement support for the power management API by implementing a
'get_monitor_addr' function that will return an address of an RX ring's
status bit.
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
drivers/net/ice/ice_dcf_ethdev.c | 1 +
2 files change
From: Alvin Zhang
Below PMD ops are supported in this patch:
.vlan_filter_set = dcf_dev_vlan_filter_set
.vlan_offload_set = dcf_dev_vlan_offload_set
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 2 +
doc/guides/rel_notes
Add below ops,
rxq_info_get
txq_info_get
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c
index 6503700e02..9217392d04 100644
--- a/drivers/net/ice
Add implementation of xstats() functions in DCF PMD.
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
drivers/net/ice/ice_dcf.h| 22
drivers/net/ice/ice_dcf_ethdev.c | 75
3 files changed, 98 insertions(+)
diff
Below PMD ops are supported in this patch:
.mac_addr_add = dcf_dev_add_mac_addr
.mac_addr_remove = dcf_dev_del_mac_addr
.set_mc_addr_list = dcf_set_mc_addr_list
.mac_addr_set = dcf_dev_set_default_mac_addr
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
doc
From: Alvin Zhang
Support configuration of unicast and multicast promisc on dcf.
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 2 +
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf_ethdev.c | 77
From: Jie Wang
add API "dev_supported_ptypes_get" to dcf, that dcf pmd can get
ptypes through the new API.
Signed-off-by: Jie Wang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 80 +++-
1 file changed, 49 insertions(+), 31 deletion
From: Jie Wang
add API "mtu_set" to dcf, and it can configure the port mtu through
cmdline.
Signed-off-by: Jie Wang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf_ethdev.c
From: Robin Zhang
Add support for ops rte_eth_tx_done_cleanup in dcf
Signed-off-by: Robin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c
index
d-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf.c | 2 +-
drivers/net/ice/ice_dcf.h | 1 +
drivers/net/ice/ice_dcf_ethdev.c | 51
From: Steve Yang
RSS RETA should be updated and queried by application,
Add related ops ('.reta_update', '.reta_query') for DCF.
Signed-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
doc/guides/rel_notes/release_22_07.rst
promisc configuration
net/ice: support dcf VLAN filter and offload configuration
net/ice: support DCF new VLAN capabilities
Jie Wang (2):
net/ice: support for MTU configure in DCF mode
net/ice: add ops dev-supported-ptypes-get to dcf
Kevin Liu (4):
net/ice: support dcf MAC configuration
negotiation; and DCF is able to configure outer VLAN (0x8100)
if port VLAN is disabled to be compatible with legacy mode.
When port VLAN is updated by DCF, the DCF needs to reset to query the
new VLAN capabilities.
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
doc/guides/rel_notes
Implement support for the power management API by implementing a
'get_monitor_addr' function that will return an address of an RX ring's
status bit.
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
doc/guides/rel_notes/release_22_07.rst | 1 +
Add below ops,
rxq_info_get
txq_info_get
Signed-off-by: Kevin Liu
---
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf_ethdev.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/release_22_07.rst
b/doc/guides/rel_notes/release_22_07.rst
Add implementation of xstats() functions in DCF PMD.
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf.h | 22
drivers/net/ice/ice_dcf_ethdev.c | 75
From: Alvin Zhang
Below PMD ops are supported in this patch:
.vlan_filter_set = dcf_dev_vlan_filter_set
.vlan_offload_set = dcf_dev_vlan_offload_set
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 2 +
doc/guides/rel_notes
Below PMD ops are supported in this patch:
.mac_addr_add = dcf_dev_add_mac_addr
.mac_addr_remove = dcf_dev_del_mac_addr
.set_mc_addr_list = dcf_set_mc_addr_list
.mac_addr_set = dcf_dev_set_default_mac_addr
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
doc
From: Alvin Zhang
Support configuration of unicast and multicast promisc on dcf.
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 2 +
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf_ethdev.c | 77
From: Jie Wang
add API "dev_supported_ptypes_get" to dcf, that dcf pmd can get
ptypes through the new API.
Signed-off-by: Jie Wang
Signed-off-by: Kevin Liu
---
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf_ethdev.c | 80 -
From: Jie Wang
add API "mtu_set" to dcf, and it can configure the port mtu through
cmdline.
Signed-off-by: Jie Wang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf_ethdev.c
From: Robin Zhang
Add support for ops rte_eth_tx_done_cleanup in dcf
Signed-off-by: Robin Zhang
Signed-off-by: Kevin Liu
---
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf_ethdev.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/doc/guides/rel_notes
d-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/ice/ice_dcf.c | 2 +-
drivers/net/ice/ice_dcf.h | 1 +
drivers/net/ice/ice_dcf_ethdev.c | 51
From: Steve Yang
RSS RETA should be updated and queried by application,
Add related ops ('.reta_update', '.reta_query') for DCF.
Signed-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 1 +
doc/guides/rel_notes/release_22_07.rst
VLAN filter and offload configuration
net/ice: support DCF new VLAN capabilities
Jie Wang (2):
net/ice: add ops MTU-SET to dcf
net/ice: add ops dev-supported-ptypes-get to dcf
Kevin Liu (4):
net/ice: support dcf MAC configuration
net/ice: add extended stats
net/ice: support queue
Update "ice_dcf" driver feature list.
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 15 +++
1 file changed, 15 insertions(+)
diff --git a/doc/guides/nics/features/ice_dcf.ini
b/doc/guides/nics/features/ice_dcf.ini
index 54073f0b88..2f3e14a24e 100644
Implement support for the power management API by implementing a
'get_monitor_addr' function that will return an address of an RX ring's
status bit.
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ice/i
Add below ops,
rxq_info_get
txq_info_get
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c
index 6503700e02..9217392d04 100644
--- a/drivers/net/ice
Add implementation of xstats() functions in DCF PMD.
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.h| 22 ++
drivers/net/ice/ice_dcf_ethdev.c | 75
2 files changed, 97 insertions(+)
diff --git a/drivers/net/ice/ice_dcf.h b/drivers/net/ice
From: Alvin Zhang
Below PMD ops are supported in this patch:
.vlan_filter_set = dcf_dev_vlan_filter_set
.vlan_offload_set = dcf_dev_vlan_offload_set
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 101 +++
1 file
Below PMD ops are supported in this patch:
.mac_addr_add = dcf_dev_add_mac_addr
.mac_addr_remove = dcf_dev_del_mac_addr
.set_mc_addr_list = dcf_set_mc_addr_list
.mac_addr_set = dcf_dev_set_default_mac_addr
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
From: Alvin Zhang
Support configuration of unicast and multicast promisc on dcf.
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 77 ++--
drivers/net/ice/ice_dcf_ethdev.h | 3 ++
2 files changed, 76 insertions(+), 4
From: Jie Wang
add API "dev_supported_ptypes_get" to dcf, that dcf pmd can get
ptypes through the new API.
Signed-off-by: Jie Wang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 80 +++-
1 file changed, 49 insertions(+), 31 deletion
From: Jie Wang
add API "mtu_set" to dcf, and it can configure the port mtu through
cmdline.
Signed-off-by: Jie Wang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 14 ++
drivers/net/ice/ice_dcf_ethdev.h | 6 ++
2 files changed, 20 insertions(+)
di
From: Robin Zhang
Add support for ops rte_eth_tx_done_cleanup in dcf
Signed-off-by: Robin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c
index
d-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c| 2 +-
drivers/net/ice/ice_dcf.h| 1 +
drivers/net/ice/ice_dcf_ethdev.c | 51
3 files changed, 53 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ice/ice_dcf.c b/drivers
: disable ACL function for MDCF instance
Alvin Zhang (2):
net/ice: support dcf promisc configuration
net/ice: support dcf VLAN filter and offload configuration
Jie Wang (2):
net/ice: add ops MTU-SET to dcf
net/ice: add ops dev-supported-ptypes-get to dcf
Kevin Liu (5):
net/ice: support dcf
From: Steve Yang
RSS RETA should be updated and queried by application,
Add related ops ('.reta_update', '.reta_query') for DCF.
Signed-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c| 2 +-
drivers/net/ice/ice_dcf.h|
("net/ice: support DCF device reset")
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/base/ice_common.c | 4 +++-
drivers/net/ice/ice_dcf.c | 2 +-
drivers/net/ice/ice_dcf_ethdev.c | 17 -
drivers/net/ice/ice_dcf_parent.c | 3 ++
engine.
Fixes: 40d466fa9f76 ("net/ice: support ACL filter in DCF")
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_acl_filter.c | 20 ++
drivers/net/ice/ice_generic_flow.c | 34 +++---
2 files changed, 42 inserti
ACL flow engine
Kevin Liu (1):
net/ice: fix DCF reset
drivers/net/ice/base/ice_common.c | 4 +++-
drivers/net/ice/ice_acl_filter.c | 20 ++
drivers/net/ice/ice_dcf.c | 2 +-
drivers/net/ice/ice_dcf_ethdev.c | 17 ++-
drivers/net/ice/ice_dcf_parent.c
Update "ice_dcf" driver feature list.
Signed-off-by: Kevin Liu
---
doc/guides/nics/features/ice_dcf.ini | 15 +++
1 file changed, 15 insertions(+)
diff --git a/doc/guides/nics/features/ice_dcf.ini
b/doc/guides/nics/features/ice_dcf.ini
index 54073f0b88..2f3e14a24e 100644
Implement support for the power management API by implementing a
'get_monitor_addr' function that will return an address of an RX ring's
status bit.
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ice/i
Add below ops,
rxq_info_get
txq_info_get
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c
index a4f0ec36a1..02d9bd0fa7 100644
--- a/drivers/net/ice
Add implementation of xstats() functions in DCF PMD.
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.h| 23 +-
drivers/net/ice/ice_dcf_ethdev.c | 75
2 files changed, 97 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ice/ice_dcf.h b
The current virtchnl structure for enable/disable queues only supports
max 32 queue pairs. Use a new opcode and structure to indicate up to 256
queue pairs, in order to enable/disable queues in large VF case.
Signed-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c
to send the virtchnl message multiple times if needed.
Signed-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c| 50 +++
drivers/net/ice/ice_dcf.h| 10 ++-
drivers/net/ice/ice_dcf_ethdev.c | 51
time.
Signed-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c| 11 ++-
drivers/net/ice/ice_dcf.h| 3 ++-
drivers/net/ice/ice_dcf_ethdev.c | 20 ++--
drivers/net/ice/ice_dcf_ethdev.h | 1 +
4 files changed, 27 insertions(+), 8
max RSS queue
region cannot be 16 anymore. Add the function to query max RSS queue
region from PF, use it in the RSS initialization and future filters
configuration.
Signed-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c| 34 +++-
drivers/net/ice
From: Steve Yang
Add a new virtchnl function to request additional queues from PF. Current
default queue pairs number is 16. In order to support up to 256 queue
pairs DCF port, enable this request queues function.
Signed-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
drivers/net/ice
the event message and handle
it with interrupt disabled.
To solve this issue, we add the virtchnl event message handling in the
process of reading vitchnl messages in adminq from PF.
Signed-off-by: Steve Yang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c | 25
From: Alvin Zhang
In order to use custom package, unknown package should be treated
as OS default package.
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_ethdev.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ice
From: Alvin Zhang
Add definition and pattern entry for IPv4 pattern: MAC/VLAN/IPv4
Signed-off-by: Junfeng Guo
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_switch_filter.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ice
From: Alvin Zhang
Add protocol definition and pattern matching for IPv6 NVGRE tunnel.
Signed-off-by: Junfeng Guo
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_switch_filter.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ice
From: Dapeng Yu
Enable CVL DCF device reset API.
Signed-off-by: Dapeng Yu
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c | 24
drivers/net/ice/ice_dcf.h | 1 +
2 files changed, 25 insertions(+)
diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice
negotiation; and DCF is able to configure outer VLAN (0x8100)
if port VLAN is disabled to be compatible with legacy mode.
When port VLAN is updated by DCF, the DCF needs to reset to query the
new VLAN capabilities.
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf.c
From: Alvin Zhang
Below PMD ops are supported in this patch:
.vlan_filter_set = dcf_dev_vlan_filter_set
.vlan_offload_set = dcf_dev_vlan_offload_set
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
---
drivers/net/ice/ice_dcf_ethdev.c | 101 +++
1 file
Below PMD ops are supported in this patch:
.mac_addr_add = dcf_dev_add_mac_addr
.mac_addr_remove = dcf_dev_del_mac_addr
.set_mc_addr_list = dcf_set_mc_addr_list
.mac_addr_set = dcf_dev_set_default_mac_addr
Signed-off-by: Alvin Zhang
Signed-off-by: Kevin Liu
1 - 100 of 212 matches
Mail list logo