首页> 外国专利> 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: providing at least one call associated with the kernel space, the at least one call being usable to set packet filter rules, the packet filter rules corresponding to packet filter rule data, the packet filter rule data being for use in programming packet processing hardware offload circuitry of the network interface controller circuitry to determine, based upon header data of at least one incoming packet and the packet filter rule data, at least one action of the packet filter rules to apply to the at least one incoming packet. 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 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号