Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 18.11-rc3
[deb_dpdk.git]
/
drivers
/
net
/
cxgbe
/
cxgbevf_main.c
diff --git
a/drivers/net/cxgbe/cxgbevf_main.c
b/drivers/net/cxgbe/cxgbevf_main.c
index
6223e12
..
61bd851
100644
(file)
--- a/
drivers/net/cxgbe/cxgbevf_main.c
+++ b/
drivers/net/cxgbe/cxgbevf_main.c
@@
-11,6
+11,7
@@
#include "t4_regs.h"
#include "t4_msg.h"
#include "cxgbe.h"
#include "t4_regs.h"
#include "t4_msg.h"
#include "cxgbe.h"
+#include "mps_tcam.h"
/*
* Figure out how many Ports and Queue Sets we can support. This depends on
/*
* Figure out how many Ports and Queue Sets we can support. This depends on
@@
-271,6
+272,11
@@
allocate_mac:
print_adapter_info(adapter);
print_port_info(adapter);
print_adapter_info(adapter);
print_port_info(adapter);
+ adapter->mpstcam = t4_init_mpstcam(adapter);
+ if (!adapter->mpstcam)
+ dev_warn(adapter,
+ "VF could not allocate mps tcam table. Continuing\n");
+
err = init_rss(adapter);
if (err)
goto out_free;
err = init_rss(adapter);
if (err)
goto out_free;