Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c46 static inline bool is_field_set(u32 val, u32 mask) in is_field_set() function
53 return !(conf & conf_mask) && is_field_set(val, mask); in unsupported()
281 if ((is_field_set(fs->val.pfvf_vld, fs->mask.pfvf_vld) && in validate_filter()
282 is_field_set(fs->val.ovlan_vld, fs->mask.ovlan_vld)) || in validate_filter()
283 (is_field_set(fs->val.pfvf_vld, fs->mask.pfvf_vld) && in validate_filter()
284 is_field_set(fs->val.encap_vld, fs->mask.encap_vld)) || in validate_filter()
285 (is_field_set(fs->val.ovlan_vld, fs->mask.ovlan_vld) && in validate_filter()
286 is_field_set(fs->val.encap_vld, fs->mask.encap_vld))) in validate_filter()
289 (is_field_set(fs->val.ovlan_vld, fs->mask.ovlan_vld) && in validate_filter()