Home
last modified time | relevance | path

Searched refs:NPC_WRITE_FLOW (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c919 #define NPC_WRITE_FLOW(field, member, val_lo, val_hi, mask_lo, mask_hi) \ in npc_update_flow() macro
929 NPC_WRITE_FLOW(NPC_DMAC, dmac, dmac_val, 0, dmac_mask, 0); in npc_update_flow()
931 NPC_WRITE_FLOW(NPC_SMAC, smac, smac_val, 0, smac_mask, 0); in npc_update_flow()
932 NPC_WRITE_FLOW(NPC_ETYPE, etype, ntohs(pkt->etype), 0, in npc_update_flow()
934 NPC_WRITE_FLOW(NPC_TOS, tos, pkt->tos, 0, mask->tos, 0); in npc_update_flow()
935 NPC_WRITE_FLOW(NPC_IPFRAG_IPV4, ip_flag, pkt->ip_flag, 0, in npc_update_flow()
937 NPC_WRITE_FLOW(NPC_SIP_IPV4, ip4src, ntohl(pkt->ip4src), 0, in npc_update_flow()
939 NPC_WRITE_FLOW(NPC_DIP_IPV4, ip4dst, ntohl(pkt->ip4dst), 0, in npc_update_flow()
941 NPC_WRITE_FLOW(NPC_SPORT_TCP, sport, ntohs(pkt->sport), 0, in npc_update_flow()
943 NPC_WRITE_FLOW(NPC_SPORT_UDP, sport, ntohs(pkt->sport), 0, in npc_update_flow()
[all …]