| 8da794e9 | 29-Apr-2022 |
Kevin Liu <[email protected]> |
net/ice: support power management in DCF mode
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.
Si
net/ice: support power management in DCF mode
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 <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 2abb590f | 29-Apr-2022 |
Kevin Liu <[email protected]> |
net/ice: support DCF queue information query
Add below ops, rxq_info_get txq_info_get
Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]> |
| d72071dd | 29-Apr-2022 |
Kevin Liu <[email protected]> |
net/ice: support extended statistics in DCF mode
Add implementation of xstats() functions in DCF PMD.
Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]> |
| 1e1dd4d8 | 29-Apr-2022 |
Alvin Zhang <[email protected]> |
net/ice: support DCF VLAN filter and offload
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-b
net/ice: support DCF VLAN filter and offload
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 <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 22f39073 | 29-Apr-2022 |
Kevin Liu <[email protected]> |
net/ice: support DCF MAC configuration
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 =
net/ice: support DCF MAC configuration
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 <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| cdfbcfa1 | 29-Apr-2022 |
Alvin Zhang <[email protected]> |
net/ice: support DCF promiscuous configuration
Support configuration of unicast and multicast promisc on dcf.
Signed-off-by: Alvin Zhang <[email protected]> Signed-off-by: Kevin Liu <kevinx.li
net/ice: support DCF promiscuous configuration
Support configuration of unicast and multicast promisc on dcf.
Signed-off-by: Alvin Zhang <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 9a69ac80 | 29-Apr-2022 |
Jie Wang <[email protected]> |
net/ice: add supported packet types query to DCF mode
Add API "dev_supported_ptypes_get" to DCF, that DCF pmd can get ptypes through the new API.
Signed-off-by: Jie Wang <[email protected]> Sign
net/ice: add supported packet types query to DCF mode
Add API "dev_supported_ptypes_get" to DCF, that DCF pmd can get ptypes through the new API.
Signed-off-by: Jie Wang <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 1298c7d7 | 29-Apr-2022 |
Jie Wang <[email protected]> |
net/ice: support MTU configuration in DCF mode
add API "mtu_set" to dcf, and it can configure the port mtu through cmdline.
Signed-off-by: Jie Wang <[email protected]> Signed-off-by: Kevin Liu <
net/ice: support MTU configuration in DCF mode
add API "mtu_set" to dcf, and it can configure the port mtu through cmdline.
Signed-off-by: Jie Wang <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| f6168ca7 | 29-Apr-2022 |
Robin Zhang <[email protected]> |
net/ice: support Tx buffers cleanup in DCF mode
Add support for ops rte_eth_tx_done_cleanup in dcf
Signed-off-by: Robin Zhang <[email protected]> Signed-off-by: Kevin Liu <[email protected]
net/ice: support Tx buffers cleanup in DCF mode
Add support for ops rte_eth_tx_done_cleanup in dcf
Signed-off-by: Robin Zhang <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| c223cadc | 29-Apr-2022 |
Steve Yang <[email protected]> |
net/ice: support RSS hash configuration in DCF mode
RSS HASH should be updated and queried by application, Add related ops ('.rss_hash_update', '.rss_hash_conf_get') for DCF.
Because DCF doesn't su
net/ice: support RSS hash configuration in DCF mode
RSS HASH should be updated and queried by application, Add related ops ('.rss_hash_update', '.rss_hash_conf_get') for DCF.
Because DCF doesn't support configure RSS HASH, only HASH key can be updated within ops '.rss_hash_update'.
Signed-off-by: Steve Yang <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 79b1f7ab | 29-Apr-2022 |
Steve Yang <[email protected]> |
net/ice: support RSS RETA configuration in DCF mode
RSS RETA should be updated and queried by application, Add related ops ('.reta_update', '.reta_query') for DCF.
Signed-off-by: Steve Yang <stevex
net/ice: support RSS RETA configuration in DCF mode
RSS RETA should be updated and queried by application, Add related ops ('.reta_update', '.reta_query') for DCF.
Signed-off-by: Steve Yang <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 8c03aa5e | 08-Apr-2022 |
Qi Zhang <[email protected]> |
net/ice: optimize maximum queue number calculation
Remove the limitation that max queue pair number must be 2^n. With this patch, even on a 8 ports device, the max queue pair number increased from 1
net/ice: optimize maximum queue number calculation
Remove the limitation that max queue pair number must be 2^n. With this patch, even on a 8 ports device, the max queue pair number increased from 128 to 254.
Signed-off-by: Qi Zhang <[email protected]> Acked-by: Wenjun Wu <[email protected]>
show more ...
|
| 848de957 | 18-Apr-2022 |
Ting Xu <[email protected]> |
net/ice: fix raw flow input pattern parsing
When parsing raw flow pattern in FDIR, the input parameter spec and mask are used directly and the original value will be changed. It will cause error if
net/ice: fix raw flow input pattern parsing
When parsing raw flow pattern in FDIR, the input parameter spec and mask are used directly and the original value will be changed. It will cause error if these values are used in other functions. In this patch, temporary variables are created to store the spec and mask.
Fixes: 25be39cc1760 ("net/ice: enable protocol agnostic flow offloading in FDIR") Cc: [email protected]
Signed-off-by: Ting Xu <[email protected]> Acked-by: Junfeng Guo <[email protected]>
show more ...
|
| 531d2555 | 07-Apr-2022 |
Qi Zhang <[email protected]> |
net/ice: refactor parser usage
Not necessary to create / destroy a parser instance for every raw packet rule. A global parser instance will be created in ice_flow_init and be destroyed in ice_flow_u
net/ice: refactor parser usage
Not necessary to create / destroy a parser instance for every raw packet rule. A global parser instance will be created in ice_flow_init and be destroyed in ice_flow_uninit.
Also, ice_dev_udp_tunnel_port_add has been hooked to perform corresponding parser configure. This also fix the issue that RSS engine can't support VXLAN inner through raw packet filter.
Fixes: 1b9c68120a1c ("net/ice: enable protocol agnostic flow offloading in RSS") Cc: [email protected]
Signed-off-by: Qi Zhang <[email protected]> Acked-by: Xu Ting <[email protected]>
show more ...
|
| c415bfb2 | 04-Apr-2022 |
Michael Pfeiffer <[email protected]> |
net/ice: add missing Tx burst mode name
The function ice_xmit_pkts_vec_avx2_offload was left out in the list of tx functions for ice_tx_burst_mode_get.
Fixes: 52ccdcf2fd41 ("net/ice: add AVX2 offlo
net/ice: add missing Tx burst mode name
The function ice_xmit_pkts_vec_avx2_offload was left out in the list of tx functions for ice_tx_burst_mode_get.
Fixes: 52ccdcf2fd41 ("net/ice: add AVX2 offload Tx") Cc: [email protected]
Signed-off-by: Michael Pfeiffer <[email protected]> Suggested-by: Michael Rossberg <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 5543827f | 28-Feb-2022 |
Wenjun Wu <[email protected]> |
net/ice: improve performance of Rx timestamp offload
Previously, each time a burst of packets is received, SW reads HW register and assembles it and the timestamp from descriptor together to get the
net/ice: improve performance of Rx timestamp offload
Previously, each time a burst of packets is received, SW reads HW register and assembles it and the timestamp from descriptor together to get the complete 64 bits timestamp.
This patch optimizes the algorithm. The SW only needs to check the monotonicity of the low 32bits timestamp to avoid crossing borders. Each time before SW receives a burst of packets, it should check the time difference between current time and last update time to avoid the low 32 bits timestamp cycling twice.
The patch proved a 50% ~ 70% single core performance improvement on a main stream Xeon server, this fix the performance gap for some use cases.
Fixes: f9c561ffbccc ("net/ice: fix performance for Rx timestamp") Cc: [email protected]
Signed-off-by: Wenjun Wu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 02f11b4a | 24-Mar-2022 |
Wenjun Wu <[email protected]> |
net/ice: support 256 queues
256 queues can be allowed now. This patch improves the code to support 256 queues for per PF.
Signed-off-by: Wenjun Wu <[email protected]> Acked-by: Qi Zhang <qi.z.zh
net/ice: support 256 queues
256 queues can be allowed now. This patch improves the code to support 256 queues for per PF.
Signed-off-by: Wenjun Wu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| d852fec1 | 29-Dec-2021 |
Kevin Liu <[email protected]> |
net/ice: fix Tx offload path choice
Testpmd forwards packets in checksum mode that it needs to calculate the checksum of each layer's protocol.
When setting the hardware calculates the outer UDP ch
net/ice: fix Tx offload path choice
Testpmd forwards packets in checksum mode that it needs to calculate the checksum of each layer's protocol.
When setting the hardware calculates the outer UDP checksum and the software calculates the outer IP checksum, the dev->tx_pkt_burst in ice_set_tx_function is set to ice_xmit_pkts_vec_avx2. The inner and outer UDP checksum of the tunnel packet after forwarding is wrong.The dev->tx_pkt_burst should be set to ice_xmit_pkts.
The patch adds RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM to ICE_TX_NO_VECTOR_FLAGS, set dev->tx_pkt_burst to ice_xmit_pkts. After the tunnel packet is forwarded, the inner and outer UDP checksum is correct.
At the same time, the patch of "net/ice: fix Tx Checksum offload" will cause interrupt errors in a special case that only inner IP and inner UDP checksum are set for hardware calculation. The patch is updating ICE_TX_NO_VECTOR_FLAGS, the problem can be solved, so I will restore the code modification of that patch.
Fixes: 28f9002ab67f ("net/ice: add Tx AVX512 offload path") Fixes: 295968d17407 ("ethdev: add namespace") Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx") Cc: [email protected]
Signed-off-by: Kevin Liu <[email protected]> Acked-by: Ting Xu <[email protected]> Reviewed-by: Qi Zhang <[email protected]>
show more ...
|
| 6fd3889c | 25-Feb-2022 |
Robin Zhang <[email protected]> |
net/ice/base: support E824S and E825 devices
Add support for E824S and E825 family devices.
This will be documented later in release notes since devices are not mature yet to announce to users.
Si
net/ice/base: support E824S and E825 devices
Add support for E824S and E825 family devices.
This will be documented later in release notes since devices are not mature yet to announce to users.
Signed-off-by: Robin Zhang <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
show more ...
|
| ea9fac93 | 18-Feb-2022 |
Michal Wilczynski <[email protected]> |
net/ice: fix overwriting of LSE bit by DCF
After enabling DCF on a VF, the ice driver stops receiving link updates on it's Admin Receive Queue. During the init of DCF ice_aqc_opc_get_link_status com
net/ice: fix overwriting of LSE bit by DCF
After enabling DCF on a VF, the ice driver stops receiving link updates on it's Admin Receive Queue. During the init of DCF ice_aqc_opc_get_link_status command is send to the firmware without LSE (Link Status Event) bit set. This prevents the ice driver from receiving up/down events, and correspondingly updating netdev.
Fixes: 0b02c9519432 ("net/ice: handle PF initialization by DCF") Cc: [email protected]
Signed-off-by: Michal Wilczynski <[email protected]> Acked-by: Haiyue Wang <[email protected]>
show more ...
|
| 94005e46 | 08-Feb-2022 |
Yiding Zhou <[email protected]> |
net/ice: fix build with 16-byte Rx descriptor
gcc will report error "unused parameter 'rxq'" when the macro RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use RTE_SET_USED to avoid it
Fixes: 7a340b0b4e0
net/ice: fix build with 16-byte Rx descriptor
gcc will report error "unused parameter 'rxq'" when the macro RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use RTE_SET_USED to avoid it
Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling") Cc: [email protected]
Signed-off-by: Yiding Zhou <[email protected]> Tested-by: Wei Ling <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 01b8739f | 08-Feb-2022 |
Junfeng Guo <[email protected]> |
net/ice: fix pattern check in flow director
Mask for IPv4/UDP/TCP/SCTP addr/port are not supported in current code. Thus we need to check each pattern mask. Only zero-mask and full-mask are allowed
net/ice: fix pattern check in flow director
Mask for IPv4/UDP/TCP/SCTP addr/port are not supported in current code. Thus we need to check each pattern mask. Only zero-mask and full-mask are allowed to pass the pattern parse, otherwise will return failure.
Fixes: a631c98a96a2 ("net/ice: fix pattern check for flow director parser") Cc: [email protected]
Signed-off-by: Junfeng Guo <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 92317961 | 26-Jan-2022 |
Yuying Zhang <[email protected]> |
net/ice: support drop any and steer all to queue
This patch supports drop any and steer all to queue in switch filter. Support new rte_flow pattern any to handle all packets. The usage is listed bel
net/ice: support drop any and steer all to queue
This patch supports drop any and steer all to queue in switch filter. Support new rte_flow pattern any to handle all packets. The usage is listed below.
1. drop any: flow create 0 ingress pattern any / end actions drop / end All packets received in port 0 will be dropped.
2. steer all to queue: flow create 0 ingress pattern any / end actions queue index 3 / end All packets received in port 0 will be steered to queue 3.
Signed-off-by: Yuying Zhang <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| a62f0950 | 26-Jan-2022 |
Yuying Zhang <[email protected]> |
net/ice/base: add profile validation on switch filter
Profile type was determined without validation when getting switch field vector bitmap. It caused error when associating profile id with given r
net/ice/base: add profile validation on switch filter
Profile type was determined without validation when getting switch field vector bitmap. It caused error when associating profile id with given recipe if no lookup elements were given. Add profile validation to check if the profile is existing before getting bitmap.
Fixes: 55744222e6e2 ("net/ice/base: associate recipes by profile type") Cc: [email protected]
Signed-off-by: Yuying Zhang <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 89cfd4e1 | 07-Feb-2022 |
Steve Yang <[email protected]> |
net/ice: fix dereference before null check
This patch fixes coverity issue by assigning the address of the "info->data" without "info" pointer check.
CID 375065: Null pointer dereferences (REVERS
net/ice: fix dereference before null check
This patch fixes coverity issue by assigning the address of the "info->data" without "info" pointer check.
CID 375065: Null pointer dereferences (REVERSE_INULL) Null-checking "info" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
Coverity issue: 375065 Fixes: 52569256583a ("net/ice: support module EEPROM")
Signed-off-by: Steve Yang <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|