b8622cbd58f345d48f683d881abe3037c60aa673 |
|
07-Mar-2012 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: Fix addr valid check in enic_set_vf_mac zero mac address is a valid address for VIC dynamic vnic and sriov Vf's. Fix the check in enic_set_vf_mac appropriately Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: Sujith Sankar <ssujith@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
b4017c5368f992fb8fb3a2545a0977082c6664e4 |
|
01-Mar-2012 |
David S. Miller <davem@davemloft.net> |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net Conflicts: drivers/net/ethernet/broadcom/tg3.c Conflicts in the statistics regression bug fix from 'net', but happily Matt Carlson originally posted the fix against 'net-next' so I used that to resolve this. Signed-off-by: David S. Miller <davem@davemloft.net>
|
413708bbaf5c85c4c8a264145f7d6c3afcd97f99 |
|
29-Feb-2012 |
Dan Carpenter <dan.carpenter@oracle.com> |
enic: fix an endian bug in enic_probe() "num_vfs" is a u32 but we only use the high 16 bits and the low 16bits are left as zero. That isn't a problem for little endian systems but it will break on big endian ones. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
2b68c18194b078489a84023564bcf7464b6c7b37 |
|
20-Feb-2012 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: Add support for fw init command on sriov vf's This patch fixes enic_probe to do a fw init devcmd for sriov vfs. This enables vf driver in the guest to get into adapter init state without having to explicitly issue an init fw cmd with portprofile info. But a successful init on the vf will require the port profile information to be pre-provisioned by the hypervisor via the pf Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: Sujith Sankar <ssujith@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
b476583354fc62cae433eb24d4027597c03be4c9 |
|
20-Feb-2012 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: Fix ndo_set_vf_mac and ndo_set_vf_port to set/get the sriov vf's mac This patch fixes the ndo_set_vf_mac netdev op to set the sriov vf mac in adapter using the new fw devcmd CMD_SET_MAC_ADDR. During port profile associate the pf driver gets the vf mac using CMD_GET_MAC_ADDR. Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: Sujith Sankar <ssujith@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
d6c81bc6dca768dff1a3f127beee11e8102669a7 |
|
20-Feb-2012 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: Add new fw devcmd to set mac address of an interface This patch adds a new devcmd CMD_SET_MAC_ADDR to set the mac address of an interface. Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: Sujith Sankar <ssujith@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
73c2ae763af0eaa1794dda68c63f97c2905722a8 |
|
11-Feb-2012 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: remove assignment of random mac on enic vf This patch removes random mac assignment on vf's. The vf's will start with a zero mac and with upcoming support in fw/driver, a vf mac can be set via the pf. vf's also support ndo_set_mac_address. This decision was made based on the fact that a random mac on a vf is not really needed. And this will reduce some of the problems with the vf's getting a new mac on every driver load/unload (one of them being udev renaming the device on ever load/unload and reboot). Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: sujith sankar <ssujith@cisco.com> Signed-off-by: ChingWei Chang <cwchang@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
9f1de88ddd5eac43c14ed20835b4c738be61e162 |
|
11-Feb-2012 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: Fix address deregistration for sriov vf during port profile disassociate This patch fixes erroneous PF address deregistration in cases where a port profile disassociate is called on an already disassociated interface. Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: sujith sankar <ssujith@cisco.com> Signed-off-by: ChingWei Chang <cwchang@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
f8a6dd59f79f83d7188909331dcdf6e45e1b2c1f |
|
03-Feb-2012 |
Neel Patel <neepatel@cisco.com> |
enic: Check firmware capability before issuing firmware commands Check if firmware supports a particular command by first checking capability using devcmd CMD_CAPABILITY. Signed-off-by: Neel Patel <neepatel@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Nishank Trivedi <nistrive@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
63da93d932af04cf80507b110afe894a8a8d1f90 |
|
03-Feb-2012 |
Neel Patel <neepatel@cisco.com> |
enic: Enable support for multiple hardware receive queues This patch enables support for multiple receive queues. If multiple receive queues are used ingress traffic is hashed into one of the receive queues based on IP or TCP or both headers. The max number of supported receive queues per vnic is 8. Signed-off-by: Neel Patel <neepatel@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Nishank Trivedi <nistrive@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
3a4adef5c0adbbd0d898578e13ba1adbbdecbbd5 |
|
18-Jan-2012 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: This patch adds pci id 0x71 for SRIOV VF's This patch adds pci id 0x71 for sriov VF's. Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: Sujith Sankar <ssujith@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
3f192795cf1a0098df7bd655f7a72eee26bd63c3 |
|
22-Sep-2011 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: Add support for port profile association on a enic SRIOV VF This patch touchs most of the enic port profile handling code. Tried to break it into sub patches without success. The patch mainly does the following: - Port profile operations for a SRIOV VF are modified to work only via its PF - Changes the port profile static struct in struct enic to a pointer. This is because a SRIOV PF has to now hold the port profile information for all its VF's - Moved address registration for VF's during port profile ASSOCIATE time - Most changes in port profile handling code are changes related to indexing into the port profile struct array of a PF for the VF port profile information Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Sujith Sankar <ssujith@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: David Wang <dwang2@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
889d13f53cf9d741398637b6e8e578c65bb792e8 |
|
22-Sep-2011 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: Helper code for SRIOV proxy commands This patch adds helper functions to use PF as proxy for SRIOV VF firmware commands. Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Sujith Sankar <ssujith@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: David Wang <dwang2@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
8749b427f213e14303dfef4c1b9770f05f67916d |
|
22-Sep-2011 |
Roopa Prabhu <roprabhu@cisco.com> |
enic: Add SRIOV support This patch adds support to enable SRIOV on enic devices. Enic SRIOV VF's are dynamic vnics and will use the same driver code as dynamic vnics. Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Sujith Sankar <ssujith@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: David Wang <dwang2@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/cisco/enic/enic.h
|
a6a5580c4d90788d67a77c689d3ab22aa5eecfc3 |
|
14-May-2011 |
Jeff Kirsher <jeffrey.t.kirsher@intel.com> |
enic: Move the Cisco driver Move the Cisco driver into drivers/net/ethernet/cisco/ and make the necessary Kconfig and Makefile changes. CC: Christian Benvenuti <benve@cisco.com> CC: Vasanthy Kolluri <vkolluri@cisco.com> CC: Roopa Prabhu <roprabhu@cisco.com> CC: David Wang <dwang2@cisco.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
/drivers/net/ethernet/cisco/enic/enic.h
|