CLASSIFICATION FOR MEDIA STREAM PACKETS IN A MEDIA GATEWAY
First Claim
1. A method in a FPGA (Field Programmable Gate Array) for processing packets received at a media gateway, the method comprising:
- ascertaining whether a received packet is a media packet;
if said received packet is said media packet, inspecting a first portion of a media destination port number from the header of said media packet, and comparing said first portion with a media port base that has already been set up in said media gateway, if there is a match between said first portion and said media port base, inspecting a second portion of said media destination port number from said header of said media packet, employing said second portion as a key to a media port table of said media gateway to ascertain whether packets associated with a media stream ID are to be discarded, and discarding said received packet if said packet associated with said media stream ID are to be discard, else,
obtaining a media processing CPU ID associated with said media stream ID from said media port table,
formulating a destination MAC address for said received packet of at least said media processing CPU ID, and
updating said received packet with said destination MAC address, thereby enabling said received packet to be switched by a switch that is external to said FPGA to a media processing CPU associated with said media processing CPU ID.
3 Assignments
0 Petitions
Accused Products
Abstract
A method in Field Programmable Gate Array for processing packets received at a media gateway is provided. The method includes ascertaining whether a received packet is a UDP (User Datagram Protocol) packet. The method also includes comparing first portion of UDP destination port number from UDP packet header with first portion with UDP port base that has been set up in media gateway. If a match exist, employing second portion of UDP destination port number as a key to UDP port table to ascertain whether packets associated with media stream ID are to be discarded, and discarding received packet if packet associated with media stream ID is to be discarded. If not, obtaining media processing CPU ID associated with media stream ID, formulating destination MAC address, and updating packet with destination MAC address, thereby enabling packet to be switched to media processing CPU associated with media processing CPU ID.
131 Citations
20 Claims
-
1. A method in a FPGA (Field Programmable Gate Array) for processing packets received at a media gateway, the method comprising:
-
ascertaining whether a received packet is a media packet;
if said received packet is said media packet, inspecting a first portion of a media destination port number from the header of said media packet, and comparing said first portion with a media port base that has already been set up in said media gateway, if there is a match between said first portion and said media port base, inspecting a second portion of said media destination port number from said header of said media packet, employing said second portion as a key to a media port table of said media gateway to ascertain whether packets associated with a media stream ID are to be discarded, and discarding said received packet if said packet associated with said media stream ID are to be discard, else,
obtaining a media processing CPU ID associated with said media stream ID from said media port table,
formulating a destination MAC address for said received packet of at least said media processing CPU ID, and
updating said received packet with said destination MAC address, thereby enabling said received packet to be switched by a switch that is external to said FPGA to a media processing CPU associated with said media processing CPU ID. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
- 8. In a communication system, a media gateway comprising a FPGA (Field Programmable Gate Array) configured to classify packets received at said media gateway based on a media port table implemented internally in said FPGA, said media port table including at least one port that represents at least one media stream that has been set up by a host CPU in said communication system.
Specification