Home
last modified time | relevance | path

Searched refs:VDPA_ATTR_DEV_NET_CFG_MACADDR (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/vdpa/
Dvdpa.c581 #define VDPA_DEV_NET_ATTRS_MASK (BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR) | \
611 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]) { in vdpa_nl_cmd_dev_add_set_doit()
612 macaddr = nla_data(nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]); in vdpa_nl_cmd_dev_add_set_doit()
614 config.mask |= BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR); in vdpa_nl_cmd_dev_add_set_doit()
636 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR] && in vdpa_nl_cmd_dev_add_set_doit()
906 return nla_put(msg, VDPA_ATTR_DEV_NET_CFG_MACADDR, in vdpa_dev_net_mac_config_fill()
1374 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]) { in vdpa_dev_net_device_attr_set()
1375 set_config.mask |= BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR); in vdpa_dev_net_device_attr_set()
1376 macaddr = nla_data(nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]); in vdpa_dev_net_device_attr_set()
1535 [VDPA_ATTR_DEV_NET_CFG_MACADDR] = NLA_POLICY_ETH_ADDR,
/linux-6.12.1/include/uapi/linux/
Dvdpa.h43 VDPA_ATTR_DEV_NET_CFG_MACADDR, /* binary */ enumerator
/linux-6.12.1/drivers/vdpa/vdpa_sim/
Dvdpa_sim_net.c425 if (config->mask & (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR)) { in vdpasim_net_set_attr()
440 if (config->mask & (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR)) in vdpasim_net_setup_config()
544 .config_attr_mask = (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR |
/linux-6.12.1/drivers/vdpa/pds/
Dvdpa_dev.c713 if (add_config->mask & BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR)) { in pds_vdpa_dev_add()
853 mgmt->config_attr_mask = BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR); in pds_vdpa_get_mgmt_info()
/linux-6.12.1/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c3922 if (add_config->mask & (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR)) { in mlx5_vdpa_dev_add()
4054 if (add_config->mask & (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR)) { in mlx5_vdpa_set_attr()
4092 mgtdev->mgtdev.config_attr_mask = BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR) | in mlx5v_probe()