/openbmc/linux/drivers/net/ethernet/rocker/ |
H A D | rocker_main.c | 96 static u32 rocker_msix_vector(const struct rocker *rocker, unsigned int vector) in rocker_msix_vector() argument 98 return rocker->msix_entries[vector].vector; in rocker_msix_vector() 103 return rocker_msix_vector(rocker_port->rocker, in rocker_msix_tx_vector() 109 return rocker_msix_vector(rocker_port->rocker, in rocker_msix_rx_vector() 113 #define rocker_write32(rocker, reg, val) \ argument 114 writel((val), (rocker)->hw_addr + (ROCKER_ ## reg)) 115 #define rocker_read32(rocker, reg) \ argument 116 readl((rocker)->hw_addr + (ROCKER_ ## reg)) 117 #define rocker_write64(rocker, reg, val) \ argument 118 writeq((val), (rocker)->hw_addr + (ROCKER_ ## reg)) [all …]
|
H A D | rocker.h | 38 struct rocker; 42 struct rocker *rocker; member 53 struct rocker *rocker); 57 struct rocker { struct 95 int (*init)(struct rocker *rocker); argument 96 void (*fini)(struct rocker *rocker); 133 int (*fib4_add)(struct rocker *rocker, 135 int (*fib4_del)(struct rocker *rocker, 137 void (*fib4_abort)(struct rocker *rocker);
|
H A D | Makefile | 6 obj-$(CONFIG_ROCKER) += rocker.o 7 rocker-y := rocker_main.o rocker_tlv.o rocker_ofdpa.o
|
H A D | rocker_ofdpa.c | 174 struct rocker *rocker; member 1439 rocker_port = ofdpa->rocker->ports[port_index]; in ofdpa_port_get() 1448 unsigned int port_count = ofdpa->rocker->port_count; in ofdpa_port_vlan_flood_group() 1494 unsigned int port_count = ofdpa->rocker->port_count; in ofdpa_port_vlan_l2_groups() 2347 static int ofdpa_init(struct rocker *rocker) in ofdpa_init() argument 2349 struct ofdpa *ofdpa = rocker->wpriv; in ofdpa_init() 2351 ofdpa->rocker = rocker; in ofdpa_init() 2376 static void ofdpa_fini(struct rocker *rocker) in ofdpa_fini() argument 2378 struct ofdpa *ofdpa = rocker->wpriv; in ofdpa_fini() 2390 flush_workqueue(rocker->rocker_owq); in ofdpa_fini() [all …]
|
H A D | Kconfig | 27 module will be called rocker.
|
/openbmc/qemu/qapi/ |
H A D | rocker.json | 25 # @query-rocker: 27 # Return rocker switch information. 40 { 'command': 'query-rocker', 95 # @query-rocker-ports: 97 # Return rocker switch port information. 114 { 'command': 'query-rocker-ports', 234 # @query-rocker-of-dpa-flows: 236 # Return rocker OF-DPA flow information. 243 # Returns: rocker OF-DPA flow information 260 { 'command': 'query-rocker-of-dpa-flows', [all …]
|
H A D | qapi-schema.json | 57 { 'include': 'rocker.json' }
|
H A D | meson.build | 66 'rocker',
|
/openbmc/qemu/hw/net/ |
H A D | meson.build | 64 'rocker/rocker.c', 65 'rocker/rocker_desc.c', 66 'rocker/rocker_fp.c', 67 'rocker/rocker_of_dpa.c', 68 'rocker/rocker_world.c', 69 ), if_false: files('rocker/qmp-norocker.c')) 70 system_ss.add(files('rocker/rocker-hmp-cmds.c'))
|
/openbmc/qemu/hw/net/rocker/ |
H A D | rocker-hmp-cmds.c | 26 RockerSwitch *rocker; in hmp_rocker() local 29 rocker = qmp_query_rocker(name, &err); in hmp_rocker() 34 monitor_printf(mon, "name: %s\n", rocker->name); in hmp_rocker() 35 monitor_printf(mon, "id: 0x%" PRIx64 "\n", rocker->id); in hmp_rocker() 36 monitor_printf(mon, "ports: %d\n", rocker->ports); in hmp_rocker() 38 qapi_free_RockerSwitch(rocker); in hmp_rocker()
|
H A D | rocker.c | 41 struct rocker { struct 74 QLIST_ENTRY(rocker) next; argument 77 static QLIST_HEAD(, rocker) rockers; 101 RockerSwitch *rocker; in qmp_query_rocker() local 110 rocker = g_new0(RockerSwitch, 1); in qmp_query_rocker() 111 rocker->name = g_strdup(r->name); in qmp_query_rocker() 112 rocker->id = r->switch_id; in qmp_query_rocker() 113 rocker->ports = r->fp_ports; in qmp_query_rocker() 115 return rocker; in qmp_query_rocker()
|
H A D | rocker.h | 70 typedef struct rocker Rocker;
|
/openbmc/qemu/ |
H A D | hmp-commands-info.hx | 651 .name = "rocker", 654 .help = "Show rocker switch", 659 ``info rocker`` *name* 660 Show rocker switch. 664 .name = "rocker-ports", 667 .help = "Show rocker ports", 672 ``info rocker-ports`` *name*-ports 673 Show rocker ports. 677 .name = "rocker-of-dpa-flows", 680 .help = "Show rocker OF-DPA flow tables", [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | index.rst | 38 rocker
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | orion5x-lacie-d2-network.dts | 47 label = "Power rocker switch (on|auto)"; 54 label = "Power rocker switch (auto|off)";
|
H A D | kirkwood-netxbig.dtsi | 60 * esc and power represent a three position rocker
|
/openbmc/qemu/tests/rocker/ |
H A D | port | 2 simp create -o sw1:rocker:sw1 tut tut.dot
|
H A D | bridge | 2 simp create -o sw1:rocker:sw1 tut tut.dot
|
H A D | bridge-stp | 2 simp create -o sw1:rocker:sw1 tut tut.dot
|
H A D | bridge-vlan | 2 simp create -o sw1:rocker:sw1 tut tut.dot
|
H A D | bridge-vlan-stp | 2 simp create -o sw1:rocker:sw1 tut tut.dot
|
/openbmc/linux/drivers/net/ethernet/ |
H A D | Makefile | 83 obj-$(CONFIG_NET_VENDOR_ROCKER) += rocker/
|
H A D | Kconfig | 172 source "drivers/net/ethernet/rocker/Kconfig"
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | kirkwood-netxbig.dtsi | 60 * esc and power represent a three position rocker
|
/openbmc/linux/Documentation/networking/ |
H A D | switchdev.rst | 281 notified to the bridge using SWITCHDEV_FDB_DEL. See rocker driver for 405 should trigger the kernel's neighbor resolution process. See the rocker
|