mlx5_flow_root_namespace
struct mlx5_flow_root_namespace;
struct mlx5_flow_root_namespace *root_ns;
struct mlx5_flow_root_namespace *fdb_root_ns;
struct mlx5_flow_root_namespace *esw_egress_root_ns;
struct mlx5_flow_root_namespace *esw_ingress_root_ns;
struct mlx5_flow_root_namespace *sniffer_rx_root_ns;
struct mlx5_flow_root_namespace *sniffer_tx_root_ns;
struct mlx5_flow_root_namespace *nic_tx_root_ns;
struct mlx5_flow_root_namespace *rdma_tx_root_ns;
struct mlx5_flow_root_namespace *rdma_rx_root_ns;
u32 (*get_capabilities)(struct mlx5_flow_root_namespace *ns,
int (*create_flow_table)(struct mlx5_flow_root_namespace *ns,
int (*destroy_flow_table)(struct mlx5_flow_root_namespace *ns,
int (*modify_flow_table)(struct mlx5_flow_root_namespace *ns,
int (*create_flow_group)(struct mlx5_flow_root_namespace *ns,
int (*destroy_flow_group)(struct mlx5_flow_root_namespace *ns,
int (*create_fte)(struct mlx5_flow_root_namespace *ns,
int (*update_fte)(struct mlx5_flow_root_namespace *ns,
int (*delete_fte)(struct mlx5_flow_root_namespace *ns,
int (*update_root_ft)(struct mlx5_flow_root_namespace *ns,
int (*packet_reformat_alloc)(struct mlx5_flow_root_namespace *ns,
void (*packet_reformat_dealloc)(struct mlx5_flow_root_namespace *ns,
int (*modify_header_alloc)(struct mlx5_flow_root_namespace *ns,
void (*modify_header_dealloc)(struct mlx5_flow_root_namespace *ns,
int (*set_peer)(struct mlx5_flow_root_namespace *ns,
struct mlx5_flow_root_namespace *peer_ns);
int (*create_ns)(struct mlx5_flow_root_namespace *ns);
int (*destroy_ns)(struct mlx5_flow_root_namespace *ns);
struct mlx5_flow_root_namespace *root_ns;
struct mlx5_flow_root_namespace *fdb_root_ns;
struct mlx5_flow_root_namespace **esw_egress_root_ns;
struct mlx5_flow_root_namespace **esw_ingress_root_ns;
struct mlx5_flow_root_namespace *sniffer_tx_root_ns;
struct mlx5_flow_root_namespace *sniffer_rx_root_ns;
struct mlx5_flow_root_namespace *rdma_rx_root_ns;
struct mlx5_flow_root_namespace *rdma_tx_root_ns;
struct mlx5_flow_root_namespace *egress_root_ns;
struct mlx5_flow_root_namespace *port_sel_root_ns;
int mlx5_flow_namespace_set_peer(struct mlx5_flow_root_namespace *ns,
struct mlx5_flow_root_namespace *peer_ns);
struct mlx5_flow_root_namespace *find_root(struct fs_node *node);
static int mlx5_cmd_stub_delete_fte(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_packet_reformat_alloc(struct mlx5_flow_root_namespace *ns,
static void mlx5_cmd_stub_packet_reformat_dealloc(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_modify_header_alloc(struct mlx5_flow_root_namespace *ns,
static void mlx5_cmd_stub_modify_header_dealloc(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_set_peer(struct mlx5_flow_root_namespace *ns,
struct mlx5_flow_root_namespace *peer_ns)
static int mlx5_cmd_stub_create_ns(struct mlx5_flow_root_namespace *ns)
static int mlx5_cmd_stub_destroy_ns(struct mlx5_flow_root_namespace *ns)
static u32 mlx5_cmd_stub_get_capabilities(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_update_root_ft(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_create_flow_table(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_destroy_flow_table(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_modify_flow_table(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_create_flow_group(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_destroy_flow_group(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_update_root_ft(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_create_flow_table(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_destroy_flow_table(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_create_fte(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_update_fte(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_delete_fte(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_modify_flow_table(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_create_flow_group(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_packet_reformat_alloc(struct mlx5_flow_root_namespace *ns,
static void mlx5_cmd_packet_reformat_dealloc(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_modify_header_alloc(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_destroy_flow_group(struct mlx5_flow_root_namespace *ns,
static void mlx5_cmd_modify_header_dealloc(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_create_fte(struct mlx5_flow_root_namespace *ns,
static u32 mlx5_cmd_get_capabilities(struct mlx5_flow_root_namespace *ns,
static int mlx5_cmd_stub_update_fte(struct mlx5_flow_root_namespace *ns,
struct mlx5_flow_root_namespace *root = find_root(&ns->node);
struct mlx5_flow_root_namespace *root = find_root(&ft->node);
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *root = find_root(&ft->node);
struct mlx5_flow_root_namespace *root = find_root(&ft->node);
struct mlx5_flow_root_namespace *root = find_root(&ft->node);
struct mlx5_flow_root_namespace *root = find_root(&ft->node);
struct mlx5_flow_root_namespace *root_ns;
struct mlx5_flow_root_namespace *root_ns;
root_ns = container_of(ns, struct mlx5_flow_root_namespace, ns);
static struct mlx5_flow_root_namespace
struct mlx5_flow_root_namespace *root_ns;
static void set_prio_attrs(struct mlx5_flow_root_namespace *root_ns)
static void cleanup_root_ns(struct mlx5_flow_root_namespace *root_ns)
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *root = dev->priv.steering->root_ns;
static void cleanup_root_ns(struct mlx5_flow_root_namespace *root_ns);
struct mlx5_flow_root_namespace *root = dev->priv.steering->root_ns;
static struct mlx5_flow_root_namespace
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *root;
int mlx5_flow_namespace_set_peer(struct mlx5_flow_root_namespace *ns,
struct mlx5_flow_root_namespace *peer_ns)
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *find_root(struct fs_node *node)
return container_of(ns, struct mlx5_flow_root_namespace, ns);
struct mlx5_flow_root_namespace *root = find_root(node);
struct mlx5_flow_root_namespace *root = find_root(node);
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *root;
struct mlx5_flow_root_namespace *root = find_root(&prio->node);
struct mlx5_flow_root_namespace *root = find_root(&prio->node);
struct mlx5_flow_root_namespace *root;