上一页 1 ··· 107 108 109 110 111 112 113 114 115 ··· 164 下一页

2020年9月3日

摘要: 一般驱动 https://www.cnblogs.com/codestack/p/12906441.html static int ixgbe_probe(struct pci_dev *pdev, const struct pci_device_id *ent) netdev = alloc_et 阅读全文
posted @ 2020-09-03 20:00 tycoon3 阅读(803) 评论(0) 推荐(0)
摘要: ixgbe_dev_rx_queue_start 设置好dma地址 IXGBE_WRITE_REG(hw, IXGBE_RDH(rxq->reg_idx), 0); IXGBE_WRITE_REG(hw, IXGBE_RDT(rxq->reg_idx), rxq->nb_rx_desc - 1); 阅读全文
posted @ 2020-09-03 17:30 tycoon3 阅读(4050) 评论(1) 推荐(0)
摘要: 标准的以太网帧,我们经常说的以太网帧长度是从图中 Destination MAC开始,FCS结束。网卡对网络层数据的操作是加以太网帧头、以太网帧尾FCS,很显然上层需要提供目的MAC地址,否则接口无从完成以太网帧的封装。这需要IP层需要事先完成和ARP的交互,解析出目的IP对应的目的MAC,这显然不 阅读全文
posted @ 2020-09-03 16:53 tycoon3 阅读(1610) 评论(0) 推荐(0)
摘要: 参考: https://blog.csdn.net/jeawayfox/article/details/105444104 net/hns3/hns3_ethdev.c:4918: return rte_eth_dev_pci_generic_probe(pci_dev, rte_eal_init 阅读全文
posted @ 2020-09-03 15:17 tycoon3 阅读(434) 评论(0) 推荐(0)
摘要: int rte_lcore_is_enabled(unsigned int lcore_id) { struct rte_config *cfg = rte_eal_get_configuration(); if (lcore_id >= RTE_MAX_LCORE) return 0; retur 阅读全文
posted @ 2020-09-03 14:19 tycoon3 阅读(548) 评论(0) 推荐(0)
摘要: [root@localhost ~]# lshw -c network -businfo Bus info Device Class Description pci@0000:05:00.0 network Hi1822 Family (2*25GE) pci@0000:06:00.0 networ 阅读全文
posted @ 2020-09-03 10:00 tycoon3 阅读(288) 评论(0) 推荐(0)
摘要: -x 以十六进制显示 PCI 配置空间 (configuration space) 的前64个字节映像 (标准头部信息)。此参数对调试驱动和 lspci 本身很有用。 -xxx 以十六进制显示所有 PCI 配置空间的映像。此选项只有 root 可用,并且很多 PCI 设备在你试图读取配置空间的未定义 阅读全文
posted @ 2020-09-03 09:34 tycoon3 阅读(2727) 评论(0) 推荐(0)

2020年9月2日

摘要: Then to get the ids, use: $ lspci -v -n -s 03:00.0 03:00.0 0280: 8086:0085 (rev 34) Subsystem: 8086:1311 Flags: bus master, fast devsel, latency 0, IR 阅读全文
posted @ 2020-09-02 20:20 tycoon3 阅读(1584) 评论(0) 推荐(0)
摘要: Igb_uio内核驱动 Igb_uio驱动主要做的就是注册一个pci设备。但是igbuio_pci_driver对应的保存pci设备信息的id_table指针为空,这样在内核注册此pci设备时,会找不到匹配的设备,就不会调用igb_uio驱动中的探测probe函数,只会在/sys目录下创建Igb_u 阅读全文
posted @ 2020-09-02 19:57 tycoon3 阅读(3587) 评论(0) 推荐(0)
摘要: /sys/class/net /sys/devices /sy/bus/pci https://access.redhat.com/discussions/895293 [root@localhost rules.d]# lspci -v | grep -i ether -B 4 Capabilit 阅读全文
posted @ 2020-09-02 17:00 tycoon3 阅读(564) 评论(0) 推荐(0)
上一页 1 ··· 107 108 109 110 111 112 113 114 115 ··· 164 下一页

导航