Home
last modified time | relevance | path

Searched refs:mvpp2_port (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.h196 void mvpp22_rss_fill_table(struct mvpp2_port *port, u32 table);
198 void mvpp22_rss_port_init(struct mvpp2_port *port);
200 void mvpp22_rss_enable(struct mvpp2_port *port);
201 void mvpp22_rss_disable(struct mvpp2_port *port);
203 int mvpp2_ethtool_rxfh_get(struct mvpp2_port *port, struct ethtool_rxnfc *info);
204 int mvpp2_ethtool_rxfh_set(struct mvpp2_port *port, struct ethtool_rxnfc *info);
208 void mvpp2_cls_port_config(struct mvpp2_port *port);
210 void mvpp2_cls_oversize_rxq_set(struct mvpp2_port *port);
Dmvpp2_main.c149 static dma_addr_t mvpp2_txdesc_dma_addr_get(struct mvpp2_port *port, in mvpp2_txdesc_dma_addr_get()
159 static void mvpp2_txdesc_dma_addr_set(struct mvpp2_port *port, in mvpp2_txdesc_dma_addr_set()
180 static size_t mvpp2_txdesc_size_get(struct mvpp2_port *port, in mvpp2_txdesc_size_get()
189 static void mvpp2_txdesc_size_set(struct mvpp2_port *port, in mvpp2_txdesc_size_set()
199 static void mvpp2_txdesc_txq_set(struct mvpp2_port *port, in mvpp2_txdesc_txq_set()
209 static void mvpp2_txdesc_cmd_set(struct mvpp2_port *port, in mvpp2_txdesc_cmd_set()
219 static unsigned int mvpp2_txdesc_offset_get(struct mvpp2_port *port, in mvpp2_txdesc_offset_get()
228 static dma_addr_t mvpp2_rxdesc_dma_addr_get(struct mvpp2_port *port, in mvpp2_rxdesc_dma_addr_get()
238 static unsigned long mvpp2_rxdesc_cookie_get(struct mvpp2_port *port, in mvpp2_rxdesc_cookie_get()
248 static size_t mvpp2_rxdesc_size_get(struct mvpp2_port *port, in mvpp2_rxdesc_size_get()
[all …]
Dmvpp2_prs.h306 int mvpp2_prs_mac_da_accept(struct mvpp2_port *port, const u8 *da, bool add);
312 int mvpp2_prs_def_flow(struct mvpp2_port *port);
314 void mvpp2_prs_vid_enable_filtering(struct mvpp2_port *port);
316 void mvpp2_prs_vid_disable_filtering(struct mvpp2_port *port);
318 int mvpp2_prs_vid_entry_add(struct mvpp2_port *port, u16 vid);
320 void mvpp2_prs_vid_entry_remove(struct mvpp2_port *port, u16 vid);
322 void mvpp2_prs_vid_remove_all(struct mvpp2_port *port);
327 void mvpp2_prs_mac_del_all(struct mvpp2_port *port);
Dmvpp2_debugfs.c27 struct mvpp2_port *port;
135 struct mvpp2_port *port = entry->port; in mvpp2_dbgfs_port_flow_hash_opt_show()
182 struct mvpp2_port *port = entry->port; in mvpp2_dbgfs_port_flow_engine_show()
206 struct mvpp2_port *port = s->private; in mvpp2_dbgfs_flow_c2_hits_show()
221 struct mvpp2_port *port = s->private; in mvpp2_dbgfs_flow_c2_rxq_show()
242 struct mvpp2_port *port = s->private; in mvpp2_dbgfs_flow_c2_enable_show()
259 struct mvpp2_port *port = s->private; in mvpp2_dbgfs_port_vid_show()
294 struct mvpp2_port *port = s->private; in mvpp2_dbgfs_port_parser_show()
315 struct mvpp2_port *port = s->private; in mvpp2_dbgfs_filter_show()
480 struct mvpp2_port *port, in mvpp2_dbgfs_flow_port_init()
[all …]
Dmvpp2_cls.c608 static int mvpp2_port_rss_hash_opts_set(struct mvpp2_port *port, int flow_type, in mvpp2_port_rss_hash_opts_set()
698 static u16 mvpp2_port_rss_hash_opts_get(struct mvpp2_port *port, int flow_type) in mvpp2_port_rss_hash_opts_get()
781 static void mvpp2_port_c2_cls_init(struct mvpp2_port *port) in mvpp2_port_c2_cls_init()
846 void mvpp2_cls_port_config(struct mvpp2_port *port) in mvpp2_cls_port_config()
883 static void mvpp2_rss_port_c2_enable(struct mvpp2_port *port) in mvpp2_rss_port_c2_enable()
894 static void mvpp2_rss_port_c2_disable(struct mvpp2_port *port) in mvpp2_rss_port_c2_disable()
905 void mvpp22_rss_enable(struct mvpp2_port *port) in mvpp22_rss_enable()
910 void mvpp22_rss_disable(struct mvpp2_port *port) in mvpp22_rss_disable()
916 void mvpp2_cls_oversize_rxq_set(struct mvpp2_port *port) in mvpp2_cls_oversize_rxq_set()
931 static inline u32 mvpp22_rxfh_indir(struct mvpp2_port *port, u32 rxq) in mvpp22_rxfh_indir()
[all …]
Dmvpp2_prs.c1941 int mvpp2_prs_vid_entry_add(struct mvpp2_port *port, u16 vid) in mvpp2_prs_vid_entry_add()
2005 void mvpp2_prs_vid_entry_remove(struct mvpp2_port *port, u16 vid) in mvpp2_prs_vid_entry_remove()
2022 void mvpp2_prs_vid_remove_all(struct mvpp2_port *port) in mvpp2_prs_vid_remove_all()
2035 void mvpp2_prs_vid_disable_filtering(struct mvpp2_port *port) in mvpp2_prs_vid_disable_filtering()
2047 void mvpp2_prs_vid_enable_filtering(struct mvpp2_port *port) in mvpp2_prs_vid_enable_filtering()
2209 int mvpp2_prs_mac_da_accept(struct mvpp2_port *port, const u8 *da, bool add) in mvpp2_prs_mac_da_accept()
2299 struct mvpp2_port *port = netdev_priv(dev); in mvpp2_prs_update_mac_da()
2318 void mvpp2_prs_mac_del_all(struct mvpp2_port *port) in mvpp2_prs_mac_del_all()
2445 int mvpp2_prs_def_flow(struct mvpp2_port *port) in mvpp2_prs_def_flow()
Dmvpp2.h735 struct mvpp2_port *port_list[MVPP2_MAX_PORTS];
790 struct mvpp2_port *port;
793 struct mvpp2_port { struct