Patent ID: 11921648
Assignee: NETSCOUT SYSTEMS TEXAS, LLC
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 9:
10. A processor having kernel space and user space and a polling engine in the user space, the polling engine comprising:
at least one memory configured to store instructions; and
at least one processing device disposed in communication with the at least one memory, wherein the at least one processing device upon execution of the instructions is configured to:
receive at least one interface statistic about each hardware interface of one or more hardware interfaces receiving packets, wherein the at least one interface statistic is provided from the hardware interface;
dynamically adjust, from within the user space, a priority at which each of the one or more hardware interfaces is polled as a function of the at least one interface statistic;
dynamically adjust the priority for a particular hardware interface of the one or more hardware interfaces by changing between states of a state machine, including entering and remaining in a drop state while a dropped packet condition is detected and checking for dropped packets while in the drop state; and
change between states of the state machine by:
entering and remaining in a receive (Rx) buffer filled state while an Rx buffer filled condition is detected and a dropped packet condition is not detected for the hardware interface, wherein the Rx buffer filled condition is a function of fill status of an Rx buffer in the hardware interface as reported to the kernel space; and
checking for the dropped packet condition and the Rx buffer filled condition while in the Rx buffer filled state.