首页> 外国专利> EXTENDING BERKELEY PACKET FILTER SEMANTICS FOR HARDWARE OFFLOADS

EXTENDING BERKELEY PACKET FILTER SEMANTICS FOR HARDWARE OFFLOADS

机译:扩展Berkeley数据包过滤器语义进行硬件卸载

摘要

Embodiments of the subject disclosure concern a method implemented using network interface controller circuitry for use in association with host computer circuitry. The host computer circuitry is to execute, when the host computer circuitry is in operation, a Linux operating system and a user space application, the Linux operating system, when executed, having a kernel space. The method comprises: programming packet processing hardware offload circuitry of the network interface controller circuitry, based upon packet filter rule data, to implement packet filter rules corresponding to the packet filter rule data; and determining by the network interface controller circuitry, based upon header data of at least one incoming packet and the packet filter rule data, at least one action to apply to the at least one incoming packet. The packet filter rules comprise the at least one action and are to be set using at least one call associated with the kernel space. The at least one action is configurable to include: at least one network address translation-related operation associated with the header data; dropping the at least one incoming packet; and/or forwarding the at least one incoming packet. When the host computer circuitry is in the operation, after registration of at least one device driver of the network interface controller circuitry: the packet filter rule data is to be associated with the network interface controller circuitry via at least one callback function call; and the programming, of the packet processing hardware offload circuitry of the network interface controller circuitry is to be implemented by the at least one device driver associated with the network interface controller circuitry via code references to be associated with the at least one device driver associated with the network interface controller circuitry.
机译:本主题公开内容的实施例涉及使用网络接口控制器电路实现的方法,以与主机计算机电路相关联地使用。当主机计算机电路正在运行时,主机计算机电路是执行,Linux操作系统和用户空间应用程序,Linux操作系统在执行时,具有内核空间。该方法包括:基于分组滤波器规则数据的网络接口控制器电路的编程分组处理硬件卸载电路,实现与分组过滤规则数据对应的分组过滤规则;由网络接口​​控制器电路确定基于至少一个传入分组的报头数据和分组滤波器规则数据,至少一个应用于至少一个传入分组的动作。分组过滤规则包括至少一个动作,并且应使用与内核空间相关联的至少一个呼叫来设置。至少一个动作可配置为包括:至少一个与标题数据相关联的网络地址转换相关操作;丢弃至少一个传入数据包;和/或转发至少一个传入数据包。当主机计算机电路在操作中,在向网络接口控制器电路的至少一个设备驱动器注册之后:分组滤波器规则数据通过至少一个回调函数调用与网络接口控制器电路相关联;并且编程,网络接口控制器电路的分组处理硬件卸载电路是由与网络接口控制器电路相关联的至少一个设备驱动器,通过代码引用与与之相关联的至少一个设备驱动器相关联网络接口控制器电路。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号