Replace the use of gcc builtin __atomic_xxx intrinsics with
corresponding rte_atomic_xxx optional stdatomic API.
Signed-off-by: Jie Hai
---
drivers/net/hns3/hns3_cmd.c | 24 +++
drivers/net/hns3/hns3_dcb.c | 3 +-
drivers/net/hns3/hns3_ethdev.c| 52 ++
The first parameter of rte_atomic_exchange_explicit() must be a
pointer to _Atomic type. If run command "meson setup --werror
-Denable_stdatomic=true build && ninja -C build", error will occur.
Thia patch fixes it.
Fixes: 1ec6a845b5cb ("eal: use stdatomic API in public headers")
Cc: sta...@dpdk.or
This patchset fixes bug on stdatomic API in lib and test,
and replaces all __atomic_XX with rte_atomic_XXX of hns3 driver.
Jie Hai (2):
eal: fix constraints on stdatomic API
net/hns3: use stdatomic API
app/test/test_atomic.c | 6 +--
drivers/net/hns3/hns3_cmd.c | 24 +
On 2023/11/28 20:41, Huisong Li wrote:
Hi, huisong,
Acked-by: Jie Hai
Add Traffic Manager feature for hns3.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/hns3.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/hns3.ini
b/doc/guid
From: Long Wu
If the Rx loop is broken and PMD does not update the descriptor, packets
will can not be received successfully.
Fixes: 766d51c9ce29 ("net/nfp: merge receive function")
Cc: chaoyong...@corigine.com
Cc: sta...@dpdk.org
Signed-off-by: Long Wu
Reviewed-by: Chaoyong He
Reviewed-by: P
From: Long Wu
If the Rx ring is full and do not care its return value, this will
cause memory leak.
Fixes: 766d51c9ce29 ("net/nfp: merge receive function")
Cc: chaoyong...@corigine.com
Cc: sta...@dpdk.org
Signed-off-by: Long Wu
Reviewed-by: Chaoyong He
Reviewed-by: Peng Zhang
---
drivers/ne
Fix two problems in the receive function.
Long Wu (2):
net/nfp: fix receive function memory leak
net/nfp: fix invalid Rx descriptor data
drivers/net/nfp/flower/nfp_flower.c | 4 +++-
drivers/net/nfp/nfp_rxtx.c | 18 +-
2 files changed, 12 insertions(+), 10 deletions
This patch enable three FEC related ops in ice driver. As no speed
information can get from HW, this patch only show FEC capability.
Signed-off-by: Qiming Yang
---
drivers/net/ice/ice_ethdev.c | 175 +++
1 file changed, 175 insertions(+)
diff --git a/drivers/net/
kindly ping for review.
在 2023/11/28 20:40, Huisong Li 写道:
The traffic management API has been introduced for a long time, please see
commit 5d109deffa87 ("ethdev: add traffic management API").
And many PMD also support this feature. So this series add this feature to
features.rst, default.ini a
From: Zerun Fu
Add support for configuring FEC mode. This feature allows to set any
currently supported FEC mode.
Signed-off-by: Zerun Fu
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
Reviewed-by: Chaoyong He
---
drivers/net/nfp/nfp_ethdev.c | 1 +
drivers/net/nfp/nfp_net_common.c | 5
From: Zerun Fu
Add support for querying current FEC mode from the device.
Signed-off-by: Zerun Fu
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
Reviewed-by: Chaoyong He
---
drivers/net/nfp/nfp_ethdev.c | 1 +
drivers/net/nfp/nfp_net_common.c | 60
driver
From: Zerun Fu
Add support for querying FEC capabilities from the device. This
feature only shows the current port speed and the supported FEC
modes at that speed.
Signed-off-by: Zerun Fu
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
Reviewed-by: Chaoyong He
---
doc/guides/nics/features/nfp.
From: Zerun Fu
Modify the link update function to get the new port speed state
after the port speed is changed, including the new speed and
whether the auto negotiation mode is enabled.
Signed-off-by: Zerun Fu
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
Reviewed-by: Chaoyong He
---
drivers
From: Zerun Fu
Add support of setting speed of port. This feature allows to set any
currently supported speed. When the port starts as default, the auto
negotiation mode will be set if it is supported.
Signed-off-by: Zerun Fu
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
Reviewed-by: Chaoyong
From: Zerun Fu
Get the currently supported speed value from NSP. And the VF
can not get the speed capacity now.
Signed-off-by: Zerun Fu
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
Reviewed-by: Chaoyong He
---
drivers/net/nfp/nfp_ethdev.c | 121 ++
drivers/n
From: Zerun Fu
When switching speed the BSP needs to be informed whether
the firmware needs to be switched. Considering that whether
application firmware is indifferent to port speed is a
firmware property instead of port property, now use a new
rtsym to get the property. So 'sp_indiff' is writte
This patch series add the support of link auto negotiation feature,
including speed and FEC mode.
Zerun Fu (7):
net/nfp: set a new parameter to hwinfo
net/nfp: support getting speed capability
net/nfp: support setting port speed
net/nfp: modify the link update function
net/nfp: support g
> On 12/5/2023 2:54 AM, Chaoyong He wrote:
> > Add the very basic rte_flow support for corenic firmware.
> >
> > ---
> > v2:
> > * Update the 'nfp.ini' document.
> > * Rebase to the latest main branch.
> > ---
> >
> > Chaoyong He (11):
> > net/nfp: move some source files
> > net/nfp: add the st
On Sun, Dec 10, 2023 at 9:56 AM Stephen Hemminger
wrote:
>
> On Sat, 9 Dec 2023 17:24:44 -0800
> Ajit Khaparde wrote:
>
> > + PMD_DRV_LOG(INFO, "Number of Mcast MACs added (%d) exceeded
> > Max supported (%d)\n",
> > + nb_mc_addr, BNXT_MAX_MC_ADDRS);
>
> Use
On Sat, 9 Dec 2023 17:24:44 -0800
Ajit Khaparde wrote:
> + PMD_DRV_LOG(INFO, "Number of Mcast MACs added (%d) exceeded Max
> supported (%d)\n",
> + nb_mc_addr, BNXT_MAX_MC_ADDRS);
Use %u for unsigned variables.
> + PMD_DRV_LOG(INFO, "Turning on
When offloading rules with the encap action, the HW may calculate entropy based
on the encap protocol.
Each HW can implement a different algorithm.
When the application receives packets that should have been
encaped by the HW, but didn't reach this stage yet (for example TCP SYN
packets),
then w
21 matches
Mail list logo