Contributors: 6
| Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
| Ratheesh Kannoth |
55 |
43.65% |
3 |
30.00% |
| Subbaraya Sundeep |
47 |
37.30% |
3 |
30.00% |
| Sunil Goutham |
18 |
14.29% |
1 |
10.00% |
| Suman Ghosh |
3 |
2.38% |
1 |
10.00% |
| Aleksey Makarov |
2 |
1.59% |
1 |
10.00% |
| Nishad Kamdar |
1 |
0.79% |
1 |
10.00% |
| Total |
126 |
|
10 |
|
/* SPDX-License-Identifier: GPL-2.0 */
/* Marvell RVU Admin Function driver
*
* Copyright (C) 2022 Marvell.
*
*/
#ifndef __RVU_NPC_FS_H
#define __RVU_NPC_FS_H
#define IPV6_WORDS 4
#define NPC_BYTESM GENMASK_ULL(19, 16)
#define NPC_HDR_OFFSET GENMASK_ULL(15, 8)
#define NPC_KEY_OFFSET GENMASK_ULL(5, 0)
#define NPC_LDATA_EN BIT_ULL(7)
void npc_update_entry(struct rvu *rvu, enum key_fields type,
struct mcam_entry_mdata *mdata, u64 val_lo,
u64 val_hi, u64 mask_lo, u64 mask_hi, u8 intf);
void npc_update_flow(struct rvu *rvu, struct mcam_entry_mdata *mdata,
u64 features, struct flow_msg *pkt,
struct flow_msg *mask,
struct rvu_npc_mcam_rule *output, u8 intf,
int blkaddr);
void
npc_populate_mcam_mdata(struct rvu *rvu,
struct mcam_entry_mdata *mdata,
struct cn20k_mcam_entry *cn20k_entry,
struct mcam_entry *entry);
#endif /* RVU_NPC_FS_H */