summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cisco/enic/vnic_devcmd.h
diff options
context:
space:
mode:
authorGovindarajulu Varadarajan <_govind@gmx.com>2014-06-23 16:08:00 +0530
committerDavid S. Miller <davem@davemloft.net>2014-06-23 14:32:19 -0700
commit631185273b6e1f8e0b5a00c1aca08650b2d18a57 (patch)
tree4ac92e09234d69b33ff4826af4eed9f94cc30dc5 /drivers/net/ethernet/cisco/enic/vnic_devcmd.h
parent10cc88446cec4eee8e2efab24ad387d52ef1f4fb (diff)
downloadlinux-631185273b6e1f8e0b5a00c1aca08650b2d18a57.tar.bz2
enic: devcmd for adding IP 5 tuple hardware filters
This patch adds interface to add and delete IP 5 tuple filter. This interface is used by Accelerated RFS code to steer a flow to corresponding receive queue. As of now adaptor supports only ipv4 + tcp/udp packet steering. Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cisco/enic/vnic_devcmd.h')
-rw-r--r--drivers/net/ethernet/cisco/enic/vnic_devcmd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cisco/enic/vnic_devcmd.h b/drivers/net/ethernet/cisco/enic/vnic_devcmd.h
index b9a0d78fd639..435d0cd96c22 100644
--- a/drivers/net/ethernet/cisco/enic/vnic_devcmd.h
+++ b/drivers/net/ethernet/cisco/enic/vnic_devcmd.h
@@ -603,6 +603,11 @@ struct filter_tlv {
u_int32_t val[0];
};
+enum {
+ CLSF_ADD = 0,
+ CLSF_DEL = 1,
+};
+
/*
* Writing cmd register causes STAT_BUSY to get set in status register.
* When cmd completes, STAT_BUSY will be cleared.