[ewg] [GIT PULL] Please pull qlvnictools.git
Kuchimanchi, Ramachandra
ramachandra.kuchimanchi at qlogic.com
Thu May 3 12:12:06 PDT 2007
Vlad,
Can you please pull qlvnictools.git before you build RC3 ?
git://git.openfabrics.org/~ramachandrak/qlvnictools.git
This contains a small fix to the vnic_parser.pl script (diff included below for your reference) that adds a check to enable configuration of VNIC interfaces only for mthca as VNIC driver currently supports only MTHCA.
[This is a work around to prevent a kernel panic if user tries to configure VNIC interfaces with ipath]
Regards,
Ram
vnic_parser.pl | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/vnic_parser.pl b/vnic_parser.pl
index cae63b2..bf44d69 100755
--- a/vnic_parser.pl
+++ b/vnic_parser.pl
@@ -457,6 +457,11 @@ sub write_to_file{
$ioc_guid_found = 0;
if ($list =~ /.*$hca-$port/ ) {
$filename = $path.$&;
+ if ($filename !~ /mthca/){
+ print_err("Error! HCA is incompatible with VNIC driver - currently only MTHCA is supported");
+ print_err("Aborting configuration of VNIC interfaces");
+ exit_check();
+ }
if ( -d $filename){
if( $_[3] == 1 ){
$filename = $filename.$primary_file;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20070503/abd77b02/attachment.html>
More information about the ewg
mailing list