Commit 65e5b67e authored by Srikanth Vakiti's avatar Srikanth Vakiti Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa3: Add support ipacm restart feature



Add support on ipacm restart to clean up
existing rules in ipa-hw which is installed
by ipacm and reconstruct the rules when
client is ready to offload.

Change-Id: I574a47e1b650e914fadcc43fb9c5506aeb21178b
Signed-off-by: default avatarSrikanth Vakiti <quic_vakiti@quicinc.com>
parent b48d25e6
......@@ -146,6 +146,7 @@
#define IPA_IOCTL_FLT_MEM_PERIPHERAL_SET_PRIO_HIGH 91
#define IPA_IOCTL_ADD_MACSEC_MAPPING 92
#define IPA_IOCTL_DEL_MACSEC_MAPPING 93
#define IPA_IOCTL_QUERY_CACHED_DRIVER_MSG 94
/**
* max size of the header to be inserted
......@@ -914,7 +915,13 @@ enum ipa_macsec_event {
#define IPA_MACSEC_EVENT_MAX IPA_MACSEC_EVENT_MAX
};
#define IPA_EVENT_MAX_NUM (IPA_MACSEC_EVENT_MAX)
enum ipa_done_restore_event {
IPA_DONE_RESTORE_EVENT = IPA_MACSEC_EVENT_MAX,
IPA_DONE_RESTORE_EVENT_MAX
#define IPA_DONE_RESTORE_EVENT_MAX IPA_DONE_RESTORE_EVENT_MAX
};
#define IPA_EVENT_MAX_NUM (IPA_DONE_RESTORE_EVENT_MAX)
#define IPA_EVENT_MAX ((int)IPA_EVENT_MAX_NUM)
/**
......@@ -3642,6 +3649,8 @@ struct ipa_ioc_macsec_info {
#define IPA_IOC_DEL_UC_ACT_ENTRY _IOWR(IPA_IOC_MAGIC, \
IPA_IOCTL_DEL_UC_ACT_ENTRY, \
__u16)
#define IPA_IOC_QUERY_CACHED_DRIVER_MSG _IO(IPA_IOC_MAGIC,\
IPA_IOCTL_QUERY_CACHED_DRIVER_MSG)
#define IPA_IOC_SET_SW_FLT _IOWR(IPA_IOC_MAGIC, \
IPA_IOCTL_SET_SW_FLT, \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment