git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/sfc: free MAE lock once switch domain is assigned
[dpdk.git]
/
drivers
/
net
/
ena
/
ena_rss.c
diff --git
a/drivers/net/ena/ena_rss.c
b/drivers/net/ena/ena_rss.c
index
88afe13
..
1520984
100644
(file)
--- a/
drivers/net/ena/ena_rss.c
+++ b/
drivers/net/ena/ena_rss.c
@@
-136,8
+136,7
@@
int ena_rss_reta_query(struct rte_eth_dev *dev,
int reta_conf_idx;
int reta_idx;
int reta_conf_idx;
int reta_idx;
- if (reta_size == 0 || reta_conf == NULL ||
- (reta_size > RTE_RETA_GROUP_SIZE && ((reta_conf + 1) == NULL)))
+ if (reta_size == 0 || reta_conf == NULL)
return -EINVAL;
if (!(dev->data->dev_conf.rxmode.offloads & DEV_RX_OFFLOAD_RSS_HASH)) {
return -EINVAL;
if (!(dev->data->dev_conf.rxmode.offloads & DEV_RX_OFFLOAD_RSS_HASH)) {