Lines Matching refs:netdev

37 	struct netdevsim *ns = netdev_priv(ctx->netdev);  in nsim_macsec_add_secy()
49 netdev_err(ctx->netdev, "%s: nsim_secy_count not full but all SecYs used\n", in nsim_macsec_add_secy()
54 netdev_dbg(ctx->netdev, "%s: adding new secy with sci %08llx at index %d\n", in nsim_macsec_add_secy()
66 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_upd_secy()
71 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_upd_secy()
76 netdev_dbg(ctx->netdev, "%s: updating secy with sci %08llx at index %d\n", in nsim_macsec_upd_secy()
84 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_del_secy()
89 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_del_secy()
94 netdev_dbg(ctx->netdev, "%s: removing SecY with SCI %08llx at index %d\n", in nsim_macsec_del_secy()
106 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_add_rxsc()
112 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_add_rxsc()
127 netdev_err(ctx->netdev, "%s: nsim_rxsc_count not full but all RXSCs used\n", in nsim_macsec_add_rxsc()
130 netdev_dbg(ctx->netdev, "%s: adding new rxsc with sci %08llx at index %d\n", in nsim_macsec_add_rxsc()
141 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_upd_rxsc()
147 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_upd_rxsc()
155 netdev_err(ctx->netdev, "%s: sci %08llx not found in RXSC table\n", in nsim_macsec_upd_rxsc()
160 netdev_dbg(ctx->netdev, "%s: updating RXSC with sci %08llx at index %d\n", in nsim_macsec_upd_rxsc()
168 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_del_rxsc()
174 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_del_rxsc()
182 netdev_err(ctx->netdev, "%s: sci %08llx not found in RXSC table\n", in nsim_macsec_del_rxsc()
187 netdev_dbg(ctx->netdev, "%s: removing RXSC with sci %08llx at index %d\n", in nsim_macsec_del_rxsc()
199 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_add_rxsa()
205 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_add_rxsa()
213 netdev_err(ctx->netdev, "%s: sci %08llx not found in RXSC table\n", in nsim_macsec_add_rxsa()
218 netdev_dbg(ctx->netdev, "%s: RXSC with sci %08llx, AN %u\n", in nsim_macsec_add_rxsa()
226 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_upd_rxsa()
232 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_upd_rxsa()
240 netdev_err(ctx->netdev, "%s: sci %08llx not found in RXSC table\n", in nsim_macsec_upd_rxsa()
245 netdev_dbg(ctx->netdev, "%s: RXSC with sci %08llx, AN %u\n", in nsim_macsec_upd_rxsa()
253 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_del_rxsa()
259 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_del_rxsa()
267 netdev_err(ctx->netdev, "%s: sci %08llx not found in RXSC table\n", in nsim_macsec_del_rxsa()
272 netdev_dbg(ctx->netdev, "%s: RXSC with sci %08llx, AN %u\n", in nsim_macsec_del_rxsa()
280 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_add_txsa()
285 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_add_txsa()
290 netdev_dbg(ctx->netdev, "%s: SECY with sci %08llx, AN %u\n", in nsim_macsec_add_txsa()
298 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_upd_txsa()
303 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_upd_txsa()
308 netdev_dbg(ctx->netdev, "%s: SECY with sci %08llx, AN %u\n", in nsim_macsec_upd_txsa()
316 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_del_txsa()
321 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_del_txsa()
326 netdev_dbg(ctx->netdev, "%s: SECY with sci %08llx, AN %u\n", in nsim_macsec_del_txsa()
349 ns->netdev->macsec_ops = &nsim_macsec_ops; in nsim_macsec_init()
350 ns->netdev->features |= NETIF_F_HW_MACSEC; in nsim_macsec_init()