Commit Graph

1230 Commits

Author SHA1 Message Date
johnjiang d51db78cf0
Merge pull request #864 from shanakaprageeth/dev-ci
Migration to GitHub Actions on Ubuntu 24 from Travis CI
2025-03-14 15:48:44 +08:00
johnjiang 7c224b8cd6
Merge pull request #865 from liujinhui-job/fix-syscall-compile-error
fix compile syscall directory compile issue
2025-03-14 15:45:33 +08:00
dependabot[bot] 8574852747 Bump cryptography from 43.0.1 to 44.0.1 in /dpdk/dts
Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.1 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/43.0.1...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 15:25:47 +08:00
liujinhui-job 1fe6dd4439 m_gethdr will call m_pkthdr_init also, so there is no need to initialize it again. 2025-03-14 15:25:34 +08:00
liujinhui-job 676ed04695 fix compile syscall directory compile issue 2025-03-12 11:04:56 +00:00
Shanaka Prageeth 1f17aae416 [fix]: badge 2025-03-12 12:44:39 +09:00
Shanaka Prageeth d4bdf34fb6 [fix}: ci-pipeline 2025-03-12 12:34:51 +09:00
Shanaka Prageeth ad80531b65 wip 2025-03-12 12:18:58 +09:00
Shanaka Prageeth 597501c7da wip 2025-03-12 11:58:57 +09:00
Shanaka Prageeth 40e0bdd8b4 wip 2025-03-12 11:52:52 +09:00
Shanaka Prageeth 0069a82314 wip 2025-03-12 11:39:11 +09:00
Shanaka Prageeth b75208fbd5 wip 2025-03-12 11:10:56 +09:00
Shanaka Prageeth 95880c5b14 wip 2025-03-12 11:04:28 +09:00
Shanaka Prageeth 2a14559b9a wip 2025-03-12 10:57:47 +09:00
Shanaka Prageeth 61c8ed72b8 Merge branch 'dev-ci' of https://github.com/shanakaprageeth/f-stack into dev-ci 2025-03-12 10:36:11 +09:00
Shanaka Prageeth a78e3e50ce [ci]:wip 2025-03-12 10:35:46 +09:00
Shanaka Prageeth 266f0d21c4
Update ci.yml 2025-03-12 10:33:57 +09:00
Shanaka Prageeth 49cd29c63f [ci]:wip 2025-03-12 10:30:43 +09:00
johnjiang 8346014d88
Merge pull request #861 from liujinhui-job/fstack-delete-mbuf-double-init
m_gethdr will call m_pkthdr_init also, so there is no need to initialize it again
2025-03-03 17:10:35 +08:00
johnjiang 34a1d56fdb
Merge pull request #859 from F-Stack/dependabot/pip/dpdk/dts/cryptography-44.0.1
Bump cryptography from 43.0.1 to 44.0.1 in /dpdk/dts
2025-03-03 16:25:15 +08:00
liujh_llpt 575391befd m_gethdr will call m_pkthdr_init also, so there is no need to initialize it again. 2025-02-20 16:32:20 +08:00
dependabot[bot] cd2aae6391
Bump cryptography from 43.0.1 to 44.0.1 in /dpdk/dts
Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.1 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/43.0.1...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 19:13:30 +00:00
fengbojiang bdd7bed829 Sync DPDK's modifies.
1. igb_uio.
 2. mlx5 drivers.
 3. i40e drivers.
 4. Freebsd-13.1.
2025-01-10 22:03:29 +08:00
jfb8856606 29c7d58350 Remove redundant dpdk files. 2025-01-10 12:58:55 +00:00
johnjiang 15eb0f40bf
Merge pull request #856 from F-Stack/dependabot/pip/dpdk/dts/paramiko-3.4.0
Bump paramiko from 3.2.0 to 3.4.0 in /dpdk/dts
2025-01-10 20:14:02 +08:00
johnjiang 4ab60d270f
Merge pull request #857 from F-Stack/dependabot/pip/dpdk/dts/cryptography-43.0.1
Bump cryptography from 41.0.2 to 43.0.1 in /dpdk/dts
2025-01-10 20:13:47 +08:00
fengbojiang b244ea900d F-Stack support DPDK-23.11.3(LTS). 2025-01-10 19:56:51 +08:00
dependabot[bot] 7387583088
Bump cryptography from 41.0.2 to 43.0.1 in /dpdk/dts
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.2 to 43.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.2...43.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-10 11:53:39 +00:00
dependabot[bot] 083aaaec9f
Bump paramiko from 3.2.0 to 3.4.0 in /dpdk/dts
Bumps [paramiko](https://github.com/paramiko/paramiko) from 3.2.0 to 3.4.0.
- [Commits](https://github.com/paramiko/paramiko/compare/3.2.0...3.4.0)

---
updated-dependencies:
- dependency-name: paramiko
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-10 11:53:36 +00:00
jfb8856606 7bfbc467ce DPDK: Upgrade to 23.11.3. 2025-01-10 11:50:43 +00:00
johnjiang 63d0cc0b90
Merge pull request #852 from zcjie1/dev
set the IP-type flag for tx_csum_l4 offload
2025-01-03 10:41:00 +08:00
zcj 3dbcad7caf set the IP-type flag for tx_csum_l4 offload 2024-12-13 02:20:56 +08:00
fengbojiang 8c6094901e update tools/README.md. 2024-11-26 12:18:31 +08:00
fengbojiang a7f935c734 Update 1.24 release note. 2024-10-17 21:26:55 +08:00
fengbojiang 4d6dfdc51f Disable build driver crypto/openssl for Redhat/Centos 7.x. 2024-10-17 20:14:49 +08:00
fengbojiang a2cb0198e1 Ignore a compilation warning of drivers mlx5.
dlsym(if_indextoname) conversion of 'void *' pointer to function pointer type.
2024-10-17 19:17:32 +08:00
fengbojiang 75ca4dc6e5 kni_net.c compatible with -Wstringop-overflow with different gcc versions. 2024-10-17 19:15:13 +08:00
dependabot[bot] afcab23454 Bump black from 22.10.0 to 24.3.0 in /dpdk/dts
Bumps [black](https://github.com/psf/black) from 22.10.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.10.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-17 19:10:52 +08:00
fengbojiang 828eb5a6b9 Sync DPDK's modifies.
1. igb_uio.
    2. mlx5 drivers.
    3. i40e drivers.
    4. Freebsd-13.1.
2024-10-17 18:55:42 +08:00
jfb8856606 f27ff49313 DPDK: Upgrade to 22.11.6. 2024-10-17 10:26:34 +00:00
fengbojiang 1152067e93 The msghdr.msg_iov->iov_base and msghdr.msg_iov->iov_len of ff_sendmsg() and ff_recvmsg() compatible with the Linux.
Note: linux2freebsd_msghdr and freebsd2linux_msghdr must be called in sequence and in pairs.
2024-10-17 16:29:08 +08:00
fengbojiang 615b66a344 Modif some format. 2024-10-17 16:23:14 +08:00
fengbojiang f069dcdcb7 Support KNI ratelimit. 2024-10-17 16:12:43 +08:00
fengbojiang 5c144b199a Use soclose() instead of sofree() when initializing the configuration stack IP. 2024-10-17 15:19:13 +08:00
fengbojiang f95b80ee63 Support automatic configuration of vlan and vlan ip, routing and the simplest policy routing
1. Automatic configuration of multi vlan vip(IPv4 and IPv6).
	1.1 And support automatic multi default route for per vlan, via different fib num.
	1.2 IPv6 not support set multi route fib now, just use RT_DEFAULT_FIB, And you can set multi fib use tool 'ff_route'.
	1.3 If vlan_flag is true, all port's addrs/vips will not to set, just create the iface.
2. Automatic configuration of simple policy routing.
	2.1 Only supports the simplest policy routing settings, like:
		`ff_ipfw -P 0 add 100 setfib 0 ip from 125.94.59.0/24 to any out`
		`from 125.94.59.0/24` need set addr is '125.94.59.0', netmask is '255.255.255.0'
	2.2 IPv6 does not support automatic configuration of policy routing. If ipv6 policy routing is required, you still need to use ff_ipfw to manually configure it.
2024-10-17 15:01:51 +08:00
fengbojiang 0dc9cb4bbd Add APi `ff_dpdk_raw_packet_send` to suppoort RAW packet send direty with DPDK by user APP not via socket. 2024-10-15 15:22:45 +08:00
fengbojiang f4e3243725 Modify IPv4 vip addrs' broadaddr from `x.x.x.255` to `x.x.x.x`, same as
vip addr, because vips' netmask only support `255.255.255.255` now.
2024-10-15 15:18:42 +08:00
fengbojiang 1023238cee IPv6 addr and vaddr set autoconf by default. 2024-10-15 15:14:06 +08:00
fengbojiang 238513c034 modify INI_MAX_LINE from 200 to 2048 in lib/ff_ini_parser.h. 2024-10-15 15:11:37 +08:00
fengbojiang 9fd8e44b49 modify ff_port_cfg.port_id's type from uint8_t to unint16_t. 2024-10-15 15:00:16 +08:00