Compare commits

...

7 Commits

Author SHA1 Message Date
Andrew Yourtchenko
cfa0953251 misc: VPP 24.10 Release Notes
Type: docs
Change-Id: I3774ed636671c3e7f2cacc8ef910c1f3476e7933
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-10-29 21:29:53 -04:00
Dave Wallace
21b272622f build: fix dpdk mellanox driver build setting
- dpdk mellanox driver setting requires rdma-core.mk is included
  before dpdk.mk makefile.  Include check for rdma-core_version
  variable definition in dpdk.mk to prevent a re-occurance of this
  issue.

Type: fix
Fixes: 70522a1dc

Change-Id: I297cbd734ac7abe970eac7fb317d06b7acfc5a40
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
(cherry picked from commit 056b7d05875083fcb30637db848607c47cc9d3c9)
2024-10-22 14:11:56 +00:00
Alok Mishra
466b350538 octeon: fix pause flow control for lbk/sdp devices
Pause frame flow control is not supported for LBK (Loopback) and
SDP (System DPI Packet Interface Unit) devices.
This patch skips the pause flow configuration for these devices.

Type: fix
Fixes: 53239b4

Signed-off-by: Alok Mishra <almishra@marvell.com>
Change-Id: I3096fcef9df4ad59d64bfabb83f91f13813128a8
(cherry picked from commit d8022139ebf5f2cfb0e207b21baf6aa22e908bb9)
2024-10-04 12:43:04 +00:00
Alok Mishra
d8d09a9e8a octeon: enable h/w vlan tagging support
This patch enables h/w vlan tagging by setting MAX_VTAG_INS
field in NIX_AF_SMQ_CFG register.
This is required to configure VLAN tag insertion
by the hardware for egress packets

Type: feature

Signed-off-by: Alok Mishra <almishra@marvell.com>
Change-Id: Ifcdf9c1e5b0b8ddc27cabab597ae91780ceca095
(cherry picked from commit e07c5fe467eac3c236adae4dc080c40302a0a8e5)
2024-10-04 12:42:25 +00:00
Tom Jones
4a43f69ce4 vppinfra: exclude clib_dt_node_add_child on FreeBSD
clib_dt_read_from_sysfs is the only user of clib_dt_node_add_child, on
FreeBSD this causes a build failure due to an unused function. Place
clib_dt_node_add_child behind an include guard for linux only.

Type: fix
Change-Id: I9641ffd10d9d15e1e552f570cd386211d3b4ab39
Signed-off-by: Tom Jones <thj@freebsd.org>
(cherry picked from commit 33fec83487b3f88203b0a854f7aec89d6e405cd7)
2024-09-26 13:03:21 +00:00
Tom Jones
45bd5786b1 dpdk: Enable dpdk build on FreeBSD
Type: improvement
Change-Id: If897f3bdfc131f8d7c01718057b54087eff02d7a
Signed-off-by: Tom Jones <thj@freebsd.org>
(cherry picked from commit 70522a1dc211013cc792f2c09e6a3500524dc1d9)
2024-09-26 10:41:23 +00:00
Andrew Yourtchenko
b91e15387d misc: Initial changes for stable/2410 branch
Type: docs
Change-Id: I08effaf1b16c2372b4883cf9c9cc5c4a441efe37
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2024-09-25 12:18:19 +02:00
8 changed files with 524 additions and 7 deletions

View File

@ -2,3 +2,4 @@
host=gerrit.fd.io
port=29418
project=vpp
defaultbranch=stable/2410

View File

@ -51,10 +51,10 @@ include packages/ipsec-mb.mk
include packages/quicly.mk
ifneq ($(shell uname), FreeBSD)
include packages/rdma-core.mk
include packages/dpdk.mk
include packages/xdp-tools.mk
include packages/octeon-roc.mk
endif # FreeBSD
endif # ! FreeBSD
include packages/dpdk.mk
.PHONY: clean
clean:
@ -62,14 +62,14 @@ clean:
.PHONY: install
ifeq ($(shell uname), FreeBSD)
install: $(if $(ARCH_X86_64), ipsec-mb-install) quicly-install
install: $(if $(ARCH_X86_64), ipsec-mb-install) dpdk-install quicly-install
else
install: $(if $(ARCH_X86_64), ipsec-mb-install) dpdk-install rdma-core-install quicly-install xdp-tools-install $(if $(AARCH64), octeon-roc-install)
endif # FreeBSD
.PHONY: config
ifeq ($(shell uname), FreeBSD)
config: $(if $(ARCH_X86_64), ipsec-mb-config) quicly-build
config: $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config quicly-build
else
config: $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config rdma-core-config quicly-build
endif # FreeBSD

View File

@ -39,6 +39,9 @@ dpdk_depends := $(if $(ARCH_X86_64), ipsec-mb)
else
dpdk_depends := rdma-core $(if $(ARCH_X86_64), ipsec-mb)
endif
ifeq ($(rdma-core_version),)
$(error Missing rdma-core_version)
endif
DPDK_MLX_DEFAULT := $(shell if grep -q "rdma=$(rdma-core_version) dpdk=$(dpdk_version)" mlx_rdma_dpdk_matrix.txt; then echo 'y'; else echo 'n'; fi)
DPDK_MLX4_PMD ?= $(DPDK_MLX_DEFAULT)
DPDK_MLX5_PMD ?= $(DPDK_MLX_DEFAULT)

View File

@ -6,6 +6,7 @@ Release notes
.. toctree::
:maxdepth: 2
v24.10
v24.06
v24.02
v23.10

File diff suppressed because it is too large Load Diff

View File

@ -110,6 +110,7 @@ oct_init_nix (vlib_main_t *vm, vnet_dev_t *dev)
.reta_sz = ROC_NIX_RSS_RETA_SZ_256,
.max_sqb_count = 512,
.pci_dev = &cd->plt_pci_dev,
.hw_vlan_ins = true,
};
if ((rrv = roc_nix_dev_init (cd->nix)))

View File

@ -64,8 +64,13 @@ oct_port_pause_flow_control_init (vlib_main_t *vm, vnet_dev_port_t *port)
struct roc_nix_rq *rq;
int rrv;
/* pause flow control is not supported on SDP/LBK devices */
if (roc_nix_is_sdp (nix) || roc_nix_is_lbk (nix))
return VNET_DEV_ERR_UNSUPPORTED_DEVICE;
{
log_notice (dev,
"pause flow control is not supported on SDP/LBK devices");
return VNET_DEV_OK;
}
fc_cfg.type = ROC_NIX_FC_RXCHAN_CFG;
fc_cfg.rxchan_cfg.enable = true;

View File

@ -11,8 +11,6 @@
#include <fcntl.h>
#include <dirent.h>
#endif
static_always_inline clib_dt_node_t *
clib_dt_node_add_child (clib_dt_main_t *dm, clib_dt_node_t *n, char *name)
{
@ -42,6 +40,7 @@ clib_dt_node_add_child (clib_dt_main_t *dm, clib_dt_node_t *n, char *name)
return cn;
}
#endif
void
clib_dt_main_free (clib_dt_main_t *dm)