RE: [PATCHv3 net-next 1/2] cxgb4: Add control net_device for configuring PCIe VF
> + adapter->mbox_log = kzalloc(sizeof(*adapter->mbox_log) + > + (sizeof(struct mbox_cmd) * > + T4_OS_LOG_MBOX_CMDS), > + GFP_KERNEL); > + pi = netdev_priv(netdev); You probably want to check mb
[PATCHv3 net-next 1/2] cxgb4: Add control net_device for configuring PCIe VF
Issue: For instance, the current APIs assume a 1-to-1 mapping of Network Ports, Physical Functions and the SR-IOV Virtual Functions of those Physical Functions. This is not the case with our cards where any Virtual Function can be hooked up to any Port -- or any number of Ports the current Linux AP