mlxsw_sp_fid
struct mlxsw_sp_fid *mlxsw_sp_acl_dummy_fid(struct mlxsw_sp *mlxsw_sp);
struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_index(struct mlxsw_sp *mlxsw_sp,
int mlxsw_sp_fid_nve_ifindex(const struct mlxsw_sp_fid *fid, int *nve_ifindex);
int mlxsw_sp_fid_nve_type(const struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_vni(struct mlxsw_sp *mlxsw_sp,
int mlxsw_sp_fid_vni(const struct mlxsw_sp_fid *fid, __be32 *vni);
int mlxsw_sp_fid_nve_flood_index_set(struct mlxsw_sp_fid *fid,
void mlxsw_sp_fid_nve_flood_index_clear(struct mlxsw_sp_fid *fid);
bool mlxsw_sp_fid_nve_flood_index_is_set(const struct mlxsw_sp_fid *fid);
int mlxsw_sp_fid_vni_set(struct mlxsw_sp_fid *fid, enum mlxsw_sp_nve_type type,
void mlxsw_sp_fid_vni_clear(struct mlxsw_sp_fid *fid);
bool mlxsw_sp_fid_vni_is_set(const struct mlxsw_sp_fid *fid);
void mlxsw_sp_fid_fdb_clear_offload(const struct mlxsw_sp_fid *fid,
int mlxsw_sp_fid_flood_set(struct mlxsw_sp_fid *fid,
int mlxsw_sp_fid_port_vid_map(struct mlxsw_sp_fid *fid,
void mlxsw_sp_fid_port_vid_unmap(struct mlxsw_sp_fid *fid,
u16 mlxsw_sp_fid_index(const struct mlxsw_sp_fid *fid);
enum mlxsw_sp_fid_type mlxsw_sp_fid_type(const struct mlxsw_sp_fid *fid);
int mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
void mlxsw_sp_fid_rif_unset(struct mlxsw_sp_fid *fid);
struct mlxsw_sp_rif *mlxsw_sp_fid_rif(const struct mlxsw_sp_fid *fid);
u16 mlxsw_sp_fid_8021q_vid(const struct mlxsw_sp_fid *fid);
struct mlxsw_sp_fid *mlxsw_sp_fid_8021q_get(struct mlxsw_sp *mlxsw_sp, u16 vid);
struct mlxsw_sp_fid *mlxsw_sp_fid_8021d_get(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *mlxsw_sp_fid_8021q_lookup(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *mlxsw_sp_fid_8021d_lookup(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *mlxsw_sp_fid_rfid_get(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *mlxsw_sp_fid_dummy_get(struct mlxsw_sp *mlxsw_sp);
void mlxsw_sp_fid_put(struct mlxsw_sp_fid *fid);
struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *fid,
int mlxsw_sp_nve_fid_enable(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *fid);
struct mlxsw_sp_fid;
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *dummy_fid;
struct mlxsw_sp_fid *mlxsw_sp_acl_dummy_fid(struct mlxsw_sp *mlxsw_sp)
struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
mlxsw_sp_fid_port_vid_list_add(struct mlxsw_sp_fid *fid, u16 local_port,
u16 (*fid_mid)(const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_port_vid_list_del(struct mlxsw_sp_fid *fid, u16 local_port,
void (*fid_pack)(char *sfmr_pl, const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_mpe_table_map(const struct mlxsw_sp_fid *fid, u16 local_port,
mlxsw_sp_fid_erif_eport_to_vid_map_one(const struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_evid_map(const struct mlxsw_sp_fid *fid, u16 local_port,
static int mlxsw_sp_fid_8021d_port_vid_map(struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_8021d_port_vid_unmap(struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_8021d_vni_set(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_8021d_vni_clear(struct mlxsw_sp_fid *fid)
static int mlxsw_sp_fid_8021d_nve_flood_index_set(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_8021d_nve_flood_index_clear(struct mlxsw_sp_fid *fid)
mlxsw_sp_fid_8021d_fdb_clear_offload(const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_8021d_vid_to_fid_rif_update(const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_fid_mid_cff(const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_8021q_compare(const struct mlxsw_sp_fid *fid, const void *arg)
mlxsw_sp_fid_8021q_fdb_clear_offload(const struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_rfid_setup_ctl(struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_rfid_setup_cff(struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_rfid_configure(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_rfid_deconfigure(struct mlxsw_sp_fid *fid)
static int mlxsw_sp_fid_rfid_index_alloc(struct mlxsw_sp_fid *fid,
static bool mlxsw_sp_fid_rfid_compare(const struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_rfid_port_vid_map(struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_rfid_port_vid_unmap(struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_rfid_vni_set(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_rfid_vni_clear(struct mlxsw_sp_fid *fid)
static int mlxsw_sp_fid_rfid_nve_flood_index_set(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_rfid_nve_flood_index_clear(struct mlxsw_sp_fid *fid)
mlxsw_sp_fid_rfid_vid_to_fid_rif_update(const struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_dummy_setup(struct mlxsw_sp_fid *fid, const void *arg)
static int mlxsw_sp_fid_dummy_configure(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_dummy_deconfigure(struct mlxsw_sp_fid *fid)
static int mlxsw_sp_fid_dummy_index_alloc(struct mlxsw_sp_fid *fid,
static bool mlxsw_sp_fid_dummy_compare(const struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_dummy_vni_set(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_dummy_vni_clear(struct mlxsw_sp_fid *fid)
static int mlxsw_sp_fid_dummy_nve_flood_index_set(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_dummy_nve_flood_index_clear(struct mlxsw_sp_fid *fid)
static int mlxsw_sp_fid_8021q_configure(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_8021q_deconfigure(struct mlxsw_sp_fid *fid)
static int mlxsw_sp_fid_8021q_port_vid_map(struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_8021q_port_vid_unmap(struct mlxsw_sp_fid *fid,
.fid_size = sizeof(struct mlxsw_sp_fid),
struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_index(struct mlxsw_sp *mlxsw_sp,
.fid_size = sizeof(struct mlxsw_sp_fid),
struct mlxsw_sp_fid *fid;
.fid_size = sizeof(struct mlxsw_sp_fid),
.fid_size = sizeof(struct mlxsw_sp_fid),
static struct mlxsw_sp_fid *mlxsw_sp_fid_lookup(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *fid;
static struct mlxsw_sp_fid *mlxsw_sp_fid_get(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *fid;
int mlxsw_sp_fid_nve_ifindex(const struct mlxsw_sp_fid *fid, int *nve_ifindex)
void mlxsw_sp_fid_put(struct mlxsw_sp_fid *fid)
struct mlxsw_sp_fid *mlxsw_sp_fid_8021q_get(struct mlxsw_sp *mlxsw_sp, u16 vid)
struct mlxsw_sp_fid *mlxsw_sp_fid_8021d_get(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *mlxsw_sp_fid_8021q_lookup(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *mlxsw_sp_fid_8021d_lookup(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *mlxsw_sp_fid_rfid_get(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *mlxsw_sp_fid_dummy_get(struct mlxsw_sp *mlxsw_sp)
int mlxsw_sp_fid_nve_type(const struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_vni(struct mlxsw_sp *mlxsw_sp,
struct mlxsw_sp_fid *fid;
int mlxsw_sp_fid_vni(const struct mlxsw_sp_fid *fid, __be32 *vni)
int mlxsw_sp_fid_nve_flood_index_set(struct mlxsw_sp_fid *fid,
void mlxsw_sp_fid_nve_flood_index_clear(struct mlxsw_sp_fid *fid)
bool mlxsw_sp_fid_nve_flood_index_is_set(const struct mlxsw_sp_fid *fid)
int mlxsw_sp_fid_vni_set(struct mlxsw_sp_fid *fid, enum mlxsw_sp_nve_type type,
void mlxsw_sp_fid_vni_clear(struct mlxsw_sp_fid *fid)
bool mlxsw_sp_fid_vni_is_set(const struct mlxsw_sp_fid *fid)
void mlxsw_sp_fid_fdb_clear_offload(const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_flood_table_lookup(const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_fid_mid_ctl(const struct mlxsw_sp_fid *fid,
int mlxsw_sp_fid_flood_set(struct mlxsw_sp_fid *fid,
int mlxsw_sp_fid_port_vid_map(struct mlxsw_sp_fid *fid,
void mlxsw_sp_fid_port_vid_unmap(struct mlxsw_sp_fid *fid,
u16 mlxsw_sp_fid_index(const struct mlxsw_sp_fid *fid)
enum mlxsw_sp_fid_type mlxsw_sp_fid_type(const struct mlxsw_sp_fid *fid)
struct mlxsw_sp_rif *mlxsw_sp_fid_rif(const struct mlxsw_sp_fid *fid)
mlxsw_sp_fid_8021q_fid(const struct mlxsw_sp_fid *fid)
u16 mlxsw_sp_fid_8021q_vid(const struct mlxsw_sp_fid *fid)
static int mlxsw_sp_fid_8021q_setup(struct mlxsw_sp_fid *fid, const void *arg)
const struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid common;
const struct mlxsw_sp_fid *fid,
static u16 mlxsw_sp_fid_pgt_base_cff(const struct mlxsw_sp_fid *fid)
const struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid common;
static int mlxsw_sp_fid_op(const struct mlxsw_sp_fid *fid, bool valid)
static int mlxsw_sp_fid_edit_op(const struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_vni_to_fid_map(const struct mlxsw_sp_fid *fid,
.key_len = sizeof_field(struct mlxsw_sp_fid, fid_index),
static int mlxsw_sp_fid_to_fid_rif_update(const struct mlxsw_sp_fid *fid,
.key_offset = offsetof(struct mlxsw_sp_fid, fid_index),
static int mlxsw_sp_fid_vni_to_fid_rif_update(const struct mlxsw_sp_fid *fid,
.head_offset = offsetof(struct mlxsw_sp_fid, ht_node),
mlxsw_sp_fid_vid_to_fid_map(const struct mlxsw_sp_fid *fid, u16 vid, bool valid,
mlxsw_sp_fid_8021q_vid_to_fid_rif_update(const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_port_vid_to_fid_rif_update_one(const struct mlxsw_sp_fid *fid,
.key_len = sizeof_field(struct mlxsw_sp_fid, vni),
static int mlxsw_sp_fid_vid_to_fid_rif_set(const struct mlxsw_sp_fid *fid,
.key_offset = offsetof(struct mlxsw_sp_fid, vni),
.head_offset = offsetof(struct mlxsw_sp_fid, vni_ht_node),
static void mlxsw_sp_fid_vid_to_fid_rif_unset(const struct mlxsw_sp_fid *fid)
static int mlxsw_sp_fid_reiv_handle(struct mlxsw_sp_fid *fid, u16 rif_index,
static int mlxsw_sp_fid_erif_eport_to_vid_map(struct mlxsw_sp_fid *fid,
int (*setup)(struct mlxsw_sp_fid *fid, const void *arg);
int (*configure)(struct mlxsw_sp_fid *fid);
void (*deconfigure)(struct mlxsw_sp_fid *fid);
int mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif)
int (*index_alloc)(struct mlxsw_sp_fid *fid, const void *arg,
bool (*compare)(const struct mlxsw_sp_fid *fid,
void mlxsw_sp_fid_rif_unset(struct mlxsw_sp_fid *fid)
int (*port_vid_map)(struct mlxsw_sp_fid *fid,
static int mlxsw_sp_fid_vni_op(const struct mlxsw_sp_fid *fid)
void (*port_vid_unmap)(struct mlxsw_sp_fid *fid,
static int __mlxsw_sp_fid_port_vid_map(const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_8021d_fid(const struct mlxsw_sp_fid *fid)
int (*vni_set)(struct mlxsw_sp_fid *fid);
static int mlxsw_sp_fid_8021d_setup(struct mlxsw_sp_fid *fid, const void *arg)
void (*vni_clear)(struct mlxsw_sp_fid *fid);
static int mlxsw_sp_fid_8021d_configure(struct mlxsw_sp_fid *fid)
static void mlxsw_sp_fid_8021d_deconfigure(struct mlxsw_sp_fid *fid)
int (*nve_flood_index_set)(struct mlxsw_sp_fid *fid);
static int mlxsw_sp_fid_8021d_index_alloc(struct mlxsw_sp_fid *fid,
void (*nve_flood_index_clear)(struct mlxsw_sp_fid *fid);
void (*fdb_clear_offload)(const struct mlxsw_sp_fid *fid,
mlxsw_sp_fid_8021d_compare(const struct mlxsw_sp_fid *fid, const void *arg)
struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
int (*vid_to_fid_rif_update)(const struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
struct mlxsw_sp_fid *fid;
mlxsw_sp_nve_fid_flood_index_set(struct mlxsw_sp_fid *fid,
mlxsw_sp_nve_fid_flood_index_clear(struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *fid)
const struct mlxsw_sp_fid *fid,
int mlxsw_sp_nve_fid_enable(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *fid)
struct mlxsw_sp_fid *fid = rif->fid;
static struct mlxsw_sp_fid *
struct mlxsw_sp_fid *fid = rif->fid;
static struct mlxsw_sp_fid *
static struct mlxsw_sp_fid *
struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif,
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid = NULL;
struct mlxsw_sp_fid *fid = rif->fid;
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
struct mlxsw_sp_fid *fid;
static struct mlxsw_sp_fid *
static struct mlxsw_sp_fid *
const struct mlxsw_sp_fid *fid)
struct mlxsw_sp_fid *fid;
static struct mlxsw_sp_fid *
static struct mlxsw_sp_fid *
const struct mlxsw_sp_fid *fid)
struct mlxsw_sp_fid *fid;
const struct mlxsw_sp_fid *fid,
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid, __be32 vni)
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid;
struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
struct mlxsw_sp_fid *
struct mlxsw_sp_fid *
const struct mlxsw_sp_fid *fid);