By triggerring the VF reset from PF reset,
echo 1 > /sys/bus/pci/devices/PF-BDF/reset
the PCI bus master bit will cleared on VF, so the VF needs to enable
this bit before restart.
This patch set adds the API to enable PCI bus master.
Haiyue Wang (3):
bus/pci: enable PCI master
This adds the support to set 'Bus Master Enable' bit in the PCI command
register.
Signed-off-by: Haiyue Wang
---
drivers/bus/pci/pci_common.c | 20
drivers/bus/pci/rte_bus_pci.h | 12
drivers/bus/pci/version.map | 1 +
lib/librte_pci/rte_pci.h
The VF reset can be triggerred by the PF reset event, in this case, the
PCI bus master will be cleared, then the VF is not allowed to issue any
Memory or I/O Requests.
So after the reset event is detected, always enable the PCI bus master.
Signed-off-by: Haiyue Wang
---
drivers/net/iavf
module as the AVF
driver does.
Signed-off-by: Haiyue Wang
---
drivers/net/i40e/i40e_ethdev_vf.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 3c258ba7cf..4f1d04eb2b 100644
--- a/drivers/net/i40e
By triggerring the VF reset from PF reset,
echo 1 > /sys/bus/pci/devices/PF-BDF/reset
the PCI bus master bit will cleared on VF, so the VF needs to enable
this bit before restart.
This patch set adds the API to enable PCI bus master.
v2: rebase to new librte directory path.
Hai
This adds the support to set 'Bus Master Enable' bit in the PCI command
register.
Signed-off-by: Haiyue Wang
Tested-by: Qi Zhang
---
drivers/bus/pci/pci_common.c | 20
drivers/bus/pci/rte_bus_pci.h | 12
drivers/bus/pci/version.map | 1 +
lib/pci
The VF reset can be triggerred by the PF reset event, in this case, the
PCI bus master will be cleared, then the VF is not allowed to issue any
Memory or I/O Requests.
So after the reset event is detected, always enable the PCI bus master.
Signed-off-by: Haiyue Wang
Tested-by: Qi Zhang
module as the AVF
driver does.
Signed-off-by: Haiyue Wang
Tested-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 3c258ba7c..4f1d04eb2 100644
v2: rebase to new librte directory path.
Haiyue Wang (3):
bus/pci: enable PCI master in command register
net/iavf: enable PCI bus master after reset
net/i40e: enable PCI bus master after reset
drivers/bus/pci/pci_common.c | 20
drivers/bus/pci/rte_bus_pci.h |
module as the AVF
driver does.
Signed-off-by: Haiyue Wang
Tested-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 3c258ba7c..4f1d04eb2 100644
The VF reset can be triggerred by the PF reset event, in this case, the
PCI bus master will be cleared, then the VF is not allowed to issue any
Memory or I/O Requests.
So after the reset event is detected, always enable the PCI bus master.
Signed-off-by: Haiyue Wang
Tested-by: Qi Zhang
This adds the support to set 'Bus Master Enable' bit in the PCI command
register.
Signed-off-by: Haiyue Wang
Tested-by: Qi Zhang
---
drivers/bus/pci/pci_common.c | 20
drivers/bus/pci/rte_bus_pci.h | 12
drivers/bus/pci/version.map | 3 ++
or disable
v3: added the missed annotate symbol add time
v2: rebase to new librte directory path.
Haiyue Wang (3):
bus/pci: set PCI master in command register
net/iavf: enable PCI bus master after reset
net/i40e: enable PCI bus master after reset
drivers/bus/pci/pci_common.c |
Add the API to set 'Bus Master Enable' bit to be enabled or disabled in
the PCI command register.
Signed-off-by: Haiyue Wang
---
drivers/bus/pci/pci_common.c | 28
drivers/bus/pci/rte_bus_pci.h | 14 ++
drivers/bus/pci/version.map | 3 ++
The VF reset can be triggerred by the PF reset event, in this case, the
PCI bus master will be cleared, then the VF is not allowed to issue any
Memory or I/O Requests.
So after the reset event is detected, always enable the PCI bus master.
Signed-off-by: Haiyue Wang
---
drivers/net/iavf
module as the AVF
driver does.
Signed-off-by: Haiyue Wang
---
drivers/net/i40e/i40e_ethdev_vf.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 3c258ba7c..8b041e94c 100644
--- a/drivers/net/i40e
v4: change the API to set type, so can enable or disable
v3: added the missed annotate symbol add time
v2: rebase to new librte directory path
Haiyue Wang (3):
bus/pci: set PCI master in command register
net/iavf: enable PCI bus master after reset
net/i40e: enable PCI bus master after re
Add the API to set 'Bus Master Enable' bit to be enabled or disabled in
the PCI command register.
Signed-off-by: Haiyue Wang
Acked-by: Ray Kinsella
---
drivers/bus/pci/pci_common.c | 28
drivers/bus/pci/rte_bus_pci.h | 14 ++
drive
state, so keep
the VF reset state to mark it as I/O error.
Signed-off-by: Haiyue Wang
---
drivers/net/iavf/iavf_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c
index c06873d26..0084a083b 100644
--- a
state, so keep
the VF reset state to mark it as I/O error.
Signed-off-by: Haiyue Wang
---
drivers/net/i40e/i40e_ethdev_vf.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index cb898bdb6..bded64842
The HW debug mask is always zero, so user can't enable the related debug
function like ICE_DBG_XXX etc.
Add the devarg 'hw_debug_mask' to set the function like for ICE_DBG_NVM:
-a :88:00.0,hw_debug_mask=0x80 --log-level=pmd.net.ice.driver:8
Signed-off-by: Haiyue Wang
---
The HW debug mask is always zero, so user can't enable the related debug
function like ICE_DBG_XXX etc, add the devarg 'hw_debug_mask' to set the
debug mask log output at runtime.
Signed-off-by: Haiyue Wang
---
v2: Add the doc in ice.rst
---
doc/guides/nics/ice.rst | 8 ++
Restrict the "remove l3_l4_xsum_errors from rx_errors" to 82599 only for
hardware errata.
Fixes: 256ff05a9cae ("ixgbe: fix Rx errors statistics for UDP checksum")
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 7 +++
1 file c
The hardware oueter/inner VLAN protocol types are now updated to map to
new interface VLAN protocol types, so update the application to use new
VLAN protocol types when the rte_flow is QinQ filter type.
Signed-off-by: Haiyue Wang
---
Depends-on: series-16315 ("base code update ba
The KNI PMD name should be "net_kni".
Fixes: 75e2bc54c018 ("net/kni: add KNI PMD")
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
doc/guides/nics/kni.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/nics/kni.rst b/doc/guides/nics/kni.
#endif
'shared code block'
}
Signed-off-by: Haiyue Wang
---
drivers/net/af_xdp/rte_eth_af_xdp.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/net/af_xdp/rte_eth_af_xdp.c
b/drivers/net/af_xdp/rte_eth_af_xdp.c
index 1b6192fa44..802
Fixes: 7edc7158d771 ("net/ice: cleanup RSS/FDIR profile on device init")
Cc: sta...@dpdk.org
Reported-by: David Marchand
Signed-off-by: Haiyue Wang
---
drivers/net/ice/ice_ethdev.c | 10 --
drivers/net/ice/ice_fdir_filter.c | 2 ++
2 files changed, 10 insertions(+)
The 'proc-id' should be less than 'num-procs', if not, exit the testpmd
and show the error message.
Fixes: a550baf24af9 ("app/testpmd: support multi-process")
Signed-off-by: Haiyue Wang
---
app/test-pmd/parameters.c | 6 ++
1 file changed, 6 insertions
This extra symbol '+' should be added when patch was reapplied, and the
compiler treats it as unsigned type, so the code still runs well.
Fixes: 84108425054a ("net/iavf: support asynchronous virtual channel message")
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
-
.
Fixes: daa714d55c72 ("net/ice: handle AdminQ command by DCF")
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
drivers/net/ice/ice_dcf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c
index 4a9af3292c..a211797d9e 100644
---
.
Fixes: daa714d55c72 ("net/ice: handle AdminQ command by DCF")
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
v2: Fix the commit message typo : 'matchiing' should be 'matching'
---
drivers/net/ice/ice_dcf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drive
AdminQ command with
buffer to get the stall buffer response from previous.
Fixes: daa714d55c72 ("net/ice: handle AdminQ command by DCF")
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
v3: Reword the commit message, and remove the no needed checking.
v2: Fix the commit message typo :
If the underlying PF doesn't support a specific ethertype or the ability
to toggle VLAN insertion and/or stripping, then the VF prevents sending
an invalid message to the PF.
Fixes: 1c301e8c3cff ("net/iavf: support new VLAN capabilities")
Signed-off-by: Haiyue Wang
---
d
Add the VLAN filtering enable/disable configuration according to the VF
successfully negotiated that capability with PF.
Signed-off-by: Haiyue Wang
---
drivers/net/iavf/iavf.h| 1 +
drivers/net/iavf/iavf_ethdev.c | 7 ++
drivers/net/iavf/iavf_vchnl.c | 40
Change the fatal returning to print the error message only, so that the
VF device can continue to be configured.
Fixes: 1c301e8c3cff ("net/iavf: support new VLAN capabilities")
Signed-off-by: Haiyue Wang
---
drivers/net/iavf/iavf_ethdev.c | 4 +---
1 file changed, 1 insertion(+), 3
The PF will set the VLAN mode globally, DCF just needs to get the VLAN
mode.
Signed-off-by: Haiyue Wang
---
drivers/net/ice/base/ice_vlan_mode.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/ice/base/ice_vlan_mode.c
b/drivers/net/ice/base/ice_vlan_mode.c
index
ackets
ol_flags: PKT_RX_L4_CKSUM_BAD PKT_RX_IP_CKSUM_GOOD
Bugzilla ID: 629
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
doc/guides/nics/ixgbe.rst | 6
drivers/net/ixgbe/ixgbe_rxtx.c | 27 +++---
drivers/net/ixgbe/ixgbe_rxtx.h | 2 ++
dri
recompute the checksum
itself if needed.
Bugzilla ID: 629
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Reported-by: Paolo Valerio
Signed-off-by: Haiyue Wang
---
v2: Change the always GOOD checksum to UNKOWN if BAD.
---
doc/guides/nics/ixgbe.rst
d on outer, since the
VLAN filter is outer; in single VLAN mode, the VLAN strip is applied on
inner, since the VLAN filter is inner.
Signed-off-by: Haiyue Wang
---
drivers/net/ice/ice_ethdev.c | 297 +++
1 file changed, 131 insertions(+), 166 deletions(-)
diff --git
pport configuring device in double VLAN
mode")
Signed-off-by: Haiyue Wang
---
v2: Add the missed fix tag, and update the commit message.
---
drivers/net/ice/ice_ethdev.c | 297 +++
1 file changed, 131 insertions(+), 166 deletions(-)
diff --git a/drivers/net/ice/ic
ed to allow VLAN 0 priority tagged traffic in DVM, since
the VLAN TPID is part of filtering.
Fixes: 14e7a4b37b4f ("net/ice/base: support configuring device in double VLAN
mode")
Signed-off-by: Haiyue Wang
---
drivers/net/ice/ice_ethdev.c | 136 +--
ed to allow VLAN 0 priority tagged traffic in DVM, since
the VLAN TPID is part of filtering.
Fixes: 14e7a4b37b4f ("net/ice/base: support configuring device in double VLAN
mode")
Signed-off-by: Haiyue Wang
---
v2: Change the log level from ERR to DEBUG, since this is not fatal
error.
-
recompute the checksum
itself if needed.
Bugzilla ID: 629
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Reported-by: Paolo Valerio
Signed-off-by: Haiyue Wang
---
v3: Update the hardware errata doc name and session
v2: Change the always GOOD checksum to UNKOWN if BAD
From: Junfeng Guo
Add virtchnl fields QFI of GTPU UL/DL for AVF FDIR.
Signed-off-by: Junfeng Guo
Signed-off-by: Haiyue Wang
---
drivers/common/iavf/virtchnl.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h
index
From: Alvin Zhang
Add TCP/UDP/SCTP header checksum field selectors.
Signed-off-by: Alvin Zhang
Signed-off-by: Haiyue Wang
---
drivers/common/iavf/virtchnl.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h
index 9fa5e3e891
The VIRTCHNL_OP_QUERY_FDIR_FILTER opcode is not used, so remove it.
Signed-off-by: Haiyue Wang
---
drivers/common/iavf/virtchnl.h | 38 --
1 file changed, 38 deletions(-)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h
index
Update the driver version to trace the change.
Signed-off-by: Haiyue Wang
---
drivers/common/iavf/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/iavf/README b/drivers/common/iavf/README
index 611fdcea94..89bdbc827e 100644
--- a/drivers/common/iavf
According to DPDK ABI Policy, section 3.5.3.
https://doc.dpdk.org/guides/contributing/abi_policy.html
Promote some API reported by DPDK Symbol Bot to stable.
Haiyue Wang (3):
net/ixgbe: promote some API to stable
net/ice: promote some API to stable
ethdev: promote burst mode API to stable
rte_pmd_ixgbe_mdio_unlocked_write
rte_pmd_ixgbe_upd_fctrl_sbp
Signed-off-by: Haiyue Wang
---
drivers/net/ixgbe/rte_pmd_ixgbe.h | 5 -
drivers/net/ixgbe/version.map | 10 +-
2 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/net/ixgbe/rte_pmd_ixgbe.h
b/drivers/net/ixgbe/rte_pmd_ixgbe.h
rte_net_ice_dynflag_proto_xtr_ipv4_mask
rte_net_ice_dynflag_proto_xtr_ipv6_mask
rte_net_ice_dynflag_proto_xtr_ipv6_flow_mask
rte_net_ice_dynflag_proto_xtr_tcp_mask
Signed-off-by: Haiyue Wang
---
drivers/net/ice/rte_pmd_ice.h | 3 ---
drivers/net/ice/version.map | 11 ---
2 files changed, 4 insertions(+), 10
The DPDK Symbol Bot reports:
Please note the symbols listed below have expired. In line with the
DPDK ABI policy, they should be scheduled for removal, in the next
DPDK release.
Symbol
rte_eth_rx_burst_mode_get
rte_eth_tx_burst_mode_get
Signed-off-by: Haiyue Wang
---
lib/ethdev/rte_ethdev.h
v2: update the commit message.
Alvin Zhang (1):
common/iavf: add proto hdr field support for L4 checksum
Haiyue Wang (2):
common/iavf: remove the FDIR query opcode
common/iavf: update the driver version
Junfeng Guo (1):
common/iavf: add QFI fields for GTPU UL and DL
drivers/common
From: Junfeng Guo
The QFI is 6-bit "QoS Flow Identifier" within the GTPU Extension Header.
Add virtchnl fields QFI of GTPU UL/DL for supporting the AVF FDIR.
Signed-off-by: Junfeng Guo
Signed-off-by: Haiyue Wang
---
drivers/common/iavf/virtchnl.h | 5 +
1 file changed, 5
From: Alvin Zhang
Add TCP/UDP/SCTP header checksum field selectors, they can be used in
creating FDIR or RSS rules related to TCP/UDP/SCTP header checksum.
Signed-off-by: Alvin Zhang
Signed-off-by: Haiyue Wang
---
drivers/common/iavf/virtchnl.h | 3 +++
1 file changed, 3 insertions(+)
diff
The VIRTCHNL_OP_QUERY_FDIR_FILTER opcode is not used, so remove it.
Signed-off-by: Haiyue Wang
Acked-by: Qi Zhang
---
drivers/common/iavf/virtchnl.h | 38 --
1 file changed, 38 deletions(-)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf
Update the driver version to trace the change.
Signed-off-by: Haiyue Wang
Acked-by: Qi Zhang
---
drivers/common/iavf/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/iavf/README b/drivers/common/iavf/README
index 611fdcea94..89bdbc827e 100644
--- a
The DPDK Symbol Bot reports:
Please note the symbols listed below have expired. In line with the
DPDK ABI policy, they should be scheduled for removal, in the next
DPDK release.
Symbol
rte_eth_rx_burst_mode_get
rte_eth_tx_burst_mode_get
Signed-off-by: Haiyue Wang
Acked-by: Ferruh Yigit
Acked
v3: adjust the commit title.
v2: update the commit message.
Alvin Zhang (1):
common/iavf: enable hash calculation based on L4 checksum
Haiyue Wang (2):
common/iavf: remove the FDIR query opcode
common/iavf: update the driver version
Junfeng Guo (1):
common/iavf: add QFI fields for GTPU
From: Junfeng Guo
The QFI is 6-bit "QoS Flow Identifier" within the GTPU Extension Header.
Add virtchnl fields QFI of GTPU UL/DL for supporting the AVF FDIR.
Signed-off-by: Junfeng Guo
Signed-off-by: Haiyue Wang
---
drivers/common/iavf/virtchnl.h | 5 +
1 file changed, 5
From: Alvin Zhang
Add TCP/UDP/SCTP header checksum field selectors, they can be used in
creating FDIR or RSS rules related to TCP/UDP/SCTP header checksum.
Signed-off-by: Alvin Zhang
Signed-off-by: Haiyue Wang
---
drivers/common/iavf/virtchnl.h | 3 +++
1 file changed, 3 insertions(+)
diff
The VIRTCHNL_OP_QUERY_FDIR_FILTER opcode is not used, so remove it.
Signed-off-by: Haiyue Wang
Acked-by: Qi Zhang
---
drivers/common/iavf/virtchnl.h | 38 --
1 file changed, 38 deletions(-)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf
Update the driver version to trace the change.
Signed-off-by: Haiyue Wang
Acked-by: Qi Zhang
---
drivers/common/iavf/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/iavf/README b/drivers/common/iavf/README
index 611fdcea94..89bdbc827e 100644
--- a
The function 'ice_is_profile_rule' is defined as 'ice_is_prof_rule' in
base code, which has the exactly same function body.
So remove the 'ice_is_profile_rule', use the 'ice_is_prof_rule' instead.
Signed-off-by: Haiyue Wang
---
drivers/net/ice/ice_switch
Align to Tx desc number check indent, which may help to understand Rx
descriptor limits member in the alignment comparison view. And remove
the extra empty line.
Signed-off-by: Haiyue Wang
---
lib/ethdev/rte_ethdev.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib
The node clone API parameter 'name' is the new node's postfix name, not
the final node name, so it makes no sense to check it. And the new name
will be checked duplicate when calling API '__rte_node_register'.
Signed-off-by: Haiyue Wang
---
lib/graph/node.c | 4
1
k the real name
duplicate.
Signed-off-by: Haiyue Wang
---
v2: update the test case.
---
app/test/test_graph.c | 10 +-
lib/graph/node.c | 4
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/app/test/test_graph.c b/app/test/test_graph.c
index 35e1a95b89..692360e
k the real name
duplicate.
Signed-off-by: Haiyue Wang
---
v3: No need to define another node id var.
v2: update the test case.
---
app/test/test_graph.c | 6 ++
lib/graph/node.c | 4
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/app/test/test_graph.c b/app/test/test
Remove the x86 top atomic header include from the architecture related
header file, since this x86 top atomic header file has included them.
Signed-off-by: Haiyue Wang
---
lib/eal/x86/include/rte_atomic_32.h | 1 -
lib/eal/x86/include/rte_atomic_64.h | 1 -
2 files changed, 2 deletions(-)
diff
The array rss_key has size 'vf->vf_res->rss_key_size', the array index
should be less than that.
Cc: sta...@dpdk.org
Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Signed-off-by: Haiyue Wang
---
drivers/net/iavf/iavf_ethdev.c | 2 +-
1 file changed,
ome comments in source code
v5: error handling if bus master enable failed
v4: change the API to set type, so can enable or disable
v3: added the missed annotate symbol add time
v2: rebase to new librte directory path
Haiyue Wang (3):
bus/pci: set PCI master in command register
net/iavf: ena
Add the API to set 'Bus Master Enable' bit to be enabled or disabled in
the PCI command register.
Signed-off-by: Haiyue Wang
Acked-by: Ray Kinsella
---
drivers/bus/pci/pci_common.c | 28
drivers/bus/pci/rte_bus_pci.h | 14 ++
drive
state, so keep
the VF reset state to mark it as I/O error.
Signed-off-by: Haiyue Wang
---
drivers/net/iavf/iavf_ethdev.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c
index d688c31cfb..a7ef7a6d4d
state, so keep
the VF reset state to mark it as I/O error.
Signed-off-by: Haiyue Wang
---
drivers/net/i40e/i40e_ethdev_vf.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index cb898bdb68
ome description.
v6: update the annotate symbol version, and add some comments in source code
v5: error handling if bus master enable failed
v4: change the API to set type, so can enable or disable
v3: added the missed annotate symbol add time
v2: rebase to new librte directory path
Haiyue Wang (3):
bus/
Add the API to set 'Bus Master Enable' bit to be enabled or disabled in
the PCI command register.
Signed-off-by: Haiyue Wang
Acked-by: Ray Kinsella
---
drivers/bus/pci/pci_common.c | 28
drivers/bus/pci/rte_bus_pci.h | 14 ++
drive
keep
the VF reset state to mark it as I/O error.
Signed-off-by: Haiyue Wang
---
drivers/net/iavf/iavf_ethdev.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c
index d688c31cfb..a7ef7a6d4d 100644
--- a
keep
the VF reset state to mark it as I/O error.
Signed-off-by: Haiyue Wang
---
drivers/net/i40e/i40e_ethdev_vf.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index cb898bdb68..385ebedcd3
Simei and Wenjun have been appointed the new maintainers for the e1000
PMD. Update the MAINTAINERS file to reflect this.
Signed-off-by: Haiyue Wang
---
MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 15008c03bc..9d098161b2 100644
Qiming and Wenjun have been appointed the new maintainers for the ixgbe
PMD. Update the MAINTAINERS file to reflect this.
Signed-off-by: Haiyue Wang
---
MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9d098161b2..513748b45b
Junfeng and Simei have been appointed the new maintainers for the igc
PMD. Update the MAINTAINERS file to reflect this.
Signed-off-by: Haiyue Wang
---
MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 513748b45b..21c581dc61 100644
The index description isn't right, correct it as the Programmer's guide
said.
Also correct the guide's figure description about 'Dequeue First Step'.
Signed-off-by: Haiyue Wang
---
doc/guides/prog_guide/ring_lib.rst | 2 +-
lib/ring/rte_ring_core.h | 4
words, make the dynamic mbuf string name as API, not the data
object which is defined in each PMD.
Signed-off-by: Haiyue Wang
---
drivers/net/ice/ice_ethdev.c | 104 ++--
drivers/net/ice/ice_ethdev.h | 1 +
drivers/net/ice/ice_rxtx.c| 49
drivers/net/ice/ice_rxtx.h
, not the whole dynamic mbuf data objects.
Signed-off-by: Haiyue Wang
---
v2: update the commit message, doc; and add the error handling for
dynamic mbuf lookup. Also keep the metadata format defination.
---
doc/guides/nics/ice.rst | 16 ++--
drivers/net/ice/ice_ethdev.c | 117
, not the whole dynamic mbuf data objects.
Signed-off-by: Haiyue Wang
---
v3: Fix 'regiser' typo in commit message.
v2: update the commit message, doc; and add the error handling for
dynamic mbuf lookup. Also keep the metadata format defination.
---
doc/guides/nics/ice.rst
Rename the dynamic mbuf name to 'intel_pmd_xxx' format, so that the
Intel PMD which has the protocol extraction feature will share the
same dynamic field/flags space in mbuf.
Signed-off-by: Haiyue Wang
---
v4: "who register, who use", even the PMD has the duplicated code wit
The initialization for the handler of Rx FlexiMD fields extraction into
mbuf is missed, it will cause segmentation fault (core dumped).
Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
Reported-by: Alvin Zhang
Signed-off-by: Haiyue Wang
---
drivers/net/ice/ice_
exiMD handling")
Reported-by: Alvin Zhang
Signed-off-by: Haiyue Wang
---
v2: The RSS hash is wrong, fix it.
---
drivers/net/ice/ice_dcf.c | 1 +
drivers/net/ice/ice_rxtx.c | 28 +++-
drivers/net/ice/ice_rxtx.h | 2 ++
3 files changed, 30 insertions(+), 1 deletio
Do the VF message basic validation such as OPCODE message length check,
some special OPCODE message format check, to protect the i40e PMD from
malicious VF message attack.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Haiyue Wang
---
drivers/net/i40e/i40e
Add the missed 'volatile' keyword to avoid the warning for type
mismatch, which will be treated as compiler error if WERROR_FLAGS
is enabled.
Fixes: bfd38e4d708b ("net/avf: fix missing compiler error flags")
CC: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
drivers/net
om PF)
Signed-off-by: Haiyue Wang
---
drivers/net/i40e/i40e_ethdev.c | 4 ++--
drivers/net/i40e/rte_pmd_i40e.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index f7a685c8c..ed5cd9c59 100644
--- a/drivers/net
0x06060606 20G KR2 (HP)
0x158A 0x06060606 25G Backplane
0x158B 0x06060606 25G SFP28
Fixes: c9223a2bf53c ("i40e: workaround for XL710 performance")
Fixes: 75d133dd3296 ("net/i40e: enable 25G device")
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
v2 -> v3:
- Ch
It should be IPv6, not IPv4.
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
lib/librte_mbuf/rte_mbuf_ptype.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/librte_mbuf/rte_mbuf_ptype.h b/lib/librte_mbuf/rte_mbuf_ptype.h
index 79ea314..01acc66 100644
--- a/lib
0x06060606 20G KR2 (HP)
0x158A 0x06060606 25G Backplane
0x158B 0x06060606 25G SFP28
Fixes: c9223a2bf53c ("i40e: workaround for XL710 performance")
Fixes: 75d133dd3296 ("net/i40e: enable 25G device")
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
drivers/net/i40
0x06060606 20G KR2 (HP)
0x158A 0x06060606 25G Backplane
0x158B 0x06060606 25G SFP28
Fixes: c9223a2bf53c ("i40e: workaround for XL710 performance")
Fixes: 75d133dd3296 ("net/i40e: enable 25G device")
Cc: sta...@dpdk.org
Signed-off-by: Haiyue Wang
---
drivers/net/i40
The iavf base code can be shared with iavf, i40evf PMDs, so make it as
common share part firstly.
Signed-off-by: Haiyue Wang
---
drivers/common/Makefile | 5 +
drivers/common/iavf/Makefile | 28 +
drivers/{net/iavf/base => common/iavf}/README |
Use the standand MAC address length definition in PMD's scope.
Signed-off-by: Haiyue Wang
---
drivers/net/ice/ice_ethdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index 2cbd82c94..80b422a27 1
Use the fast copy an Ethernet address API to do MAC assignment, instead
of calling rte_memcpy function.
Signed-off-by: Haiyue Wang
---
v2: Update the commit title and message, use the rte_ether_addr_copy API
instead of just changing the length definition to make code style clean.
drivers
Use the API rte_ether_addr_copy to do MAC assignment, instead of
calling rte_memcpy function directly.
Signed-off-by: Haiyue Wang
---
v3: Update the commit message
v2: Update the commit title and message, use the rte_ether_addr_copy API
instead of just changing the length definition to make
Change the iavf base code as driver common library, it is used by iavf
PMD now, and it can be used by i40evf PMD in the future.
Signed-off-by: Haiyue Wang
---
v2: update the commit message, and rename the iavf_main.c to iavf_impl.c
drivers/common/Makefile | 5 +
drivers
Change the iavf base code as driver common library, it is used by iavf
PMD now, and it can be used by other Intel SR-IOV PMDs in the future.
Signed-off-by: Haiyue Wang
---
v3: update the commit message.
v2: update the commit message, and rename the iavf_main.c to iavf_impl.c
drivers/common
1 - 100 of 369 matches
Mail list logo