The invention discloses a method for processing packets and a computer device. The method includes obtaining the first processor core identification of the service binding; determining the first local port number corresponding to the service according to the first processor core identification and the configured mapping relation information, in which the mapping relation information includes the mapping relationship between the processor kernel identity and the port number, and the first local port number is used. The source port number field of the message to be sent to the service; and the sent message to the network card sending queue. The processing method and computer equipment of the embodiment of the invention can improve the forwarding efficiency of the message.
【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。
【技术保护点】
PCT国内申请,权利要求书已公开。
【技术特征摘要】
【国外来华专利技术】PCT国内申请,...
【专利技术属性】
技术研发人员:张丰伟,徐君,戴芬,王元钢,
申请(专利权)人:华为技术有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。