---
name: "rps_may_expire_flow"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/rps_may_expire_flow"
---

# rps\_may\_expire\_flow(9)

check whether an RFS hardware filter may be removed

## NAME

rps\_may\_expire\_flow - check whether an RFS hardware filter may be removed

## SYNOPSIS

**bool rps\_may\_expire\_flow(struct net\_device \*** *dev***, u16** *rxq\_index***, u32** *flow\_id***, u16** *filter\_id***);**

## ARGUMENTS

*dev*

Device on which the filter was set

*rxq\_index*

RX queue index

*flow\_id*

Flow ID passed to **ndo\_rx\_flow\_steer**

*filter\_id*

Filter ID returned by **ndo\_rx\_flow\_steer**

## DESCRIPTION

Drivers that implement **ndo\_rx\_flow\_steer** should periodically call this function for each installed filter and remove the filters for which it returns **true**.

## COPYRIGHT
