Home
last modified time | relevance | path

Searched refs:macvlan (Results 1 – 21 of 21) sorted by relevance

/linux/include/linux/
H A Dif_macvlan.h74 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_dev_real_dev() local
76 return macvlan->lowerdev; in macvlan_dev_real_dev()
89 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_accel_priv() local
91 return macvlan->accel_priv; in macvlan_accel_priv()
96 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_supports_dest_filter() local
98 return macvlan->mode == MACVLAN_MODE_PRIVATE || in macvlan_supports_dest_filter()
99 macvlan->mode == MACVLAN_MODE_VEPA || in macvlan_supports_dest_filter()
100 macvlan->mode == MACVLAN_MODE_BRIDGE; in macvlan_supports_dest_filter()
105 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_release_l2fw_offload() local
107 macvlan->accel_priv = NULL; in macvlan_release_l2fw_offload()
[all …]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_macvlan.sh49 ip -n ${s_ns} link add link bond0 name macv0 type macvlan mode bridge
55 ip -n ${s_ns} link add link bond0 name macv0 type macvlan mode bridge
H A Dlag_lib.sh48 ip link add mv0 link "$name" up address "$ucaddr" type macvlan
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c869 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_update_vid()
1125 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_restore_rx_state()
1152 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_restore_rx_state()
1368 size = offsetof(struct fm10k_l2_accel, macvlan[7]); in fm10k_dfwd_add_station()
1386 macvlan[(l2_accel->size * 2) + 1]); in fm10k_dfwd_add_station()
1393 macvlan[old_l2_accel->size])); in fm10k_dfwd_add_station()
1404 if (!l2_accel->macvlan[i]) in fm10k_dfwd_add_station()
1409 l2_accel->macvlan[i] = sdev; in fm10k_dfwd_add_station()
1459 if (l2_accel->macvlan[i] == sdev) in fm10k_dfwd_del_station()
1488 l2_accel->macvlan[i] = NULL; in fm10k_dfwd_del_station()
H A Dfm10k.h44 struct net_device *macvlan[]; member
H A Dfm10k_main.c422 if (idx < l2_accel->size && l2_accel->macvlan[idx]) in fm10k_type_trans()
423 dev = l2_accel->macvlan[idx]; in fm10k_type_trans()
/linux/tools/testing/selftests/net/netfilter/
H A Dbr_netfilter.sh85 ip -net "$ns0" link add link br0 name macvlan0 type macvlan mode private
92 ip -net "$ns0" link add link veth4 name macvlan4 type macvlan mode passthru
/linux/tools/testing/selftests/net/forwarding/
H A Dvxlan_asymmetric_ipv6.sh204 address 00:00:5e:00:01:01 type macvlan mode private
210 address 00:00:5e:00:01:01 type macvlan mode private
353 address 00:00:5e:00:01:01 type macvlan mode private
359 address 00:00:5e:00:01:01 type macvlan mode private
H A Dvxlan_asymmetric.sh204 address 00:00:5e:00:01:01 type macvlan mode private
210 address 00:00:5e:00:01:01 type macvlan mode private
354 address 00:00:5e:00:01:01 type macvlan mode private
360 address 00:00:5e:00:01:01 type macvlan mode private
H A Dlib.sh2098 ip link add link $dev name macvlan-tmp type macvlan mode private
2099 ip link set macvlan-tmp address $(u64_to_ether_addr $((tmp + 1)))
2100 ip link set macvlan-tmp up
2104 ip link del macvlan-tmp
H A Dvxlan_symmetric_ipv6.sh222 address 00:00:5e:00:01:01 type macvlan mode private
228 address 00:00:5e:00:01:01 type macvlan mode private
394 address 00:00:5e:00:01:01 type macvlan mode private
400 address 00:00:5e:00:01:01 type macvlan mode private
H A Dvxlan_symmetric.sh222 address 00:00:5e:00:01:01 type macvlan mode private
228 address 00:00:5e:00:01:01 type macvlan mode private
393 address 00:00:5e:00:01:01 type macvlan mode private
399 address 00:00:5e:00:01:01 type macvlan mode private
H A Dlocal_termination.sh412 ip link add link $lower name macvlan0 type macvlan mode private
/linux/tools/testing/selftests/net/
H A Dsetup_loopback.sh51 address "${ns_mac}" type macvlan
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.h90 u64 macvlan; member
H A Ddebug.c105 vid = key2vid(node->macvlan); in mlx5_vdpa_add_rx_counters()
H A Dmlx5_vnet.c1931 vid = key2vid(node->macvlan); in mlx5_vdpa_add_mac_vlan_rules()
2022 if (pos->macvlan == value) in mac_vlan_lookup()
2044 ptr->macvlan = val; in mac_vlan_add()
/linux/Documentation/networking/
H A Dipvlan.rst12 This is conceptually very similar to the macvlan driver with one major
120 6. What to choose (macvlan vs. ipvlan)?
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.c438 struct macvlan_dev *macvlan = netdev_priv(dev); in mlx5e_rep_macvlan_mode_supported() local
440 return macvlan->mode == MACVLAN_MODE_PASSTHRU; in mlx5e_rep_macvlan_mode_supported()
/linux/Documentation/networking/devlink/
H A Ddevlink-params.rst121 - Typically macvlan, vlan net devices mac are also programmed in their
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Drtnetlink.sh484 ip link add link br0.10 name macvlan0 type macvlan mode private
485 check_err $? "did not manage to create a macvlan when should"