idpf_vport
int idpf_initiate_soft_reset(struct idpf_vport *vport,
u8 idpf_vport_get_hsplit(const struct idpf_vport *vport);
bool idpf_vport_set_hsplit(const struct idpf_vport *vport, u8 val);
struct idpf_vport *vport;
int (*intr_reg_init)(struct idpf_vport *vport,
for (struct idpf_vport **__##iter = &(adapter)->vports[0], \
struct idpf_vport **vports;
static inline bool idpf_xdp_enabled(const struct idpf_vport *vport)
struct idpf_vport;
static inline struct idpf_vport *idpf_netdev_to_vport(struct net_device *netdev)
static inline bool idpf_is_feature_ena(const struct idpf_vport *vport,
static int idpf_intr_reg_init(struct idpf_vport *vport,
static void idpf_add_port_stats(struct idpf_vport *vport, u64 **data)
static void idpf_collect_queue_stats(struct idpf_vport *vport)
struct idpf_vport *vport;
struct idpf_q_vector *idpf_find_rxq_vec(const struct idpf_vport *vport,
struct idpf_q_vector *idpf_find_txq_vec(const struct idpf_vport *vport,
struct idpf_vport *vport;
static int idpf_set_q_coalesce(const struct idpf_vport *vport,
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
static void idpf_get_timestamp_filters(const struct idpf_vport *vport,
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
IDPF_STAT(struct idpf_vport, _name, _stat)
static int idpf_idc_init_aux_vport_dev(struct idpf_vport *vport)
struct idpf_vport *vport = adapter->vports[i];
struct idpf_vport *vport = adapter->vports[i];
struct idpf_vport *vport;
static void idpf_decfg_netdev(struct idpf_vport *vport)
static void idpf_vport_rel(struct idpf_vport *vport)
static void idpf_vport_dealloc(struct idpf_vport *vport)
static bool idpf_is_hsplit_supported(const struct idpf_vport *vport)
u8 idpf_vport_get_hsplit(const struct idpf_vport *vport)
bool idpf_vport_set_hsplit(const struct idpf_vport *vport, u8 val)
static struct idpf_vport *idpf_vport_alloc(struct idpf_adapter *adapter,
struct idpf_vport *vport;
struct idpf_vport *vport = adapter->vports[i];
static void idpf_restore_features(struct idpf_vport *vport)
static int idpf_set_real_num_queues(struct idpf_vport *vport)
static void idpf_up_complete(struct idpf_vport *vport)
static int idpf_vport_open(struct idpf_vport *vport, bool rtnl)
struct idpf_vport *vport;
int idpf_initiate_soft_reset(struct idpf_vport *vport,
struct idpf_vport *new_vport;
memcpy(new_vport, vport, offsetof(struct idpf_vport, link_up));
memcpy(vport, new_vport, offsetof(struct idpf_vport, link_up));
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
static void idpf_del_all_flow_steer_filters(struct idpf_vport *vport)
static int idpf_del_mac_filter(struct idpf_vport *vport,
static int idpf_add_mac_filter(struct idpf_vport *vport,
static void idpf_del_all_mac_filters(struct idpf_vport *vport)
static void idpf_restore_mac_filters(struct idpf_vport *vport)
static void idpf_remove_mac_filters(struct idpf_vport *vport)
static void idpf_deinit_mac_addr(struct idpf_vport *vport)
static int idpf_init_mac_addr(struct idpf_vport *vport,
struct idpf_vport *vport = adapter->vports[i];
static int idpf_cfg_netdev(struct idpf_vport *vport)
static void idpf_remove_features(struct idpf_vport *vport)
static void idpf_vport_stop(struct idpf_vport *vport, bool rtnl)
u64 idpf_ptp_extend_ts(struct idpf_vport *vport, u64 in_tstamp)
static void idpf_ptp_set_rx_tstamp(struct idpf_vport *vport, int rx_filter)
int idpf_ptp_set_timestamp_mode(struct idpf_vport *vport,
struct idpf_vport *vport;
vport = container_of(work, struct idpf_vport, tstamp_task);
static void idpf_ptp_release_vport_tstamp(struct idpf_vport *vport)
static inline bool idpf_ptp_is_vport_tx_tstamp_ena(struct idpf_vport *vport)
static inline bool idpf_ptp_is_vport_rx_tstamp_ena(struct idpf_vport *vport)
int idpf_ptp_get_vport_tstamps_caps(struct idpf_vport *vport);
int idpf_ptp_get_tx_tstamp(struct idpf_vport *vport);
int idpf_ptp_set_timestamp_mode(struct idpf_vport *vport,
u64 idpf_ptp_extend_ts(struct idpf_vport *vport, u64 in_tstamp);
static inline int idpf_ptp_get_vport_tstamps_caps(struct idpf_vport *vport)
static inline int idpf_ptp_get_tx_tstamp(struct idpf_vport *vport)
idpf_ptp_set_timestamp_mode(struct idpf_vport *vport,
static inline u64 idpf_ptp_extend_ts(struct idpf_vport *vport, u32 in_tstamp)
struct idpf_vport *vport = qv->vport;
static int idpf_qp_enable(const struct idpf_vport *vport,
static int idpf_qp_disable(const struct idpf_vport *vport,
int idpf_qp_switch(struct idpf_vport *vport, u32 qid, bool en)
void idpf_vport_queues_rel(struct idpf_vport *vport,
static int idpf_vport_init_fast_path_txqs(struct idpf_vport *vport,
void idpf_vport_init_num_qs(struct idpf_vport *vport,
void idpf_vport_calc_num_q_desc(struct idpf_vport *vport,
static int idpf_txq_group_alloc(struct idpf_vport *vport,
static int idpf_rxq_group_alloc(struct idpf_vport *vport,
static int idpf_vport_queue_grp_alloc_all(struct idpf_vport *vport,
int idpf_vport_queues_alloc(struct idpf_vport *vport,
static int idpf_tx_desc_alloc(const struct idpf_vport *vport,
static int idpf_compl_desc_alloc(const struct idpf_vport *vport,
static int idpf_tx_desc_alloc_all(struct idpf_vport *vport,
const struct idpf_vport *vport = idpf_netdev_to_vport(netdev);
static void idpf_vport_intr_rel_irq(struct idpf_vport *vport,
static int idpf_vport_intr_req_irq(struct idpf_vport *vport,
static void idpf_vport_intr_ena_irq_all(struct idpf_vport *vport,
void idpf_vport_intr_deinit(struct idpf_vport *vport,
struct idpf_vport *vport;
struct idpf_vport *vport;
static void idpf_vport_intr_map_vector_to_qs(struct idpf_vport *vport,
static int idpf_vport_intr_init_vec_idx(struct idpf_vport *vport,
static void idpf_vport_intr_napi_add_all(struct idpf_vport *vport,
int idpf_vport_intr_alloc(struct idpf_vport *vport,
int idpf_vport_intr_init(struct idpf_vport *vport, struct idpf_q_vec_rsrc *rsrc)
void idpf_vport_intr_ena(struct idpf_vport *vport, struct idpf_q_vec_rsrc *rsrc)
int idpf_config_rss(struct idpf_vport *vport, struct idpf_rss_data *rss_data)
void idpf_fill_dflt_rss_lut(struct idpf_vport *vport,
int idpf_init_rss_lut(struct idpf_vport *vport, struct idpf_rss_data *rss_data)
int idpf_rx_bufs_init_all(struct idpf_vport *vport,
static int idpf_rx_desc_alloc(const struct idpf_vport *vport,
static int idpf_bufq_desc_alloc(const struct idpf_vport *vport,
static int idpf_rx_desc_alloc_all(struct idpf_vport *vport,
static int idpf_init_queue_set(const struct idpf_vport *vport,
void idpf_vport_init_num_qs(struct idpf_vport *vport,
void idpf_vport_calc_num_q_desc(struct idpf_vport *vport,
int idpf_vport_queues_alloc(struct idpf_vport *vport,
void idpf_vport_queues_rel(struct idpf_vport *vport,
int idpf_vport_intr_alloc(struct idpf_vport *vport,
void idpf_vport_intr_deinit(struct idpf_vport *vport,
int idpf_vport_intr_init(struct idpf_vport *vport,
void idpf_vport_intr_ena(struct idpf_vport *vport,
void idpf_fill_dflt_rss_lut(struct idpf_vport *vport,
int idpf_config_rss(struct idpf_vport *vport, struct idpf_rss_data *rss_data);
int idpf_init_rss_lut(struct idpf_vport *vport, struct idpf_rss_data *rss_data);
int idpf_rx_bufs_init_all(struct idpf_vport *vport,
struct idpf_q_vector *idpf_find_rxq_vec(const struct idpf_vport *vport,
struct idpf_q_vector *idpf_find_txq_vec(const struct idpf_vport *vport,
int idpf_qp_switch(struct idpf_vport *vport, u32 qid, bool en);
struct idpf_vport *vport;
struct idpf_vport *vport;
struct idpf_vport *vport;
static int idpf_vf_intr_reg_init(struct idpf_vport *vport,
static int __idpf_queue_reg_init(struct idpf_vport *vport,
int idpf_queue_reg_init(struct idpf_vport *vport,
int idpf_check_supported_desc_ids(struct idpf_vport *vport)
int idpf_send_enable_queues_msg(struct idpf_vport *vport)
int idpf_send_disable_queues_msg(struct idpf_vport *vport)
struct idpf_vport *vport;
struct idpf_vport *idpf_vid_to_vport(struct idpf_adapter *adapter, u32 v_id)
int idpf_vport_alloc_vec_indexes(struct idpf_vport *vport,
int idpf_vport_init(struct idpf_vport *vport, struct idpf_vport_max_q *max_q)
static int __idpf_vport_queue_ids_init(struct idpf_vport *vport,
int idpf_vport_queue_ids_init(struct idpf_vport *vport,
int idpf_vport_adjust_qs(struct idpf_vport *vport, struct idpf_q_vec_rsrc *rsrc)
bool idpf_vport_is_cap_ena(struct idpf_vport *vport, u16 flag)
bool idpf_sideband_flow_type_ena(struct idpf_vport *vport, u32 flow_type)
bool idpf_sideband_action_ena(struct idpf_vport *vport,
unsigned int idpf_fsteer_max_rules(struct idpf_vport *vport)
u32 idpf_get_vport_id(struct idpf_vport *vport)
struct idpf_vport *vport;
struct idpf_vport *vport;
static int idpf_wait_for_marker_event(struct idpf_vport *vport)
int idpf_queue_reg_init(struct idpf_vport *vport,
int idpf_vport_queue_ids_init(struct idpf_vport *vport,
bool idpf_vport_is_cap_ena(struct idpf_vport *vport, u16 flag);
bool idpf_sideband_flow_type_ena(struct idpf_vport *vport, u32 flow_type);
bool idpf_sideband_action_ena(struct idpf_vport *vport,
unsigned int idpf_fsteer_max_rules(struct idpf_vport *vport);
int idpf_send_disable_queues_msg(struct idpf_vport *vport);
int idpf_send_enable_queues_msg(struct idpf_vport *vport);
int idpf_vport_init(struct idpf_vport *vport, struct idpf_vport_max_q *max_q);
u32 idpf_get_vport_id(struct idpf_vport *vport);
int idpf_vport_adjust_qs(struct idpf_vport *vport,
int idpf_vport_alloc_vec_indexes(struct idpf_vport *vport,
int idpf_check_supported_desc_ids(struct idpf_vport *vport);
struct idpf_vport;
int idpf_ptp_get_vport_tstamps_caps(struct idpf_vport *vport)
idpf_ptp_get_tstamp_value(struct idpf_vport *vport,
struct idpf_vport *tstamp_vport = NULL;
int idpf_ptp_get_tx_tstamp(struct idpf_vport *vport)
int idpf_xdpsqs_get(const struct idpf_vport *vport)
void idpf_xdpsqs_put(const struct idpf_vport *vport)
const struct idpf_vport *vport = np->vport;
void idpf_xdp_set_features(const struct idpf_vport *vport)
static int idpf_xdp_setup_prog(struct idpf_vport *vport,
const struct idpf_vport *vport = rxq->q_vector->vport;
struct idpf_vport *vport;
int idpf_xdpsqs_get(const struct idpf_vport *vport);
void idpf_xdp_set_features(const struct idpf_vport *vport);
void idpf_xdpsqs_put(const struct idpf_vport *vport);
void idpf_xsk_setup_queue(const struct idpf_vport *vport, void *q,
static void idpf_xsk_setup_rxq(const struct idpf_vport *vport,
static void idpf_xsk_setup_bufq(const struct idpf_vport *vport,
static void idpf_xsk_setup_txq(const struct idpf_vport *vport,
int idpf_xsk_pool_setup(struct idpf_vport *vport, struct netdev_bpf *bpf)
const struct idpf_vport *vport = np->vport;
static void idpf_xsk_setup_complq(const struct idpf_vport *vport,
struct idpf_vport;
void idpf_xsk_setup_queue(const struct idpf_vport *vport, void *q,
int idpf_xsk_pool_setup(struct idpf_vport *vport, struct netdev_bpf *xdp);