| /Linux-v5.4/net/dsa/ |
| D | tag_sja1105.c | 32 u64 switch_id; member 54 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 240 int source_port, switch_id; in sja1105_rcv() local 260 switch_id = dsa_8021q_rx_switch_id(vid); in sja1105_rcv() 268 switch_id = hdr->h_dest[4]; in sja1105_rcv() 275 switch_id = meta.switch_id; in sja1105_rcv() 280 skb->dev = dsa_master_find_slave(netdev, switch_id, source_port); in sja1105_rcv()
|
| /Linux-v5.4/drivers/net/netdevsim/ |
| D | sdev.c | 33 sdev->switch_id = nsim_sdev_id++; in nsim_sdev_get() 35 sprintf(sdev_ddir_name, "%u", sdev->switch_id); in nsim_sdev_get()
|
| D | dev.c | 672 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); in nsim_dev_create() 673 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_dev_create() 764 nsim_dev->switch_id.id, in __nsim_dev_port_add() 765 nsim_dev->switch_id.id_len); in __nsim_dev_port_add()
|
| D | netdevsim.h | 158 struct netdev_phys_item_id switch_id; member
|
| /Linux-v5.4/include/net/ |
| D | devlink.h | 68 struct netdev_phys_item_id switch_id; member 794 const unsigned char *switch_id, 797 const unsigned char *switch_id, 800 const unsigned char *switch_id,
|
| /Linux-v5.4/drivers/net/ethernet/intel/iavf/ |
| D | iavf_adminq_cmd.h | 333 __le16 switch_id; /* 12bit id combined with flags below */ member 449 __le16 switch_id; member
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_devlink.c | 441 bp->switch_id, sizeof(bp->switch_id)); in bnxt_dl_register()
|
| D | bnxt.h | 1816 u8 switch_id[8]; member
|
| D | bnxt.c | 11268 ppid->id_len = sizeof(bp->switch_id); in bnxt_get_port_parent_id() 11269 memcpy(ppid->id, bp->switch_id, ppid->id_len); in bnxt_get_port_parent_id() 11766 rc = bnxt_pcie_dsn_get(bp, bp->switch_id); in bnxt_init_one()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | core.h | 177 const unsigned char *switch_id, 182 const unsigned char *switch_id,
|
| D | core.c | 1876 const unsigned char *switch_id, in __mlxsw_core_port_init() argument 1888 switch_id, switch_id_len); in __mlxsw_core_port_init() 1908 const unsigned char *switch_id, in mlxsw_core_port_init() argument 1914 switch_id, switch_id_len); in mlxsw_core_port_init() 1926 const unsigned char *switch_id, in mlxsw_core_cpu_port_init() argument 1936 switch_id, switch_id_len); in mlxsw_core_cpu_port_init()
|
| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_debugfs.c | 344 vsi->info.valid_sections, vsi->info.switch_id); in i40e_dbg_dump_vsi_seid() 958 u16 switch_id; in i40e_dbg_command_write() local 969 switch_id = in i40e_dbg_command_write() 970 le16_to_cpu(vsi->info.switch_id) & in i40e_dbg_command_write() 974 switch_id, in i40e_dbg_command_write()
|
| D | i40e_prototype.h | 142 u16 veb_seid, u16 *switch_id, bool *floating,
|
| D | i40e_adminq_cmd.h | 881 __le16 switch_id; /* 12bit id combined with flags below */ member 1078 __le16 switch_id; member
|
| D | i40e_common.c | 2658 u16 veb_seid, u16 *switch_id, in i40e_aq_get_veb_parameters() argument 2680 if (switch_id) in i40e_aq_get_veb_parameters() 2681 *switch_id = le16_to_cpu(cmd_resp->switch_id); in i40e_aq_get_veb_parameters()
|
| D | i40e_main.c | 5860 ctxt.info.switch_id = in i40e_add_channel() 9392 ctxt.info.switch_id |= cpu_to_le16(I40E_AQ_VSI_SW_ID_FLAG_ALLOW_LB); in i40e_enable_pf_switch_lb() 9428 ctxt.info.switch_id &= ~cpu_to_le16(I40E_AQ_VSI_SW_ID_FLAG_ALLOW_LB); in i40e_disable_pf_switch_lb() 13126 ctxt.info.switch_id = in i40e_add_vsi() 13193 ctxt.info.switch_id = in i40e_add_vsi() 13212 ctxt.info.switch_id = in i40e_add_vsi() 13233 ctxt.info.switch_id = in i40e_add_vsi()
|
| /Linux-v5.4/net/core/ |
| D | devlink.c | 6442 const unsigned char *switch_id, in __devlink_port_attrs_set() argument 6451 if (switch_id) { in __devlink_port_attrs_set() 6455 memcpy(attrs->switch_id.id, switch_id, switch_id_len); in __devlink_port_attrs_set() 6456 attrs->switch_id.id_len = switch_id_len; in __devlink_port_attrs_set() 6481 const unsigned char *switch_id, in devlink_port_attrs_set() argument 6488 switch_id, switch_id_len); in devlink_port_attrs_set() 6507 const unsigned char *switch_id, in devlink_port_attrs_pci_pf_set() argument 6515 switch_id, switch_id_len); in devlink_port_attrs_pci_pf_set() 6534 const unsigned char *switch_id, in devlink_port_attrs_pci_vf_set() argument 6543 switch_id, switch_id_len); in devlink_port_attrs_pci_vf_set() [all …]
|