Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c854 #define NPC_WRITE_FLOW(field, member, val_lo, val_hi, mask_lo, mask_hi) \ in npc_update_flow() macro
864 NPC_WRITE_FLOW(NPC_DMAC, dmac, dmac_val, 0, dmac_mask, 0); in npc_update_flow()
866 NPC_WRITE_FLOW(NPC_SMAC, smac, smac_val, 0, smac_mask, 0); in npc_update_flow()
867 NPC_WRITE_FLOW(NPC_ETYPE, etype, ntohs(pkt->etype), 0, in npc_update_flow()
869 NPC_WRITE_FLOW(NPC_TOS, tos, pkt->tos, 0, mask->tos, 0); in npc_update_flow()
870 NPC_WRITE_FLOW(NPC_SIP_IPV4, ip4src, ntohl(pkt->ip4src), 0, in npc_update_flow()
872 NPC_WRITE_FLOW(NPC_DIP_IPV4, ip4dst, ntohl(pkt->ip4dst), 0, in npc_update_flow()
874 NPC_WRITE_FLOW(NPC_SPORT_TCP, sport, ntohs(pkt->sport), 0, in npc_update_flow()
876 NPC_WRITE_FLOW(NPC_SPORT_UDP, sport, ntohs(pkt->sport), 0, in npc_update_flow()
878 NPC_WRITE_FLOW(NPC_DPORT_TCP, dport, ntohs(pkt->dport), 0, in npc_update_flow()
[all …]