Skip to content

Commit

Permalink
cxgb4: restructure VF mgmt code
Browse files Browse the repository at this point in the history
restructure the code which adds support for configuring
PCIe VF via mgmt netdevice. which was added by
commit 7829451 ("cxgb4: Add control net_device for
configuring PCIe VF")

Original work by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ganesh Goudar authored and David S. Miller committed Jan 17, 2018
1 parent 4215727 commit baf5086
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 204 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ struct vpd_params {
};

struct pci_params {
unsigned int vpd_cap_addr;
unsigned char speed;
unsigned char width;
};
Expand Down
Loading

0 comments on commit baf5086

Please sign in to comment.