cxgb_offload.h (3e96c7e790c3d5388385ced9c80192fb6f08ecfc) | cxgb_offload.h (8090c9f504c0c19831713ab2392d0993a5fc5b36) |
---|---|
1 2/************************************************************************** 3 4Copyright (c) 2007, Chelsio Inc. 5All rights reserved. 6 7Redistribution and use in source and binary forms, with or without 8modification, are permitted provided that the following conditions are met: --- 239 unchanged lines hidden (view full) --- 248{ 249 if (tid < t->atid_base || tid >= t->atid_base + t->natids) 250 return NULL; 251 return &(atid2entry(t, tid)->toe_tid); 252} 253 254void *cxgb_alloc_mem(unsigned long size); 255void cxgb_free_mem(void *addr); | 1 2/************************************************************************** 3 4Copyright (c) 2007, Chelsio Inc. 5All rights reserved. 6 7Redistribution and use in source and binary forms, with or without 8modification, are permitted provided that the following conditions are met: --- 239 unchanged lines hidden (view full) --- 248{ 249 if (tid < t->atid_base || tid >= t->atid_base + t->natids) 250 return NULL; 251 return &(atid2entry(t, tid)->toe_tid); 252} 253 254void *cxgb_alloc_mem(unsigned long size); 255void cxgb_free_mem(void *addr); |
256void cxgb_neigh_update(struct rtentry *rt, struct sockaddr *sa); | 256void cxgb_neigh_update(struct rtentry *rt, uint8_t *enaddr, struct sockaddr *sa); |
257void cxgb_redirect(struct rtentry *old, struct rtentry *new, struct sockaddr *sa); 258int process_rx(struct t3cdev *dev, struct mbuf **m, int n); 259int attach_t3cdev(struct t3cdev *dev); 260void detach_t3cdev(struct t3cdev *dev); 261 262#define UNIMPLEMENTED() panic("IMPLEMENT: %s:%s:%d", __FUNCTION__, __FILE__, __LINE__) 263#endif | 257void cxgb_redirect(struct rtentry *old, struct rtentry *new, struct sockaddr *sa); 258int process_rx(struct t3cdev *dev, struct mbuf **m, int n); 259int attach_t3cdev(struct t3cdev *dev); 260void detach_t3cdev(struct t3cdev *dev); 261 262#define UNIMPLEMENTED() panic("IMPLEMENT: %s:%s:%d", __FUNCTION__, __FILE__, __LINE__) 263#endif |