Home
last modified time | relevance | path

Searched full:esw (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_eswitch.c219 esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u32 vport) in esw_fdb_set_vport_rule() argument
246 esw_debug(esw->dev, in esw_fdb_set_vport_rule()
251 mlx5_add_flow_rules(esw->fdb_table.fdb, spec, in esw_fdb_set_vport_rule()
262 static int esw_create_fdb_table(struct mlx5_eswitch *esw) in esw_fdb_set_vport_rule()
266 struct mlx5_core_dev *dev = esw->dev; in esw_fdb_set_vport_rule()
317 esw->fdb_table.addr_grp = g; in esw_create_fdb_table()
318 esw->fdb_table.fdb = fdb; in esw_create_fdb_table()
326 static void esw_destroy_fdb_table(struct mlx5_eswitch *esw) in esw_create_fdb_table()
328 if (!esw->fdb_table.fdb)
331 esw_debug(esw in esw_destroy_fdb_table()
268 esw_create_fdb_table(struct mlx5_eswitch * esw) esw_create_fdb_table() argument
329 esw_destroy_fdb_table(struct mlx5_eswitch * esw) esw_destroy_fdb_table() argument
345 esw_add_uc_addr(struct mlx5_eswitch * esw,struct vport_addr * vaddr) esw_add_uc_addr() argument
381 esw_del_uc_addr(struct mlx5_eswitch * esw,struct vport_addr * vaddr) esw_del_uc_addr() argument
406 esw_add_mc_addr(struct mlx5_eswitch * esw,struct vport_addr * vaddr) esw_add_mc_addr() argument
437 esw_del_mc_addr(struct mlx5_eswitch * esw,struct vport_addr * vaddr) esw_del_mc_addr() argument
471 esw_apply_vport_addr_list(struct mlx5_eswitch * esw,u32 vport_num,int list_type) esw_apply_vport_addr_list() argument
506 esw_update_vport_addr_list(struct mlx5_eswitch * esw,u32 vport_num,int list_type) esw_update_vport_addr_list() argument
574 struct mlx5_eswitch *esw = dev->priv.eswitch; esw_vport_change_handler() local
601 esw_vport_enable_egress_acl(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_enable_egress_acl() argument
678 esw_vport_cleanup_egress_rules(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_cleanup_egress_rules() argument
685 esw_vport_disable_egress_acl(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_disable_egress_acl() argument
702 esw_vport_enable_ingress_acl(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_enable_ingress_acl() argument
763 esw_vport_cleanup_ingress_rules(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_cleanup_ingress_rules() argument
769 esw_vport_disable_ingress_acl(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_disable_ingress_acl() argument
784 esw_vport_ingress_config(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_ingress_config() argument
841 esw_vport_egress_config(struct mlx5_eswitch * esw,struct mlx5_vport * vport) esw_vport_egress_config() argument
918 esw_enable_vport(struct mlx5_eswitch * esw,int vport_num,int enable_events) esw_enable_vport() argument
956 esw_cleanup_vport(struct mlx5_eswitch * esw,u16 vport_num) esw_cleanup_vport() argument
977 esw_disable_vport(struct mlx5_eswitch * esw,int vport_num) esw_disable_vport() argument
1014 mlx5_eswitch_enable_sriov(struct mlx5_eswitch * esw,int nvfs) mlx5_eswitch_enable_sriov() argument
1055 mlx5_eswitch_disable_sriov(struct mlx5_eswitch * esw) mlx5_eswitch_disable_sriov() argument
1078 struct mlx5_eswitch *esw; mlx5_eswitch_init() local
1146 mlx5_eswitch_cleanup(struct mlx5_eswitch * esw) mlx5_eswitch_cleanup() argument
1162 mlx5_eswitch_vport_event(struct mlx5_eswitch * esw,struct mlx5_eqe * eqe) mlx5_eswitch_vport_event() argument
1181 ESW_ALLOWED(esw) global() argument
1183 LEGAL_VPORT(esw,vport) global() argument
1197 mlx5_eswitch_set_vport_mac(struct mlx5_eswitch * esw,int vport,u8 mac[ETH_ALEN]) mlx5_eswitch_set_vport_mac() argument
1228 mlx5_eswitch_set_vport_state(struct mlx5_eswitch * esw,int vport,int link_state) mlx5_eswitch_set_vport_state() argument
1241 mlx5_eswitch_get_vport_config(struct mlx5_eswitch * esw,int vport,struct mlx5_esw_vport_info * ivi) mlx5_eswitch_get_vport_config() argument
1267 mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch * esw,int vport,u16 vlan,u8 qos) mlx5_eswitch_set_vport_vlan() argument
[all...]
H A Deswitch.h156 void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw);
157 void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe);
158 int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs);
159 void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw);
160 int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw,
162 int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw,
164 int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw,
166 int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw,
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dralink,rt3050-esw.txt8 - compatible: Should be "ralink,rt3050-esw"
12 - reset-names: Should contain the reset names "esw"
21 esw@10110000 {
22 compatible = "ralink,rt3050-esw";
26 reset-names = "esw";
H A Dmediatek-net.txt21 "ethif", "esw", "gp2", "gp1" : For MT2701 and MT7623 SoC
22 "ethif", "esw", "gp0", "gp1", "gp2", "sgmii_tx250m", "sgmii_rx250m",
24 "ethif", "sgmiitop", "esw", "gp0", "gp1", "gp2", "fe", "sgmii_tx250m",
63 clock-names = "ethif", "esw", "gp2", "gp1";
H A Dmediatek,net.yaml128 - const: esw
187 - const: esw
229 - const: esw
353 - const: esw
445 clock-names = "ethif", "esw", "gp0", "gp1", "gp2",
H A Dralink,rt2880-net.txt20 "esw" is also required.
/freebsd/lib/msun/src/
H A De_hypotl.c34 #define ESW(exp) (MAX_EXP - 1 + (exp)) /* expsign word */ macro
59 if(ha > ESW(MAX_EXP/2-12)) { /* a>2**(MAX_EXP/2-12) */ in hypotl()
60 if(ha >= ESW(MAX_EXP)) { /* Inf or NaN */ in hypotl()
67 if (hb >= ESW(MAX_EXP) && manh == LDBL_NBIT && manl == 0) w = b; in hypotl()
76 if(hb < ESW(-(MAX_EXP/2-12))) { /* b < 2**-(MAX_EXP/2-12) */ in hypotl()
82 SET_HIGH_WORD(t1,ESW(MAX_EXP-2)); /* t1=2^(MAX_EXP-2) */ in hypotl()
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Dmediatek,mt7622-pinctrl.yaml108 enum: [esw, esw_p0_p1, esw_p2_p3_p4, rgmii_via_esw,
364 mux-esw {
365 groups = "esw";
H A Dpinctrl-mt7622.txt208 "esw" "eth" 51, 52, 53, 54, 55, 56,
479 mux-esw {
480 groups = "esw";
/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch.c75 { "ralink,rt3050-esw", MTK_SWITCH_RT3050 },
76 { "ralink,rt3352-esw", MTK_SWITCH_RT3352 },
77 { "ralink,rt5350-esw", MTK_SWITCH_RT5350 },
80 { "mediatek,mt7628-esw", MTK_SWITCH_MT7628 },
H A Dmtkswitch_rt3050.c504 sprintf(sc->info.es_name, "Ralink ESW"); in mtk_attach_switch_rt3050()
/freebsd/sys/contrib/device-tree/src/arm/mediatek/
H A Dmt7629.dtsi460 clock-names = "ethif", "sgmiitop", "esw", "gp0", "gp1",
H A Dmt2701.dtsi738 clock-names = "ethif", "esw", "gp1", "gp2", "trgpll";
H A Dmt7623.dtsi972 clock-names = "ethif", "esw", "gp1", "gp2", "trgpll";
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/
H A Dmt7622.dtsi987 clock-names = "ethif", "esw", "gp0", "gp1", "gp2",