Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/
Dvdpa.h42 VDPA_ATTR_DEV_NET_CFG_MACADDR, /* binary */ enumerator
/linux-6.1.9/drivers/vdpa/vdpa_sim/
Dvdpa_sim_net.c223 if (config->mask & (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR)) in vdpasim_net_setup_config()
299 .config_attr_mask = (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR |
/linux-6.1.9/drivers/vdpa/
Dvdpa.c565 #define VDPA_DEV_NET_ATTRS_MASK (BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR) | \
583 if (nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]) { in vdpa_nl_cmd_dev_add_set_doit()
584 macaddr = nla_data(nl_attrs[VDPA_ATTR_DEV_NET_CFG_MACADDR]); in vdpa_nl_cmd_dev_add_set_doit()
586 config.mask |= BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR); in vdpa_nl_cmd_dev_add_set_doit()
840 return nla_put(msg, VDPA_ATTR_DEV_NET_CFG_MACADDR, in vdpa_dev_net_mac_config_fill()
1174 [VDPA_ATTR_DEV_NET_CFG_MACADDR] = NLA_POLICY_ETH_ADDR,
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c3132 if (add_config->mask & (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR)) { in mlx5_vdpa_dev_add()
3244 mgtdev->mgtdev.config_attr_mask = BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR) | in mlx5v_probe()