本文介绍了查询/更改NIC以编程方式接收描述符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序可以接收非常大的网络流量.为了正常工作,NIC必须将其"RX描述符"缓冲区的大小增加到Windows/NIC(相对保守的默认值)之上.我可以通过设备管理器(网络适配器->< nic_name>->高级)为每个系统手动更改它,但是随着我们构建越来越多的这些系统,这确实容易出现人为错误.
有什么方法可以从我们的C ++应用程序中(最低)查询当前设置,或者从我们的应用程序中(最佳)自动设置吗?

在此先感谢您.

I''ve got an application that receives very heavy network traffic. To work properly, the NIC must have its "RX Descriptors" buffer size increased above the Windows/NIC rather conservative default. I can change it manually for each system through the Device Manager (Network Adapters -> <nic_name> -> Advanced), but that is really prone to human error as we build more and more of these systems.

Is there any way to (minimally) query the current setting from within our C++ application, or (optimally) set it automatically from within our application?

Thanks in advance.

推荐答案



这篇关于查询/更改NIC以编程方式接收描述符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-24 21:07