Searched refs:fdb_prio_table (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads.c | 51 #define fdb_prio_table(esw, chain, prio, level) \ macro 935 fdb = fdb_prio_table(esw, chain, prio, level).fdb; in esw_get_prio_table() 939 fdb_prio_table(esw, chain, prio, level--).num_rules++; in esw_get_prio_table() 961 if (fdb_prio_table(esw, chain, prio, l).fdb) { in esw_get_prio_table() 962 fdb_prio_table(esw, chain, prio, l).num_rules++; in esw_get_prio_table() 972 fdb_prio_table(esw, chain, prio, l).fdb = fdb; in esw_get_prio_table() 973 fdb_prio_table(esw, chain, prio, l).num_rules = 1; in esw_get_prio_table() 998 if (--(fdb_prio_table(esw, chain, prio, l).num_rules) > 0) in esw_put_prio_table() 1001 put_sz_to_pool(esw, fdb_prio_table(esw, chain, prio, l).fdb->max_fte); in esw_put_prio_table() 1002 mlx5_destroy_flow_table(fdb_prio_table(esw, chain, prio, l).fdb); in esw_put_prio_table() [all …]
|