diff options
author | Ajit Khaparde <ajitk@serverengines.com> | 2010-08-25 00:32:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-25 16:41:25 -0700 |
commit | 6d87f5c3ac5856bf1309700e2f15e2e7fcd3c578 (patch) | |
tree | 2ba12a7c04aeb3ecef77881f03147b334dc9fe9b /kernel/perf_event.c | |
parent | aa7c6e5fa08bb5014b6432a690d28748f11e93fc (diff) | |
download | op-kernel-dev-6d87f5c3ac5856bf1309700e2f15e2e7fcd3c578.zip op-kernel-dev-6d87f5c3ac5856bf1309700e2f15e2e7fcd3c578.tar.gz |
be2net: fix to dynamically generate MAC Address for VFs
The BE ASIC/firmware doesnot reserve and assign MAC address for VFs.
This results in the VF interfaces being created with MAC Address 0.
The code change proposed takes the MAC address of PF to generate a seed.
MAC Address for VFs are assigned incrementally starting from the seed.
These addresses are programmed in the ASIC by the PF and the VF driver
queries for the MAC address during its probe.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions