H A D | rocker.c | 213 struct rocker_port { struct 297 static __be16 rocker_port_vid_to_vlan(struct rocker_port *rocker_port, rocker_port_vid_to_vlan() argument 314 static u16 rocker_port_vlan_to_vid(struct rocker_port *rocker_port, rocker_port_vlan_to_vid() argument 323 static bool rocker_port_is_bridged(struct rocker_port *rocker_port) rocker_port_is_bridged() argument 382 static u32 rocker_msix_tx_vector(struct rocker_port *rocker_port) rocker_msix_tx_vector() argument 388 static u32 rocker_msix_rx_vector(struct rocker_port *rocker_port) rocker_msix_rx_vector() argument 1129 static size_t rocker_port_rx_buf_len(struct rocker_port *rocker_port) rocker_port_rx_buf_len() argument 1221 static int rocker_port_dma_rings_init(struct rocker_port *rocker_port) rocker_port_dma_rings_init() argument 1282 static void rocker_port_dma_rings_fini(struct rocker_port *rocker_port) rocker_port_dma_rings_fini() argument 1295 static void rocker_port_set_enable(struct rocker_port *rocker_port, bool enable) rocker_port_set_enable() argument 1334 static void rocker_port_link_up(struct rocker_port *rocker_port) rocker_port_link_up() argument 1340 static void rocker_port_link_down(struct rocker_port *rocker_port) rocker_port_link_down() argument 1352 struct rocker_port *rocker_port; rocker_event_link_change() local 1390 struct rocker_port *rocker_port; rocker_event_mac_vlan_seen() local 1472 struct rocker_port *rocker_port = dev_id; rocker_tx_irq_handler() local 1480 struct rocker_port *rocker_port = dev_id; rocker_rx_irq_handler() local 1761 static int rocker_cmd_get_port_settings_ethtool(struct rocker_port *rocker_port, rocker_cmd_get_port_settings_ethtool() argument 1770 static int rocker_cmd_get_port_settings_macaddr(struct rocker_port *rocker_port, rocker_cmd_get_port_settings_macaddr() argument 1779 static int rocker_cmd_set_port_settings_ethtool(struct rocker_port *rocker_port, rocker_cmd_set_port_settings_ethtool() argument 1787 static int rocker_cmd_set_port_settings_macaddr(struct rocker_port *rocker_port, rocker_cmd_set_port_settings_macaddr() argument 1795 static int rocker_port_set_learning(struct rocker_port *rocker_port) rocker_port_set_learning() argument 2310 static int rocker_flow_tbl_add(struct rocker_port *rocker_port, rocker_flow_tbl_add() argument 2346 static int rocker_flow_tbl_del(struct rocker_port *rocker_port, rocker_flow_tbl_del() argument 2386 static int rocker_flow_tbl_do(struct rocker_port *rocker_port, rocker_flow_tbl_do() argument 2397 static int rocker_flow_tbl_ig_port(struct rocker_port *rocker_port, rocker_flow_tbl_ig_port() argument 2416 static int rocker_flow_tbl_vlan(struct rocker_port *rocker_port, rocker_flow_tbl_vlan() argument 2441 static int rocker_flow_tbl_term_mac(struct rocker_port *rocker_port, rocker_flow_tbl_term_mac() argument 2477 static int rocker_flow_tbl_bridge(struct rocker_port *rocker_port, rocker_flow_tbl_bridge() argument 2531 static int rocker_flow_tbl_ucast4_routing(struct rocker_port *rocker_port, rocker_flow_tbl_ucast4_routing() argument 2556 static int rocker_flow_tbl_acl(struct rocker_port *rocker_port, rocker_flow_tbl_acl() argument 2636 static int rocker_group_tbl_add(struct rocker_port *rocker_port, rocker_group_tbl_add() argument 2667 static int rocker_group_tbl_del(struct rocker_port *rocker_port, rocker_group_tbl_del() argument 2699 static int rocker_group_tbl_do(struct rocker_port *rocker_port, rocker_group_tbl_do() argument 2710 static int rocker_group_l2_interface(struct rocker_port *rocker_port, rocker_group_l2_interface() argument 2726 static int rocker_group_l2_fan_out(struct rocker_port *rocker_port, rocker_group_l2_fan_out() argument 2750 static int rocker_group_l2_flood(struct rocker_port *rocker_port, rocker_group_l2_flood() argument 2760 static int rocker_group_l3_unicast(struct rocker_port *rocker_port, rocker_group_l3_unicast() argument 2826 static int rocker_port_ipv4_neigh(struct rocker_port *rocker_port, rocker_port_ipv4_neigh() argument 2917 static int rocker_port_ipv4_resolve(struct rocker_port *rocker_port, rocker_port_ipv4_resolve() argument 2944 static int rocker_port_ipv4_nh(struct rocker_port *rocker_port, int flags, rocker_port_ipv4_nh() argument 3002 static int rocker_port_vlan_flood_group(struct rocker_port *rocker_port, rocker_port_vlan_flood_group() argument 3049 static int rocker_port_vlan_l2_groups(struct rocker_port *rocker_port, rocker_port_vlan_l2_groups() argument 3151 static int rocker_port_ctrl_vlan_acl(struct rocker_port *rocker_port, rocker_port_ctrl_vlan_acl() argument 3184 static int rocker_port_ctrl_vlan_bridge(struct rocker_port *rocker_port, rocker_port_ctrl_vlan_bridge() argument 3208 static int rocker_port_ctrl_vlan_term(struct rocker_port *rocker_port, rocker_port_ctrl_vlan_term() argument 3232 static int rocker_port_ctrl_vlan(struct rocker_port *rocker_port, int flags, rocker_port_ctrl_vlan() argument 3249 static int rocker_port_ctrl_vlan_add(struct rocker_port *rocker_port, rocker_port_ctrl_vlan_add() argument 3267 static int rocker_port_ctrl(struct rocker_port *rocker_port, int flags, rocker_port_ctrl() argument 3285 static int rocker_port_vlan(struct rocker_port *rocker_port, int flags, rocker_port_vlan() argument 3343 static int rocker_port_ig_tbl(struct rocker_port *rocker_port, int flags) rocker_port_ig_tbl() argument 3399 static int rocker_port_fdb_learn(struct rocker_port *rocker_port, rocker_port_fdb_learn() argument 3457 static int rocker_port_fdb(struct rocker_port *rocker_port, rocker_port_fdb() argument 3502 static int rocker_port_fdb_flush(struct rocker_port *rocker_port) rocker_port_fdb_flush() argument 3537 static int rocker_port_router_mac(struct rocker_port *rocker_port, rocker_port_router_mac() argument 3569 static int rocker_port_fwding(struct rocker_port *rocker_port) rocker_port_fwding() argument 3609 static int rocker_port_stp_update(struct rocker_port *rocker_port, u8 state) rocker_port_stp_update() argument 3660 static int rocker_port_fwd_enable(struct rocker_port *rocker_port) rocker_port_fwd_enable() argument 3670 static int rocker_port_fwd_disable(struct rocker_port *rocker_port) rocker_port_fwd_disable() argument 3694 static __be16 rocker_port_internal_vlan_id_get(struct rocker_port *rocker_port, rocker_port_internal_vlan_id_get() argument 3736 static void rocker_port_internal_vlan_id_put(struct rocker_port *rocker_port, rocker_port_internal_vlan_id_put() argument 3765 static int rocker_port_fib_ipv4(struct rocker_port *rocker_port, __be32 dst, rocker_port_fib_ipv4() argument 3816 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_open() local 3850 free_irq(rocker_msix_rx_vector(rocker_port), rocker_port); rocker_port_open() local 3852 free_irq(rocker_msix_tx_vector(rocker_port), rocker_port); rocker_port_open() local 3860 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_stop() local 3867 free_irq(rocker_msix_rx_vector(rocker_port), rocker_port); rocker_port_stop() local 3868 free_irq(rocker_msix_tx_vector(rocker_port), rocker_port); rocker_port_stop() local 3874 static void rocker_tx_desc_frags_unmap(struct rocker_port *rocker_port, rocker_tx_desc_frags_unmap() argument 3904 static int rocker_tx_desc_frag_map_put(struct rocker_port *rocker_port, rocker_tx_desc_frag_map_put() argument 3940 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_xmit() local 4000 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_set_mac_address() local 4016 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_vlan_rx_add_vid() local 4029 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_vlan_rx_kill_vid() local 4045 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_fdb_add() local 4059 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_fdb_del() local 4111 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_fdb_dump() local 4145 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_bridge_setlink() local 4185 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_bridge_getlink() local 4197 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_get_phys_port_name() local 4231 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_swdev_parent_id_get() local 4241 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_swdev_port_stp_update() local 4252 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_swdev_fib_ipv4_add() local 4264 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_swdev_fib_ipv4_del() local 4285 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_get_settings() local 4293 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_set_settings() local 4402 static int rocker_cmd_get_port_stats_ethtool(struct rocker_port *rocker_port, rocker_cmd_get_port_stats_ethtool() argument 4414 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_get_stats() local 4457 struct rocker_port *rocker_port = rocker_port_napi_tx_get(napi); rocker_port_poll_tx() local 4529 struct rocker_port *rocker_port = rocker_port_napi_rx_get(napi); rocker_port_poll_rx() local 4570 static void rocker_carrier_init(struct rocker_port *rocker_port) rocker_carrier_init() argument 4585 struct rocker_port *rocker_port; rocker_remove_ports() local 4614 struct rocker_port *rocker_port; rocker_probe_port() local 4895 static int rocker_port_bridge_join(struct rocker_port *rocker_port, rocker_port_bridge_join() argument 4915 static int rocker_port_bridge_leave(struct rocker_port *rocker_port) rocker_port_bridge_leave() argument 4943 struct rocker_port *rocker_port = netdev_priv(dev); rocker_port_master_changed() local 4994 struct rocker_port *rocker_port = netdev_priv(dev); rocker_neigh_update() local 1105 rocker_dma_rx_ring_skb_map(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, struct sk_buff *skb, size_t buf_len) rocker_dma_rx_ring_skb_map() argument 1134 rocker_dma_rx_ring_skb_alloc(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info) rocker_dma_rx_ring_skb_alloc() argument 1190 rocker_dma_rx_ring_skbs_alloc(struct rocker *rocker, struct rocker_port *rocker_port) rocker_dma_rx_ring_skbs_alloc() argument 1211 rocker_dma_rx_ring_skbs_free(struct rocker *rocker, struct rocker_port *rocker_port) rocker_dma_rx_ring_skbs_free() argument 1495 rocker_cmd_exec(struct rocker *rocker, struct rocker_port *rocker_port, rocker_cmd_cb_t prepare, void *prepare_priv, rocker_cmd_cb_t process, void *process_priv, bool nowait) rocker_cmd_exec() argument 1547 rocker_cmd_get_port_settings_prep(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_get_port_settings_prep() argument 1568 rocker_cmd_get_port_settings_ethtool_proc(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_get_port_settings_ethtool_proc() argument 1607 rocker_cmd_get_port_settings_macaddr_proc(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_get_port_settings_macaddr_proc() argument 1640 rocker_cmd_get_port_settings_phys_name_proc(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_get_port_settings_phys_name_proc() argument 1682 rocker_cmd_set_port_settings_ethtool_prep(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_set_port_settings_ethtool_prep() argument 1713 rocker_cmd_set_port_settings_macaddr_prep(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_set_port_settings_macaddr_prep() argument 1738 rocker_cmd_set_port_learning_prep(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_set_port_learning_prep() argument 1998 rocker_cmd_flow_tbl_add(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_flow_tbl_add() argument 2056 rocker_cmd_flow_tbl_del(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_flow_tbl_del() argument 2166 rocker_cmd_group_tbl_add(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_group_tbl_add() argument 2212 rocker_cmd_group_tbl_del(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_group_tbl_del() argument 4069 rocker_fdb_fill_info(struct sk_buff *skb, struct rocker_port *rocker_port, const unsigned char *addr, u16 vid, u32 portid, u32 seq, int type, unsigned int flags) rocker_fdb_fill_info() argument 4339 rocker_cmd_get_port_stats_prep(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_get_port_stats_prep() argument 4364 rocker_cmd_get_port_stats_ethtool_proc(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info, void *priv) rocker_cmd_get_port_stats_ethtool_proc() argument 4493 rocker_port_rx_proc(struct rocker *rocker, struct rocker_port *rocker_port, struct rocker_desc_info *desc_info) rocker_port_rx_proc() argument 4597 rocker_port_dev_addr_init(struct rocker *rocker, struct rocker_port *rocker_port) rocker_port_dev_addr_init() argument
|