Home
last modified time | relevance | path

Searched refs:new_hr (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/
Dveth.c1111 static void veth_set_rx_headroom(struct net_device *dev, int new_hr) in veth_set_rx_headroom() argument
1116 if (new_hr < 0) in veth_set_rx_headroom()
1117 new_hr = 0; in veth_set_rx_headroom()
1125 priv->requested_headroom = new_hr; in veth_set_rx_headroom()
1126 new_hr = max(priv->requested_headroom, peer_priv->requested_headroom); in veth_set_rx_headroom()
1127 dev->needed_headroom = new_hr; in veth_set_rx_headroom()
1128 peer->needed_headroom = new_hr; in veth_set_rx_headroom()
Dtun.c1106 static void tun_set_headroom(struct net_device *dev, int new_hr) in tun_set_headroom() argument
1110 if (new_hr < NET_SKB_PAD) in tun_set_headroom()
1111 new_hr = NET_SKB_PAD; in tun_set_headroom()
1113 tun->align = new_hr; in tun_set_headroom()
/kernel/linux/linux-5.10/net/bridge/
Dbr_if.c304 static void update_headroom(struct net_bridge *br, int new_hr) in update_headroom() argument
309 netdev_set_rx_headroom(p->dev, new_hr); in update_headroom()
311 br->dev->needed_headroom = new_hr; in update_headroom()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h2301 static inline void netdev_set_rx_headroom(struct net_device *dev, int new_hr) in netdev_set_rx_headroom() argument
2304 dev->netdev_ops->ndo_set_rx_headroom(dev, new_hr); in netdev_set_rx_headroom()