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
crypto/qat: improve security instance setup
[dpdk.git]
/
drivers
/
net
/
atlantic
/
atl_types.h
diff --git
a/drivers/net/atlantic/atl_types.h
b/drivers/net/atlantic/atl_types.h
index
dbaf2c6
..
e813d9f
100644
(file)
--- a/
drivers/net/atlantic/atl_types.h
+++ b/
drivers/net/atlantic/atl_types.h
@@
-10,6
+10,9
@@
#include <string.h>
#include <stdbool.h>
#include <netinet/in.h>
#include <string.h>
#include <stdbool.h>
#include <netinet/in.h>
+#include <pthread.h>
+
+#include <rte_common.h>
typedef uint8_t u8;
typedef int8_t s8;
typedef uint8_t u8;
typedef int8_t s8;
@@
-137,6
+140,8
@@
struct aq_hw_s {
u32 rpc_addr;
u32 rpc_tid;
struct hw_aq_atl_utils_fw_rpc rpc;
u32 rpc_addr;
u32 rpc_tid;
struct hw_aq_atl_utils_fw_rpc rpc;
+
+ pthread_mutex_t mbox_mutex;
};
struct aq_fw_ops {
};
struct aq_fw_ops {
@@
-169,6
+174,7
@@
struct aq_fw_ops {
int (*get_eee_rate)(struct aq_hw_s *self, u32 *rate,
u32 *supported_rates);
int (*get_eee_rate)(struct aq_hw_s *self, u32 *rate,
u32 *supported_rates);
+ int (*get_flow_control)(struct aq_hw_s *self, u32 *fc);
int (*set_flow_control)(struct aq_hw_s *self);
int (*led_control)(struct aq_hw_s *self, u32 mode);
int (*set_flow_control)(struct aq_hw_s *self);
int (*led_control)(struct aq_hw_s *self, u32 mode);
@@
-177,7
+183,7
@@
struct aq_fw_ops {
u32 *data, u32 len, u32 offset);
int (*set_eeprom)(struct aq_hw_s *self, int dev_addr,
u32 *data, u32 len, u32 offset);
int (*set_eeprom)(struct aq_hw_s *self, int dev_addr,
- u32 *data, u32 len);
+ u32 *data, u32 len
, u32 offset
);
int (*send_macsec_req)(struct aq_hw_s *self,
struct macsec_msg_fw_request *req,
int (*send_macsec_req)(struct aq_hw_s *self,
struct macsec_msg_fw_request *req,