Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c509 struct enetc_cmd_rfse rfse = { {0} }; in enetc_set_cls_entry() local
527 rfse.sip_h[0] = l4ip4_h->ip4src; in enetc_set_cls_entry()
528 rfse.sip_m[0] = l4ip4_m->ip4src; in enetc_set_cls_entry()
529 rfse.dip_h[0] = l4ip4_h->ip4dst; in enetc_set_cls_entry()
530 rfse.dip_m[0] = l4ip4_m->ip4dst; in enetc_set_cls_entry()
531 rfse.sport_h = ntohs(l4ip4_h->psrc); in enetc_set_cls_entry()
532 rfse.sport_m = ntohs(l4ip4_m->psrc); in enetc_set_cls_entry()
533 rfse.dport_h = ntohs(l4ip4_h->pdst); in enetc_set_cls_entry()
534 rfse.dport_m = ntohs(l4ip4_m->pdst); in enetc_set_cls_entry()
537 rfse.ethtype_h = ETH_P_IP; /* IPv4 */ in enetc_set_cls_entry()
[all …]
H A Denetc_cbdr.c175 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, in enetc_set_fs_entry() argument
190 tmp = enetc_cbd_alloc_data_mem(si, &cbd, sizeof(*rfse), in enetc_set_fs_entry()
195 memcpy(tmp_align, rfse, sizeof(*rfse)); in enetc_set_fs_entry()
201 enetc_cbd_free_data_mem(si, sizeof(*rfse), tmp, &dma); in enetc_set_fs_entry()
H A Denetc_pf.c883 struct enetc_cmd_rfse rfse = {0}; in enetc_init_port_rfs_memory() local
892 err = enetc_set_fs_entry(si, &rfse, i); in enetc_init_port_rfs_memory()
H A Denetc.h474 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse,