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

Claim 0:
1. A method implemented in a processor having kernel space and user space, the method comprising:
receiving in the user space 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; and
dynamically adjusting, 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, wherein dynamically adjusting the priority for a particular hardware interface of the one or more hardware interfaces includes 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, wherein changing between states of the state machine includes:
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.