Name

netdev_increment_features — increment feature set by one

Synopsis

u32 netdev_increment_features (u32 all,
 u32 one,
 u32 mask);
 

Arguments

all

current feature set

one

new feature set

mask

mask feature set

Description

Computes a new feature set after adding a device with feature set one to the master device with current feature set all. Will not enable anything that is off in mask. Returns the new feature set.