Skip to content

iovnl netlink ops + enic dynamic vnics

Scott Feldman netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 50 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2add iovnl netlink supportinclude/linux/iovnl.h include/linux/netdevice.h include/linux/rtnetlink.h +6 more+444 -049 replies
2/2add enic iovnl ops for dynamic vnicsdrivers/net/enic/Makefile drivers/net/enic/enic.h drivers/net/enic/enic_iovnl.c +7 more+394 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [net-next PATCH 0/2] iovnl netlink ops + enic dynamic vnics

Patch 1/2 adds new I/O Virtualization netlink ops:

IOV netlink (IOVNL) adds I/O Virtualization control support to a master device (MD) netdev interface. The MD (e.g. SR-IOV PF) will set/get control settings on behalf of a slave netdevice (e.g. SR-IOV VF). The design allows for the case where master and slave are the same netdev interface.

The ops currently defined are:
set_mac_vlan: set mac+vlan on VF
set_port_profile: set port-profile on VF
unset_port_profile: unset port-profile on VF

Patch 2/2 adds IOV netlink ops support to enic dynamic vnics:

Add enic iovnl ops to support setting port-profile for dynamic vnics. Enic dynamic vnics are just like normal enic eth vnics except dynamic vnics require an extra configuration step to assign a port-profile identifier to the interface before the interface is useable. Once assigned, link comes up on the interface and is ready for I/O. The port-profile is used to configure the network port assigned to the interface. The network port configuration includes VLAN membership, QoS policies, and port security settings typical of a data center network.