bonding Linux以太网绑定驱动程序HOWTO最新更新:2011年4月27日最初发布:Thomas Davis <lda.gov上的tadavis>更正,HA扩展:2000/10 / 03-15:威利·塔罗(Willy Tarreau)米奇·威廉姆斯<intel.com上的mitch.a.williams>介绍Linux绑定驱动程序提供了一种用于将多个网络接口聚合为单个逻辑“绑定”接口的方法。绑定接口的行为取决于模式。一般来说,模式提供热备用或负载平衡服务。另外,可以执行链路完整
initrd/initramfs文件制作及解压 MKINITRAMFS(8)系统管理MKINITRAMFS(8)名称mkinitramfs-用于生成initramfs image的低级工具概要 mkinitramfs [option]... -o outfile [version] mkinitramfs -h描述mkinitramfs脚本生成一个initramfs映像。initramfs是压缩的cpio归档文件。可以将归档文件与相应的Linux内核一起用于同一体系结构的不同机器中。mkinitramfs用于高级用途。在您的本
linux mount命令 MOUNT(8)系统管理MOUNT(8)名称 mount-挂载文件系统概要 mount [-l|-h|-V] mount -a [-fFnrsvw] [-t fstype] [-O optlist] mount [-fnrsvw] [-o options] device|dir mount [-fnrsvw] [-t fstype] [-o options] device dir描述Unix系统中所有可访问的文件都排列在一棵大树中,文件树的根目录为/。这些文件
Linux pktgen使用 file:///home/chenhao/backup/github/linux/Documentation/networking/pktgen.rst… SPDX-许可证标识符:GPL-2.0HOWTO for the linux packet generator启用CONFIG_NET_PKTGEN以在内核中编译和构建pktgen或作为模块。首选模块;如果需要,请使用modprobe pktgen。一旦在运行时,pktgen将为每个与该CPU有亲和力的CPU创建一个线程。监视和控制通过/ p
systemd man手册 SYSTEMD(1)systemd SYSTEMD(1)名称systemd,init-systemd系统和服务管理器概要 /lib/systemd/systemd [OPTIONS...] init [OPTIONS...] {COMMAND}描述systemd是Linux操作系统的系统和服务管理器。在启动时作为PID的第一个进程运行时,它充当启动系统并维护用户空间服务的初始化系统。为了与SysV兼容,如果将systemd作为init调用且PID不为1,它将执行telinit并
linux内核启动“No init found.“ boot hang message解析 内核文档Documentation/admin-guide/init.rst对此问题有做解释。加载初始化二进制文件失败的一些高级原因(大致按执行顺序列出)如下:A)无法挂载根FSB)rootfs上不存在初始化二进制文件C)控制台设备损坏D)二进制文件存在但依赖项不可用E)无法加载二进制文件以上各问题的详细分析方法说明如下:A)设置“调试”内核参数(在引导程序配置文件或CONFIG_CMDLINE中)以获取更详细的内核消息。如在grub的linux命令行后加上loglevel=7.B)确保
NETLINK NETLINK(7)Linux程序员手册NETLINK(7)名称netlink-内核和用户空间之间的通信(AF_NETLINK)概要#include <asm / types.h>#include <sys / socket.h>#include <linux / netlink.h> netlink_socket = socket(AF_NETLINK, socket_type, netlink_family);描述Netlink用于在内核进程和
linux音频声卡 pulseaudio服务 这里写目录标题pulseaudio(1)通用命令手册pulseaudio(1)pulse-daemon.conf(5)pulse-client.conf(5)daemon.confsetrlimit(2)/etc/security/limits.conf/ etc / machine-iddefault.pa(5)pacmd(1)pulseaudio(1)通用命令手册pulseaudio(1)名称pulseaudio-PulseAudio声音系统概要 pulseaudio [optio
PDFTOHTML Linux pdf转换为html工具 PDFTOHTML(1)通用命令手册PDFTOHTML(1)名称pdftohtml-将PDF文件转换为HTML,XML和PNG图像的程序概要pdftohtml [options] <PDF-file> [<HTML-file> <XML-file>]描述本手册页简要介绍了pdftohtml命令。该手册页是为Debian GNU / Linux发行版编写的,因为原始程序没有手册页。 pdftohtml是将PDF文档转换为HTML的程序。它在当前工作目录中
linux/Documentation/kbuild/module.rst =========================构建外部模块本文档介绍了如何构建树外内核模块。… 目录=== 1简介=== 2如何构建外部模块-2.1命令语法-2.2选项-2.3目标-2.4建立单独的文件=== 3.为外部模块创建Kbuild文件-3.1共享Makefile— 3.2分开的Kbuild文件和Makefile-3.3二进制斑点— 3.4构建多个模块=== 4.包含文件— 4.1内核包含-4.2单个子目录— 4.3几个子目录=== 5.模块安装-5.1
iozone文件系统测试工具 IOZONE(1)通用命令手册IOZONE(1)名称Iozone-文件系统基准概要Iozone [-a|-A] [-s filesize_Kb] [-r record_size_Kb] [-f [path]filename] [-i test] [-E] [-p] [-m] [-M] [-t children] [-h] [-o] [-l min_number_procs] [-u max_number_procs] [-v] [-R] [-x] [-dmicroseconds
minicom工具使用方法 linux man手册有如下描述MINICOM(1)版本2.7 MINICOM(1)名称 minicom-友好的串行通信程序概要 minicom [选项] [配置]描述 minicom是一种通信程序,有点像共享软件TELIX,但没有源代码,并且在大多数Unices下运行。功能包括具有自动重拨功能的拨号目录,对串行设备上UUCP样式的锁定文件的支持,单独的脚本语言解释器,捕获到文件,具有单独配置的多个用户等等。命令行 -s,--setu
cmp/test && je/jz分析 以如下汇编函数为例:put_queue: pushl %ecx pushl %edx movl table_list,%edx # read-queue for console movl head(%edx),%ecx1: movb %al,buf(%edx,%ecx) incl %ecx andl $size-1,%ecx#cmp和sub指令对标志位寄存器是相同的效果,只是结果不会存储到目的操作数中。#如果源操作数和目的操作数是相同的,则结果为0,ZF=1。#je:Jump if
Linux内核开源代码风格批量修改 Linux内核源码有自己独特的开源编码规范。文档路径:\linux-5.5.tar\linux-5.5\linux-5.5\Documentation\process在开发的过程中经常因为不小心违反了编码规范,这里提供个方法可以进行代码风格检测和批量修改。在Linux内核源码中自带了代码风格检测脚本checkpatch.pl和代码风格修改工具Lindent。1.代码风格检测脚本checkp...
linux0.12编译问题解决记录 从setup跳转到head的时候显示“physical address not avaliable”。bochs单步调试,发现jmp 0,8后,执行的都是空指令,按‘c’连续执行,根据退出地址8:000000000c00知道head的数据在此处,突发灵感,觉得是gcc文件头格式变了,于是在build.c文件中构造system文件的地方,把GCC_HEADER宏加上0xc00,然后重新make,发...
DPDK hns3 pmd driver 社区路径 本人和团队花费了快一年时间,这两天驱动的代码终于上传社区并被合入。好辛苦=。=1)DPDK社区代码仓库:http://git.dpdk.org/next/dpdk-next-net/这个仓库是社区版本的仓库,开发人员上传patch都是上传到这里。hns3网卡驱动代码在这里:http://git.dpdk.org/next/dpdk-next-net/commit/?id=fd2f654d...
操作系统制作(7)v0.01连接汇编代码和C语言main函数 环境:virtual-box:版本 6.0.10 r132072 (Qt5.6.2)运行的的ubuntu18.04系统。nasm汇编器:NASM version 2.13.02执行效果如下:bootsect.s代码如下:; boot.s 程序; 首先利用 BIOS 中断把内核代码( head 代码)加载到内存 0x10000 处,然后移动到内存 0 处。; 最后进入保护模式,并跳转...
操作系统制作(6)dd命令使用 linux命令行输入:dd --helpUsage: dd [OPERAND]... or: dd OPTIONCopy a file, converting and formatting according to the operands. bs=BYTES read and write up to BYTES bytes at a time (default:...
操作系统制作(2)nasm改写linux0.00 环境:virtual-box:版本 6.0.10 r132072 (Qt5.6.2)运行的的ubuntu18.04系统。nasm汇编器:NASM version 2.13.02讲述bochs运行一个简单AB任务切换的例子,运行效果如下:...
操作系统制作(3)gdt描述符 idt描述符格式转换 环境:virtual-box:版本 6.0.10 r132072 (Qt5.6.2)运行的的ubuntu18.04系统。nasm汇编器:NASM version 2.13.02gdt: dq 0x0000000000000000 ; GDT 表。第 1 个描述符不用。 dq 0x00c09a00000007ff ; 第 2 个是内核代码段描述符。其选择符是 0x08。 dq 0x0...
操作系统制作(1)nasm编写boot.s 环境:virtual-box:版本 6.0.10 r132072 (Qt5.6.2)运行的的ubuntu18.04系统。nasm汇编器:NASM version 2.13.02讲述bochs运行一个简单的引导程序并显示“Loading system”例子,运行效果如下:注意:运行bochs后,需要输入c,才能进入运行状态。1)boot.s代码如下:(nasm语法格式)没有自己定义中断...
操作系统制作(0)bochs使用及img引导启动软盘制作 环境:virtual-box:版本 6.0.10 r132072 (Qt5.6.2)运行的的ubuntu18.04系统。nasm汇编器:NASM version 2.13.021)安装bochssudo apt-get install bochs bochs-x注意:bochs-x要安装,否则会出现>>PANIC<< dlopen failed for modu...
《Linux0.12完全解析》中提到的资料和书籍 Linux Journal 期刊《just for fun》Linus的自传《内核黑客手册》(The Linux Kernel Hackers’ Guide)一书的作者 Michael K. Johnson 也是最早接触Linux 操作系统的人之一(从 0.97 版)。oldlinux.org网站Andrew S. Tanenbaum 的《操作系统设计与实现》一书中有关 MINIX 文...
DPDK Sample Applications User Guides(14)内核NIC接口示例应用程序 KNI 官方文档查看地址:http://doc.dpdk.org/guides/sample_app_ug/kernel_nic_interface.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-sample-applications-user-g...
Ubuntu18.04下编译Linux0.12笔记(编译+调试学习---升级版) 一、下载源代码网站:https://mirrors.edge.kernel.org/pub/linux/kernel/Historic/old-versions/二、chenhao@chenhao-VirtualBox:~/chenhao/linux0.12/linux-0.12$ makecpp -nostdinc -Iinclude -traditional boot/bootsect...
Ubuntu18.04下编译Linux0.12笔记(编译+调试学习1) 1.asm指令GCC中基本的内联汇编:asm____volatile(“InstructionList”);asm(“movl $1,%eax\r\t”“xor %ebx,%ebx\r\t”“int $0x80”);带有C/C++表达式的内联汇编:asm volatile(“InstructionList”:Output:Input:Clobber/Modify);这4个部...
DPDK Tools User Guides(8)dpdk-test-eventdev应用程序 官方文档查看地址:http://doc.dpdk.org/guides/sample_app_ug/qos_scheduler.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-sample-applications-user-guide.ht...
Getting Started Guide for Linux(9)快速启动设置脚本 官方文档查看地址:http://doc.dpdk.org/guides/linux_gsg/quick_start.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-getting-started-guide.html本篇难度系数:翻译:★...
Getting Started Guide for Linux(8)使能额外的功能 官方文档查看地址:http://doc.dpdk.org/guides/linux_gsg/enable_func.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-getting-started-guide.html本篇难度系数:翻译:★...
Getting Started Guide for Linux(7)EAL通用参数和Linux特定参数 官方文档查看地址:http://doc.dpdk.org/guides/linux_gsg/build_sample_apps.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-getting-started-guide.html本篇难度系数...
Getting Started Guide for Linux(6)编译和运行示例应用程序(包括EAL通用命令选项) 官方文档查看地址:http://doc.dpdk.org/guides/linux_gsg/build_sample_apps.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-getting-started-guide.html本篇难度系数...
Getting Started Guide for Linux(5)Linux驱动程序 官方文档查看地址:http://doc.dpdk.org/guides/linux_gsg/linux_drivers.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-getting-started-guide.html本篇难度系数:翻译...
Getting Started Guide for Linux(4)交叉编译用于ARM64的DPDK 官方文档查看地址:http://doc.dpdk.org/guides/linux_gsg/cross_build_dpdk_for_arm64.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-getting-started-guide.ht...
Getting Started Guide for Linux(3)编译DPDK 官方文档查看地址:http://doc.dpdk.org/guides/linux_gsg/build_dpdk.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-getting-started-guide.html本篇难度系数:翻译:☆☆...
Getting Started Guide for Linux(2)系统需求 官方文档查看地址:http://doc.dpdk.org/guides/linux_gsg/intro.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-getting-started-guide.html本篇难度系数:翻译:☆☆☆☆☆理...
Getting Started Guide for Linux(1)介绍 官方文档查看地址:http://doc.dpdk.org/guides/linux_gsg/intro.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-getting-started-guide.html本篇难度系数:翻译:☆☆☆☆☆理...
DPDK Sample Applications User Guides(11)IP Fragmentation样例应用程序 官方文档查看地址:http://doc.dpdk.org/guides/sample_app_ug/ip_frag.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-sample-applications-user-guide.html本篇难...
ubuntu18.04 虚拟机上编译DPDK 先去github上下载DPDK源码包:https://github.com/DPDK/dpdk/tree/v19.05-rc1下载完成后,拷贝dpdk-releases.zip到虚拟机上.虚拟机命令行输入:unzip dpdk-releases.zipcd usertools/因为是x86电脑,所以选择16。[16] x86_64-native-linuxapp-gcc./dpdk...
DPDK Sample Applications User Guides(20)L3 Forwarding 样例应用程序 官方文档查看地址:http://doc.dpdk.org/guides/sample_app_ug/l3_forward.html?highlight=lpmPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-sample-applications-us...
DPDK Sample Applications User Guides(35)Vhost示例应用程序 官方文档查看地址:http://doc.dpdk.org/guides/sample_app_ug/vhost.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-sample-applications-user-guide.html本篇难度系...
DPDK Programmer’s Guide(45)Vhost库 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/service_cores.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html本篇难度系数:翻译:☆☆...
DPDK Programmer’s Guide(28)Reorder库 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/reorder_lib.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html本篇难度系数:翻译:☆☆☆☆...
DPDK Programmer’s Guide(41)服务质量(QoS)框架 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/qos_framework.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html本篇难度系数:翻译:☆☆...
DPDK Programmer’s Guide(34)内核网卡接口[KNI] 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/kernel_nic_interface.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html本篇难度系数...
DPDK Programmer’s Guide(24)LPM库 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/lpm_lib.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html本篇难度系数:翻译:☆☆☆☆☆理解...
DPDK Programmer’s Guide(5)Ring库 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/ring_lib.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html本篇难度系数:翻译:★★★★☆理...
DPDK Programmer’s Guide(4)Service Cores 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/service_cores.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html本篇难度系数:翻译:☆☆...
DPDK Programmer’s Guide(3)环境抽象层(EAL) 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/env_abstraction_layer.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html3.环境抽...
DPDK Programmer’s Guide(2)概述 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/overview.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html2. 概述本节将全面概述数据平面开...
DPDK Programmer’s Guide(1)介绍 官方文档查看地址:http://doc.dpdk.org/guides/prog_guide/intro.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-programmers-guide.html1.介绍本文档提供了软件架构信息、开发环...
DPDK Sample Applications User Guides(30)QoS调度器示例应用程序 官方文档查看地址:http://doc.dpdk.org/guides/sample_app_ug/qos_scheduler.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-sample-applications-user-guide.ht...
DPDK Sample Applications User Guides(29)QoS 计量示例应用程序 QoS Metering Sample ApplicationQoS表示例应用程序是一个示例,演示了如何使用DPDK提供QoS标记和计量,如RFC2697为单速率三色标记(srTCM)和RFC 2698为二速率三色标记(trTCM)算法所定义的那样。1.概述应用程序使用一个线程从RX端口读取数据包,进行计量,用适当的颜色(绿色、黄色或红色)标记数据包,并将它们写入TX端口。在将数据包写入T...
DPDK Sample Applications User Guides(42)Eventdev管道示例应用程序 Eventdev Pipeline Sample Applicationeventdev管道示例应用程序是一个示例应用程序,演示了使用PMD软件使用eventdev API。它展示了应用程序如何配置管道并分配一组工作内核来执行所需的处理。应用程序有一系列命令行参数,允许为不同个数的工作核心、阶段、队列深度和工作的每个阶段的周期配置命令行参数。这对于性能测试以及快速测试特定的管道配置非常有用。...
DPDK Sample Applications User Guides(41)Test Pipeline应用程序 官方文档查看地址:http://doc.dpdk.org/guides/sample_app_ug/ip_pipeline.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-sample-applications-user-guide.html...
DPDK Sample Applications User Guides(40)互联网协议(IP)Pipeline应用 官方文档查看地址:http://doc.dpdk.org/guides/sample_app_ug/ip_pipeline.htmlPDF下载地址:https://www.intel.com/content/www/us/en/embedded/technology/packet-processing/dpdk/dpdk-sample-applications-user-guide.html...
ubuntu18.04 apt-get install软件失败 [sudo] password for chenhao: Reading package lists... DoneBuilding dependency tree Reading state information... DoneThe following additional packages will be installed: cpp cpp-7 gcc-7 gcc...
Ubuntu18.04下Intel汇编编译器nasm用法介绍 nasm编译器NASM Command−Line SyntaxTo assemble a file, you issue a command of the formnasm −f <format> <filename> [−o <output>]For example,nasm -f elf myfile.asmwill assemble myf...
DPDK文档 http://doc.dpdk.org/guides/DPDK documentationGetting Started Guide for LinuxGetting Started Guide for FreeBSDGetting Started Guide for WindowsSample Applications User GuidesProgrammer’s GuideHo...
window环境下使用Qemu运行自己制作的img映像文件 一、下载安装qemu软件网上有甚多资源,自己搜索然后下载就可以了https://www.cr173.com/soft/794471.html二、获取一份映像文件注意:映像文件中需要有启动引导的功能,否则会报错三、如何使用qemu创建虚拟机百度有详细的步骤讲解,请自行查阅:https://jingyan.baidu.com/article/c74d6000bf900d0f6a595d...
visio-软件程序流程图规范 1.选择结构—&amp;gt;if语句2.循环结构—&amp;gt;while语句3.循环结构—&amp;gt;do while语句4.循环结构—&amp;gt;for语句
Windows下用Ubuntu18.10虚拟机编译Linux0.12笔记(编译+调试学习) 接上一篇文章,在它编译的源代码上继续编译https://blog.csdn.net/qq_42138566/article/details/846420021.共享Windows文件夹到虚拟机Ubuntu系统下自行搜索虚拟机安装vmware Tool安装方法共享源代码目录。安装后下载gcc等软件好像会出现无法解析域的错误,重启以下虚拟机系统就好了。2.编译bootsect.S下#incl...
My_linux_os技术总结(基于Linux0.12版本) 标准头文件#include &amp;lt;stdarg.h&amp;gt;#define __va_rounded_size(TYPE) \ (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))定义了取整后的TYPE类型的字节长度值,是int类型长度(4字节)的倍数。#ifndef __sparc__#defin...
git入门 1.生成ssh密匙$ ssh-keygen -t rsa -C &amp;amp;quot;your_email@youremail.com&amp;amp;quot; 其中your_email,youremail更改成自己的邮箱名,可以随便写。连按三个Enter键,选择默认存储密匙的路径。$cd ~/.ssh复制id_rsa.pub的内容,切换到github网站,进入setting设置选项,点击SSH and GPG keys,然后点...
Ubuntu18.04下,QT5移植到ARM板上运行程序发生异常:could not find or load the Qt platform plugin "linuxfb"原因 作者:陈浩 特别助理:游成伟QT移植库文件后,运行qt可执行程序,结果显示如下异常:/home/appbin # ./armBoardLight This application failed to start because it could not find or load the Qt platform plugin "linuxfb"in "/home/qt/plugins...
Ubuntu18.04下VIM安装及配置 作者:陈浩 更新日期:2018-09-211.安装VIM $sudo apt-get install vim我的vim 已经是最新版 (2:8.0.1453-1ubuntu1)。2.安装vim-plug 一种方便简洁的插件管理插件终端输入如下命令: $ curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.gi...