/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 154 __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u32 vport, bool rx_rule, in __esw_fdb_set_vport_rule() argument 197 esw_debug(esw->dev, in __esw_fdb_set_vport_rule() 203 mlx5_add_flow_rules(esw->fdb_table.legacy.fdb, spec, in __esw_fdb_set_vport_rule() 206 esw_warn(esw->dev, in __esw_fdb_set_vport_rule() 217 esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u32 vport) in esw_fdb_set_vport_rule() argument 222 return __esw_fdb_set_vport_rule(esw, vport, false, mac_c, mac); in esw_fdb_set_vport_rule() 226 esw_fdb_set_vport_allmulti_rule(struct mlx5_eswitch *esw, u32 vport) in esw_fdb_set_vport_allmulti_rule() argument 235 return __esw_fdb_set_vport_rule(esw, vport, false, mac_c, mac_v); in esw_fdb_set_vport_allmulti_rule() 239 esw_fdb_set_vport_promisc_rule(struct mlx5_eswitch *esw, u32 vport) in esw_fdb_set_vport_promisc_rule() argument 246 return __esw_fdb_set_vport_rule(esw, vport, true, mac_c, mac_v); in esw_fdb_set_vport_promisc_rule() [all …]
|
D | eswitch_offloads.c | 47 mlx5_eswitch_add_offloaded_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_add_offloaded_rule() argument 59 if (esw->mode != SRIOV_OFFLOADS) in mlx5_eswitch_add_offloaded_rule() 63 ft = esw->fdb_table.offloads.fwd_fdb; in mlx5_eswitch_add_offloaded_rule() 65 ft = esw->fdb_table.offloads.fast_fdb; in mlx5_eswitch_add_offloaded_rule() 69 if (!mlx5_eswitch_vlan_actions_supported(esw->dev, 1)) in mlx5_eswitch_add_offloaded_rule() 89 dest[i].vport.vhca_id_valid = !!MLX5_CAP_ESW(esw->dev, merged_eswitch); in mlx5_eswitch_add_offloaded_rule() 94 counter = mlx5_fc_create(esw->dev, true); in mlx5_eswitch_add_offloaded_rule() 107 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in mlx5_eswitch_add_offloaded_rule() 114 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in mlx5_eswitch_add_offloaded_rule() 137 esw->offloads.num_flows++; in mlx5_eswitch_add_offloaded_rule() [all …]
|
D | eswitch.h | 186 void esw_offloads_cleanup(struct mlx5_eswitch *esw, int nvports); 187 int esw_offloads_init(struct mlx5_eswitch *esw, int nvports); 188 void esw_offloads_cleanup_reps(struct mlx5_eswitch *esw); 189 int esw_offloads_init_reps(struct mlx5_eswitch *esw); 193 void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw); 194 void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe); 195 int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs, int mode); 196 void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw); 197 int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw, 199 int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw, [all …]
|
D | en_rep.c | 105 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_rep_update_hw_counters() local 112 err = mlx5_eswitch_get_vport_stats(esw, rep->vport, &vf_stats); in mlx5e_rep_update_hw_counters() 198 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_attr_get() local 200 if (esw->mode == SRIOV_NONE) in mlx5e_attr_get() 215 static void mlx5e_sqs2vport_stop(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_stop() argument 221 if (esw->mode != SRIOV_OFFLOADS) in mlx5e_sqs2vport_stop() 232 static int mlx5e_sqs2vport_start(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_start() argument 242 if (esw->mode != SRIOV_OFFLOADS) in mlx5e_sqs2vport_start() 254 flow_rule = mlx5_eswitch_add_send_to_vport_rule(esw, in mlx5e_sqs2vport_start() 268 mlx5e_sqs2vport_stop(esw, rep); in mlx5e_sqs2vport_start() [all …]
|
D | en_tc.c | 175 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_attach_mod_hdr() local 192 hash_for_each_possible(esw->offloads.mod_hdr_tbl, mh, in mlx5e_attach_mod_hdr() 230 hash_add(esw->offloads.mod_hdr_tbl, &mh->mod_hdr_hlist, hash_key); in mlx5e_attach_mod_hdr() 829 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_add_fdb_flow() local 853 err = mlx5_eswitch_add_vlan_action(esw, attr); in mlx5e_tc_add_fdb_flow() 872 rule = mlx5_eswitch_add_offloaded_rule(esw, &parse_attr->spec, attr); in mlx5e_tc_add_fdb_flow() 877 flow->rule[1] = mlx5_eswitch_add_fwd_rule(esw, &parse_attr->spec, attr); in mlx5e_tc_add_fdb_flow() 885 mlx5_eswitch_del_offloaded_rule(esw, rule, attr); in mlx5e_tc_add_fdb_flow() 891 mlx5_eswitch_del_vlan_action(esw, attr); in mlx5e_tc_add_fdb_flow() 902 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_del_fdb_flow() local [all …]
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | ib_rep.c | 100 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_rep_register_vf_vports() local 110 mlx5_eswitch_register_vport_rep(esw, vport, &rep_if, REP_IB); in mlx5_ib_rep_register_vf_vports() 116 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_rep_unregister_vf_vports() local 121 mlx5_eswitch_unregister_vport_rep(esw, vport, REP_IB); in mlx5_ib_rep_unregister_vf_vports() 126 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_register_vport_reps() local 134 mlx5_eswitch_register_vport_rep(esw, 0, &rep_if, REP_IB); in mlx5_ib_register_vport_reps() 141 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_unregister_vport_reps() local 144 mlx5_eswitch_unregister_vport_rep(esw, 0, REP_IB); /* UPLINK PF*/ in mlx5_ib_unregister_vport_reps() 147 u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_ib_eswitch_mode() argument 149 return mlx5_eswitch_mode(esw); in mlx5_ib_eswitch_mode() [all …]
|
D | ib_rep.h | 13 u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw); 14 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw, 16 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw); 17 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw, 23 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, 26 static inline u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_ib_eswitch_mode() argument 32 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_ibdev() argument 39 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw) in mlx5_ib_get_uplink_ibdev() argument 45 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw, in mlx5_ib_vport_rep() argument 60 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_netdev() argument
|
/Linux-v4.19/drivers/s390/cio/ |
D | device_status.c | 124 cdev_irb->esw.esw1.lpum = irb->esw.esw1.lpum; in ccw_device_accumulate_esw() 128 cdev_sublog = &cdev_irb->esw.esw0.sublog; in ccw_device_accumulate_esw() 129 sublog = &irb->esw.esw0.sublog; in ccw_device_accumulate_esw() 158 cdev_irb->esw.esw0.erw.cpt = irb->esw.esw0.erw.cpt; in ccw_device_accumulate_esw() 160 cdev_irb->esw.esw0.erw.fsavf = irb->esw.esw0.erw.fsavf; in ccw_device_accumulate_esw() 161 if (cdev_irb->esw.esw0.erw.fsavf) { in ccw_device_accumulate_esw() 163 memcpy(cdev_irb->esw.esw0.faddr, irb->esw.esw0.faddr, in ccw_device_accumulate_esw() 164 sizeof (irb->esw.esw0.faddr)); in ccw_device_accumulate_esw() 166 cdev_irb->esw.esw0.erw.fsaf = irb->esw.esw0.erw.fsaf; in ccw_device_accumulate_esw() 169 cdev_irb->esw.esw0.erw.scavf = irb->esw.esw0.erw.scavf; in ccw_device_accumulate_esw() [all …]
|
D | ccwreq.c | 186 if (irb->esw.esw0.erw.cons) { in ccwreq_status()
|
D | eadm_sch.c | 140 && scsw->eswf == 1 && irb->esw.eadm.erw.r) in eadm_subchannel_irq()
|
/Linux-v4.19/include/linux/mlx5/ |
D | eswitch.h | 43 void mlx5_eswitch_register_vport_rep(struct mlx5_eswitch *esw, 47 void mlx5_eswitch_unregister_vport_rep(struct mlx5_eswitch *esw, 50 void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw, 53 struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw, 55 void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type); 56 u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw); 58 mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw,
|
/Linux-v4.19/Documentation/devicetree/bindings/net/ |
D | ralink,rt3050-esw.txt | 8 - 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";
|
D | mediatek-net.txt | 19 "ethif", "esw", "gp2", "gp1" : For MT2701 and MT7623 SoC 20 "ethif", "esw", "gp0", "gp1", "gp2", "sgmii_tx250m", "sgmii_rx250m", 52 clock-names = "ethif", "esw", "gp2", "gp1";
|
D | ralink,rt2880-net.txt | 20 "esw" is also required.
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-sli-defs.h | 107 __BITFIELD_FIELD(uint64_t esw:2, 119 __BITFIELD_FIELD(uint64_t esw:2,
|
D | cvmx-npi-defs.h | 1680 uint64_t esw:2; member 1692 uint64_t esw:2; 1704 uint64_t esw:2; member 1716 uint64_t esw:2;
|
/Linux-v4.19/drivers/staging/mt7621-eth/Documentation/devicetree/bindings/net/ |
D | mediatek-net-gsw.txt | 17 these should be "trgpll", "esw", "gp2", "gp1" 40 clock-names = "trgpll", "esw", "gp2", "gp1";
|
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl-mt7622.txt | 207 "esw" "eth" 51, 52, 53, 54, 55, 56, 348 mux-esw { 349 groups = "esw";
|
/Linux-v4.19/arch/s390/include/asm/ |
D | cio.h | 242 } esw; member
|
/Linux-v4.19/drivers/s390/block/ |
D | dasd_3990_erp.c | 157 ~(erp->irb.esw.esw0.sublog.lpum); in dasd_3990_erp_alternate_path() 159 erp->lpm &= ~(erp->irb.esw.esw0.sublog.lpum); in dasd_3990_erp_alternate_path() 165 erp->lpm, erp->irb.esw.esw0.sublog.lpum, opm); in dasd_3990_erp_alternate_path() 173 "/opm=%x)\n", erp->irb.esw.esw0.sublog.lpum, opm); in dasd_3990_erp_alternate_path() 2246 __u8 lpum = erp->refers->irb.esw.esw1.lpum; in dasd_3990_erp_account_error()
|
D | dasd_fba.c | 691 if (irb->esw.esw0.erw.cons) { in dasd_fba_dump_sense()
|
/Linux-v4.19/arch/mips/pci/ |
D | pci-octeon.c | 600 mem_access.s.esw = 1; /* Endian-Swap on write. */ in octeon_pci_setup()
|
D | pcie-octeon.c | 893 mem_access_subid.s.esw = 1; /* Endian-swap for Writes. */ in __cvmx_pcie_rc_initialize_gen1() 1345 mem_access_subid.s.esw = 1; /* Endian-swap for Writes. */ in __cvmx_pcie_rc_initialize_gen2()
|
/Linux-v4.19/Documentation/s390/ |
D | cds.txt | 289 If the concurrent sense flag in the extended status word (esw) in the irb is 290 set, the field erw.scnt in the esw describes the number of device specific
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | mt2701.dtsi | 691 clock-names = "ethif", "esw", "gp1", "gp2", "trgpll";
|