mlx5_sf_table_empty
if (!mlx5_core_is_ecpf(dev) && !mlx5_sf_table_empty(dev)) {
bool mlx5_sf_table_empty(const struct mlx5_core_dev *dev);